tale/_sass/_layout.scss

71 lines
1 KiB
SCSS
Raw Normal View History

.container {
margin: 0 auto;
max-width: 800px;
width: 80%;
}
2017-03-11 05:09:18 +00:00
header {
padding: 2rem 0 0;
2017-03-11 05:09:18 +00:00
text-align: center;
* {
margin: 0;
}
h2 {
@include transition(all .3s ease-out);
color: $default-color;
display: inline-block;
font-size: 2.8rem;
font-weight: 400;
2017-03-11 05:09:18 +00:00
2017-03-12 10:44:45 +00:00
&:hover,
&:focus {
2017-03-11 05:09:18 +00:00
opacity: .6;
}
}
h4 {
color: $default-tint;
font-size: .8rem;
2017-03-11 05:09:18 +00:00
font-weight: 400;
letter-spacing: .1rem;
}
.line {
border-top: 1px solid $default-color;
display: block;
margin: 0 auto .8rem;
width: 1rem;
}
.nav-container {
border-bottom: .5px solid $grey-2;
border-top: .5px solid $grey-2;
margin-top: 1.5rem;
}
nav {
display: flex;
justify-content: space-around;
margin: .5rem auto;
max-width: 350px;
a {
color: $default-color;
font-family: $palatino;
}
2017-03-11 05:09:18 +00:00
}
}
2017-03-12 10:44:45 +00:00
footer {
font-family: $palatino;
padding: 2rem 0;
2017-03-15 04:27:59 +00:00
text-align: center;
2017-03-12 10:44:45 +00:00
span {
color: $default-color;
2017-03-15 04:27:59 +00:00
font-size: .8rem;
2017-03-12 10:44:45 +00:00
}
}