119 lines
1.6 KiB
SCSS
119 lines
1.6 KiB
SCSS
---
|
|
---
|
|
|
|
/*
|
|
Fonts
|
|
*/
|
|
|
|
@font-face {
|
|
font-family: Cantarell;
|
|
src: url(asset_path('fonts/Cantarell-Regular.otf')); }
|
|
@font-face {
|
|
font-family: Cantarell;
|
|
font-weight: bold;
|
|
src: url(asset_path('fonts/Cantarell-Bold.otf')); }
|
|
|
|
/*
|
|
Global
|
|
*/
|
|
body {
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
background: #f0f0f0;
|
|
max-width: 950px;
|
|
font-family: Cantarell; }
|
|
|
|
/*
|
|
Navbar
|
|
*/
|
|
nav {
|
|
padding: 0 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
background: #cc3434;
|
|
border: 1px solid rgba(0,0,0,.1); }
|
|
|
|
nav div {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
justify-content: flex-end; }
|
|
|
|
nav a {
|
|
margin: 0 5px;
|
|
padding: 4px 12px;
|
|
font-size: 18px;
|
|
text-decoration: none;
|
|
color: #ffffff; }
|
|
|
|
nav a:hover {
|
|
background: white;
|
|
color: #aa2020; }
|
|
|
|
nav .h {
|
|
margin: 20px 0;
|
|
padding: 0;
|
|
font-size: 26px;
|
|
color: #ffffff;
|
|
font-weight: bold;
|
|
text-shadow: 0 0 6px rgba(0,0,0,.3); }
|
|
|
|
nav .h:hover {
|
|
background: unset;
|
|
color: white;
|
|
}
|
|
|
|
/*
|
|
Content
|
|
*/
|
|
article {
|
|
padding: 24px 32px 16px 32px;
|
|
background: #ffffff;
|
|
color: #202020;
|
|
border: 1px solid rgba(0,0,0,.1);
|
|
border-top: none; }
|
|
|
|
article h2 {
|
|
margin: 0 0 24px 0;
|
|
font-size: 24px;
|
|
color: #333333;
|
|
text-align: center; }
|
|
|
|
article h3 {
|
|
margin: 32px 0 16px 0;
|
|
font-size: 18px;
|
|
border-bottom: 1px solid #e8e8e8; }
|
|
|
|
article p {
|
|
line-height: 21px;
|
|
}
|
|
|
|
article a {
|
|
text-decoration: none;
|
|
color: #cc3434; }
|
|
|
|
article h2 a {
|
|
color: unset;
|
|
}
|
|
|
|
article a:hover {
|
|
text-decoration: underline; }
|
|
|
|
article ul {
|
|
padding-left: 24px; }
|
|
|
|
article li {
|
|
margin: 8px 0; }
|
|
|
|
/*
|
|
Miscelaneous
|
|
*/
|
|
hr {
|
|
width: 100%;
|
|
color: #e8e8e8; }
|
|
|
|
div.separator {
|
|
height: 24px;
|
|
}
|