144 lines
3 KiB
HTML
144 lines
3 KiB
HTML
<style>
|
|
|
|
html {
|
|
background: url(/bg.jpg) no-repeat center center fixed;
|
|
-webkit-background-size: cover;
|
|
-moz-background-size: cover;
|
|
-o-background-size: cover;
|
|
background-size: cover;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
body {
|
|
color: #000;
|
|
max-width: 100%;
|
|
overflow-x: hidden;
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: sans-serif;
|
|
font-size: 1em;
|
|
}
|
|
|
|
|
|
h1 {font-size: 1.3em;}
|
|
h2 {font-size: 1.1em;}
|
|
p {text-align: justify;}
|
|
img {width: 100%; max-width: 1200px;}
|
|
|
|
a:link {color: hotpink; text-decoration: none;}
|
|
a:visited {color: hotpink; text-decoration: none;}
|
|
a:hover {text-decoration: underline;}
|
|
a.navbar:link {color: black; text-decoration: none;}
|
|
a.navbar:visited {color: black; text-decoration: none;}
|
|
a.navbar:hover {text-decoration: underline;}
|
|
a.footer:link {color: #aaa; text-decoration: none;}
|
|
a.footer:visited {color: #aaa; text-decoration: none;}
|
|
a.footer:hover {text-decoration: underline;}
|
|
|
|
#toggle {
|
|
display: none;
|
|
}
|
|
/**
|
|
Hamburger
|
|
**/
|
|
.hamburger {
|
|
position: relative;
|
|
top: -1em;
|
|
left: 98%;
|
|
display:inline-block;
|
|
margin-left: -2em;
|
|
margin-top: -45px;
|
|
width: 2em;
|
|
height: 45px;
|
|
z-index: 5;
|
|
}
|
|
|
|
.hamburger div {
|
|
position: relative;
|
|
width: 3em;
|
|
height: 7px;
|
|
border-radius: 3px;
|
|
background-color: #999; /* #cc6600*/
|
|
margin-top: 8px;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
/**
|
|
Nav Styles
|
|
**/
|
|
.nav {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(255, 255, 255, 0.7);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
backdrop-filter: blur(10px);
|
|
top: -100%; left: 0; right: 0; bottom: 0;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease-in-out;
|
|
transform: scale(0);
|
|
}
|
|
|
|
.nav-wrapper {
|
|
position: relative;
|
|
overflow: hidden;
|
|
overflow-y: auto;
|
|
height: 100%;
|
|
text-align: left;
|
|
margin-top:3em;
|
|
margin-bottom: 3em;
|
|
margin-left: 25%;
|
|
}
|
|
|
|
nav a {
|
|
position: relative;
|
|
text-decoration: none;
|
|
color: green;
|
|
font-size: 1.4em;
|
|
display: inline-block;
|
|
margin-top: 1em;
|
|
transition: color 0.2s ease-in-out;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
nav a:hover {
|
|
color: black;
|
|
}
|
|
|
|
.container {font-family: sans-serif; font-size: 1em; width: 100%; margin: 5px 0px}
|
|
.child {width: 90%; max-width: 1200px; padding: 0px 20px; background-color: rgba(255, 255, 255, 0.9); margin: 0 auto; border: solid 4px #D6ED17; border-radius: 30px;}
|
|
.backtotop {background-color: hotpink; clip-path: circle(1em); line-height: 2em; text-align:center;}
|
|
|
|
.header {background-color: rgba(255, 255, 255, 1.0); }
|
|
.footer {background-color: rgba(255, 255, 255, 1.0); }
|
|
.navigation {background-color: rgba(255, 255, 255, 1.0); min-height:45px;}
|
|
|
|
|
|
/**
|
|
Animations
|
|
**/
|
|
#toggle:checked + .hamburger .top-bun {
|
|
transform: rotate(-45deg);
|
|
margin-top: 25px;
|
|
background-color: black;
|
|
}
|
|
#toggle:checked + .hamburger .bottom-bun {
|
|
opacity: 0;
|
|
transform: rotate(45deg);
|
|
}
|
|
#toggle:checked + .hamburger .meat {
|
|
transform: rotate(45deg);
|
|
margin-top: -7px;
|
|
background-color: black;
|
|
}
|
|
|
|
#toggle:checked + .hamburger + .nav {
|
|
top: 0;
|
|
transform: scale(1);
|
|
}
|
|
#toggle:checked + .hamburger + .container {
|
|
visibility: hidden;
|
|
}
|
|
|
|
|
|
</style>
|