Outsource non-JS CSS to not mess with JS behaviour

lektura
max.mehl 2017-09-18 17:56:44 +02:00
parent 7b4c98d8be
commit 248c6ba698
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92
3 changed files with 15 additions and 8 deletions

View File

@ -44,6 +44,10 @@
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}" type="text/css">
<link rel="stylesheet" href="{{ "css/buttons-spread.css" | absURL }}" type="text/css">
<link rel="stylesheet" href="{{ "css/buttons-side.css" | absURL }}" type="text/css">
{{ "<!-- CSS with JS disabled -->" | safeHTML }}
<noscript>
<link rel="stylesheet" href="{{ "css/no-javascript.css" | absURL }}" type="text/css">
</noscript>
<!-- Google webmaster tools verification -->
<meta name="google-site-verification" content="w3YbMtsGJlDG25xOStnBvqmoJ2s3GXPEy4ckJSvSISs" />

View File

@ -13,14 +13,6 @@ blockquote p {
white-space: normal; /* wrap button words */
}
/* NAVBAR */
/* make hamburger menu work without JS */
.navbar-header:hover + .navbar-collapse,
.navbar-collapse:hover {
display: block;
visibility: initial;
}
/* SUBPAGES */
.subpage {
background-image: url(../img/header_subpage.jpg);

View File

@ -0,0 +1,11 @@
/*
* CSS which is only loaded with JavaScript disabled
*/
/* NAVBAR */
/* make hamburger menu work without JS */
.navbar-header:hover + .navbar-collapse,
.navbar-collapse:hover {
display: block;
visibility: initial;
}