103 lines
1.6 KiB
SCSS
103 lines
1.6 KiB
SCSS
// vim: tabstop=2 shiftwidth=2 expandtab
|
|
|
|
@import url('fonts.css');
|
|
@import 'params';
|
|
|
|
html {
|
|
box-sizing: border-box;
|
|
}
|
|
*, *:before, *:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
html {
|
|
background-color: $bg_color;
|
|
color:$fg_color;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family:Open Sans,Arial;
|
|
|
|
font-size: $font_size_small;
|
|
line-height:1.4;
|
|
|
|
@media (min-width: $width_med) {
|
|
font-size: $font_size_med;
|
|
}
|
|
@media (min-width: $width_large) {
|
|
font-size: $font_size_large;
|
|
}
|
|
|
|
text-align:justify;
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#headbg {
|
|
background-image: url("../img/headbg.jpg");
|
|
|
|
/* Full height */
|
|
height: 100vh;
|
|
|
|
/* Center and scale the image nicely */
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
#head {
|
|
position: absolute;
|
|
top: 20%;
|
|
width: 100%;
|
|
height: 100px;
|
|
text-align: center;
|
|
font: 400 65px/1.8 sans-serif;
|
|
color: white;
|
|
letter-spacing: 10px;
|
|
z-index: 100;
|
|
|
|
a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
&.headerbar {
|
|
position: fixed;
|
|
top: 0px;
|
|
background-color: black;
|
|
height: 75px;
|
|
font-size: 45px;
|
|
transition: none .224s ease-in-out;
|
|
transition-property: background-color, font-size, height;
|
|
}
|
|
}
|
|
|
|
|
|
footer {
|
|
font-size: 0.7em;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
@media (min-width: $width_med) {
|
|
flex-direction: row;
|
|
}
|
|
|
|
margin: 10px 20px;
|
|
margin-top: auto;
|
|
|
|
> div {
|
|
margin: 5px 15px;
|
|
@media (min-width: $width_med) {
|
|
margin: 0 15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
a, a:visited {
|
|
color: $link_color;
|
|
}
|