maggioni.xyz/_sass/_layout.scss

106 lines
1.5 KiB
SCSS
Raw Permalink Normal View History

2016-09-13 19:40:45 +00:00
$header-border: 1px solid #eee;
2016-07-07 19:05:01 +00:00
2016-09-13 19:40:45 +00:00
body{
background-color: #333;
font-family: 'Hammersmith One', sans-serif;
color: white;
display: flex;
min-height: 100vh;
flex-direction: column;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
main {
flex: 1 0 auto;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
.navbar-list .navbar-item{
text-transform: uppercase;
font-weight: 400;
display: inline-block;
margin: 1em;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
ul.navbar-list{
border-top: $header-border;
border-bottom: $header-border;
margin-bottom: 2rem;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
.header {
padding-top: 6rem;
text-align: center;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
@media (min-width: 700px){
.header {
padding-top: 14rem;
2016-07-07 19:05:01 +00:00
}
}
2016-09-13 19:40:45 +00:00
.head{
padding: 0 1rem 6rem 1rem;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
@media (max-width: 700px){
.navbar-list .navbar-item {
2016-09-26 20:09:25 +00:00
width: calc(100% - 2em);
2016-09-13 19:40:45 +00:00
}
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
.navbar-item a{
color: $brand-color;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
ul.post-list, ul.navbar-list{
list-style-type: none;
2016-07-07 19:05:01 +00:00
margin-left: 0;
2016-09-13 19:40:45 +00:00
margin-right: 0;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
.header, footer{
background-color: rgba(0,0,0,0.25);
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
footer{
padding-top: 1rem;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
footer .author{
text-align: center;
text-transform: uppercase;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
.container{
padding-top: 1rem;
padding-bottom: 1rem;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
.icons{
text-align: center;
}
2016-07-07 19:05:01 +00:00
2016-09-13 19:40:45 +00:00
a.icon{
display: inline-table;
background-color: rgba(255,255,255,0.5);
border-radius: 1.75em;
width: 3.5em;
height: 3.5em;
text-align: center;
line-height: 3.5em;
margin: .5em;
color: white;
cursor: pointer;
2016-07-07 19:05:01 +00:00
2016-09-13 19:40:45 +00:00
&:hover {
text-decoration: none;
2016-07-07 19:05:01 +00:00
}
2016-09-13 19:40:45 +00:00
}
2016-07-07 19:05:01 +00:00
2016-09-13 19:40:45 +00:00
a.icon i.fa{
font-size: 2em;
display: table-cell;
vertical-align: middle;
2016-07-07 19:05:01 +00:00
}