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.

149 lines
2.0 KiB
SCSS

@font-face {
font-family: merriweather;
src: url(/fonts/merriweather-regular.ttf);
}
* { box-sizing: border-box; }
::selection{background:#ffffb2}
body {
margin: 0;
font-family: merriweather, serif;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
line-height: 1.8;
}
nav ul {
display: flex;
flex-direction: column;
list-style-type: none;
padding: 0;
li a {
display: block;
padding: .7em;
border: 1px solid #000;
margin: .5em;
text-decoration: none;
color: #000;
font-size: 1.2em;
text-align: center;
&:hover {
color: #fff;
background-color: #C61730;
border: 1px solid #C61730;
}
}
}
header {
display: flex;
align-items: center;
justify-content: space-around;
padding: 4em 0;
max-width: 100em;
width: 100vw;
img {
max-height: 7em;
}
h1 {
font-size: 2em;
}
nav ul {
flex-direction: row;
}
}
main {
text-align: center;
margin-bottom: 5em;
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;
}
}
.contact {
max-width: 25em;
margin: 0 auto;
&:after {
content: '';
display: block;
margin: 3em auto;
max-width: 20em;
height: 1px;
background: #C61730;
}
&:last-child:after {
content: none;
}
h2 {
margin-bottom: .5em;
font-weight: normal;
}
ul {
list-style-type: none;
padding: 0;
margin-top: 0;
}
}
}
footer {
background-color: #C61730;
color: #fff;
display: flex;
justify-content: center;
padding: 1em;
margin-top: auto;
width: 100vw;
p {
border-left: 1px solid #fff;
border-right: 1px solid #fff;
text-align: center;
display: inline-block;
padding: 0 2em;
a {
color: inherit;
text-decoration: inherit;
&:hover {
text-decoration: underline;
}
}
}
}
.wrap {
max-width: 55em;
margin: 0 auto;
}