You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
1.1 KiB
SCSS

@import "fonts";
$width-wrap: 960px;
$width-narrow: ($width-wrap/3)*2;
*, *:before, *:after {
box-sizing: border-box;
}
body {
max-width: 60em;
width: 100%;
margin: 0 auto;
background: #131516;
color: #e8e6e3;
font-family: open-sans, sans;
text-rendering: optimizeLegibility;
}
p {
line-height: 1.75;
}
body>header {
.img {
display: block;
width: 100%;
height: 8rem;
background:
url(/logo.svg),
linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
url(/header.jpg);
background-size: auto 60%, cover, cover;
background-position: center;
background-repeat: no-repeat;
@media only screen and (min-width: $width-narrow) {
height: 10rem;
background-position: 3em, center, center;
}
}
}
body>nav {
width: 100%;
height: 3rem;
background: #1d1f21;
display: flex;
justify-content: center;
align-items: stretch;
a {
display: flex;
align-items: center;
padding: 0 1.5em;
height: 100%;
color: #fc0;
text-decoration: none;
&:hover {
background: #131516;
}
}
}
body>main {
margin-top: 3em;
padding: 0 1em;
@media only screen and (min-width: $width-wrap) {
padding: 0;
}
}