erick.is/_sass/main.scss

100 lines
1.2 KiB
SCSS

html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
html, body {
width: 100%;
height: 100%;
margin: auto;
}
body {
font-family: Helvetica, Arial, sans-serif;
font-size: 16px;
max-width: 800px;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.2rem;
}
h3 {
font-size: 1.1rem;
}
h4,h5,h6 {
font-size: 1rem;
}
main {
margin: 20px;
opacity: .8;
line-height: 1.5rem;
}
a {
text-decoration: none;
}
.site_header {
margin-top: 40px;
display: flex;
flex-direction: column;
align-items: center;
}
.panda {
width: 200px;
height: 200px;
border-radius: 100px;
}
.site_links {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 40px 0;
&__link {
display: block;
margin: 0 20px;
opacity: .8;
}
}
.site_footer {
margin-top: 40px;
padding-bottom: 20px;
opacity: .3;
}
.articles {
opacity: .8;
margin-top: 60px;
}
.article {
&__back {
font-size: .9rem;
}
&__published {
font-style: italic;
font-size: .9rem;
opacity: .6;
}
}