Compare commits

...

2 Commits

Author SHA1 Message Date
Dirk Heilig 6b0b44f32c make home link-text fixed 2024-01-26 21:24:08 +01:00
Dirk Heilig fa86ff94f3 remove horizontal scrolling, fix header image 2024-01-26 21:23:49 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<header class="header-wrapper"> <header class="header-wrapper">
<div class="header"> <div class="header">
<a class="site-title" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> <a class="site-title" href="{{ .Site.BaseURL }}">Home</a>
<nav class="menu"> <nav class="menu">
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}

View File

@ -250,7 +250,7 @@ a.external:after {
/* size the element who has breakpoint limitation */ /* size the element who has breakpoint limitation */
/* .header, .main-wrapper, .main { width: 100vw; } */ /* .header, .main-wrapper, .main { width: 100vw; } */
/* .header-wrapper, .footer { width: 100vw; } */ /* .header-wrapper, .footer { width: 100vw; } */
.header-wrapper { .header {
background-image: url("/img/banner.png"); background-image: url("/img/banner.png");
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -258,7 +258,7 @@ a.external:after {
} }
.header-wrapper, .header-wrapper,
.footer { .footer {
width: 100vw; width: 90vw;
} }
.main-wrapper { .main-wrapper {
width: calc(100vw - 2 * var(--len-3)); width: calc(100vw - 2 * var(--len-3));