pedf
/
pomocskolam
Archived
1
0
Fork 0
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

112 lines
1.5 KiB
SCSS

@font-face {
font-family: merriweather;
src: url(/fonts/merriweather-regular.ttf);
}
4 years ago
* { box-sizing: border-box; }
body {
margin: 0;
font-family: merriweather, serif;
min-height: 100vh;
display: flex;
flex-direction: column;
4 years ago
align-items: center;
line-height: 1.8;
}
header {
display: flex;
align-items: center;
justify-content: space-around;
padding: 4em 0;
4 years ago
max-width: 100em;
width: 100vw;
img {
max-height: 7em;
}
h1 {
font-size: 2em;
}
nav ul {
display: flex;
list-style-type: none;
padding: 0;
li a {
padding: .7em;
border: 1px solid #000;
margin: 0 .5em;
text-decoration: none;
color: #000;
font-size: 1.2em;
&:hover {
color: #fff;
background-color: #C61730;
border: 1px solid #C61730;
}
}
}
}
4 years ago
main {
text-align: center;
h1, h2 {
margin-top: 2em;
}
.hero {
width: 100vw;
position: relative;
left: 50%;
margin-left: -50vw;
background-color: #C61730;
color: #fff;
padding: 4em 0;
text-align: center;
h1 {
margin-top: .5em;
margin-bottom: 2em;
font-size: 1.6em;
}
}
}
4 years ago
footer {
background-color: #C61730;
color: #fff;
display: flex;
justify-content: center;
padding: 1em;
margin-top: auto;
4 years ago
width: 100vw;
4 years ago
p {
border-left: 1px solid #fff;
border-right: 1px solid #fff;
text-align: center;
display: inline-block;
padding: .5em 2em;
a {
color: inherit;
text-decoration: inherit;
&:hover {
text-decoration: underline;
}
}
}
}
4 years ago
.wrap {
max-width: 55em;
margin: 0 auto;
}