Compare commits

..

No commits in common. "abc7c564f7457801b58cc9a5f146beeb40e580de" and "f65718db01991b219710644af24c272f92931ef4" have entirely different histories.

2 changed files with 51 additions and 55 deletions

View file

@ -52,7 +52,7 @@
--alt-bg-color : #a8f3f4;
--bar-color : #f0dcac;
--burger_size : 45px;
--burger_size : 56px;
}
body {
@ -185,23 +185,24 @@ aside nav footer ol li a {
}
aside header a img {
display : block;
width : 100%;
height : 140px;
}
dl.dl-services {
display : grid;
column-gap : 2rem;
display: grid;
column-gap: 2rem;
dt {
grid-column-start : 1;
grid-column-end : 2;
font-weight : bold;
grid-column-start: 1;
grid-column-end: 2;
font-weight: bold;
}
dd {
grid-column-start : 2;
grid-column-end : 3;
grid-column-start: 2;
grid-column-end: 3;
}
}
@media(max-width:1000px) {
@ -225,13 +226,14 @@ dl.dl-services {
aside header {
display : flex;
flex-direction : row;
justify-content : space-between;
align-items : center;
margin : var(--base-grid) calc(var(--base-grid) / 2);
margin : var(--base-grid);
}
aside header a img {
height : 80px;
height : 120px;
}
aside nav {
@ -258,7 +260,7 @@ dl.dl-services {
cursor : pointer;
display : block;
height : var(--burger_size);
margin-top : 10px;
float : right;
}
header .nav-toggle span {
@ -289,9 +291,5 @@ dl.dl-services {
transform : rotate(-45deg);
top : calc( ( var(--burger_size) / 3 ) * -1 );
}
main article {
margin : calc(var(--base-grid) / 2);
}
}

View file

@ -2,9 +2,7 @@
<ol>
{{ $currentPage := . }}
{{ range .Site.Menus.nav }}
{{ $atURL := absURL $currentPage.URL }}
{{ $compURL := absURL .URL }}
<li><a href="{{ .URL }}"{{ if (eq $atURL $compURL) }} class="active"{{ end }}>{{ .Name }}</a></li>
<li><a href="{{ .URL }}"{{ if (eq $currentPage.URL .URL) }} class="active"{{ end }}>{{ .Name }}</a></li>
{{ end }}
</ol>