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

View file

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