This commit is contained in:
Denys Konovalov 2022-10-28 19:48:20 +02:00
parent e08752a2c9
commit 33082a01e7
4 changed files with 26 additions and 5 deletions

View File

@ -5,7 +5,7 @@
<div class="row"> <div class="row">
{{ .Content }} {{ .Content }}
</div> </div>
<div class="row"> <div class="row gta-cat">
<div class="col-12"> <div class="col-12">
<ul class="list-inline text-center filter-controls mb-5"> <ul class="list-inline text-center filter-controls mb-5">
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li> <li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li>
@ -19,6 +19,13 @@
</ul> </ul>
</div> </div>
</div> </div>
<noscript>
<style>
.gta-cat {
display: none;
}
</style>
</noscript>
<div class="row filtr-container"> <div class="row filtr-container">
{{ range .Data.Pages }} {{ range .Data.Pages }}
<div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item"> <div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item">

View File

@ -2,7 +2,7 @@
<section class="section" id="portfolio"> <section class="section" id="portfolio">
<div class="container"> <div class="container">
<div class="row"> <div class="row gta-cat">
<div class="col-lg-12"> <div class="col-lg-12">
<div class="btn-group portfolio-filter btn-group-toggle justify-content-center d-flex flex-wrap" <div class="btn-group portfolio-filter btn-group-toggle justify-content-center d-flex flex-wrap"
data-toggle="buttons"> data-toggle="buttons">
@ -23,6 +23,13 @@
</div> </div>
</div> </div>
</div> </div>
<noscript>
<style>
.gta-cat {
display: none;
}
</style>
</noscript>
<br> <br>

View File

@ -5,7 +5,7 @@
<div class="row"> <div class="row">
{{ .Content }} {{ .Content }}
</div> </div>
<div class="row"> <div class="row gta-cat">
<div class="col-12"> <div class="col-12">
<ul class="list-inline text-center filter-controls mb-5"> <ul class="list-inline text-center filter-controls mb-5">
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li> <li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li>
@ -19,6 +19,13 @@
</ul> </ul>
</div> </div>
</div> </div>
<noscript>
<style>
.gta-cat {
display: none;
}
</style>
</noscript>
<div class="row filtr-container"> <div class="row filtr-container">
{{ range .Data.Pages }} {{ range .Data.Pages }}
<div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item"> <div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item">

View File

@ -8,7 +8,7 @@ VERSION: Versoin Number
[TABLE OF CONTENTS] [TABLE OF CONTENTS]
-------------------------------------------------------------------*/ -------------------------------------------------------------------*/
/* typography */ /* typography */
@import url("https://neu.cantorgymnasium.de/plugins/fira/fira.css"); @import url("https://cantorgymnasium.de/plugins/fira/fira.css");
body { body {
line-height: 1.2; line-height: 1.2;
font-family: "Fira Sans", sans-serif; font-family: "Fira Sans", sans-serif;
@ -114,7 +114,7 @@ h6, .h6 {
background: #ffab08; background: #ffab08;
color: #ffbc3b; } color: #ffbc3b; }
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary.active:not(:disabled):not(.disabled),
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle { .show > .btn-primary.dropdown-toggle {
color: #fff; color: #fff;