Website/_assets/css/main.scss

113 lines
1.6 KiB
SCSS

/*
Fonts
*/
@font-face {
font-family: NotoSans;
src: asset_url("fonts/noto_sans.ttf");
}
@font-face {
font-family: Raleway;
font-weight: 200;
src: asset_url("fonts/raleway_200.ttf");
}
@font-face {
font-family: Raleway;
font-weight: 300;
src: asset_url("fonts/raleway_300.ttf");
}
/*
Global
*/
body {
width: 100%; margin: 0; padding: 0;
background: #f0f0f0;
}
/*
Navbar
*/
nav {
width: 95%; padding: 0 2.5%;
display: flex; align-items: center; flex-wrap: wrap;
background: #56b2f2; box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
nav div {
flex-grow: 1;
display: flex; justify-content: flex-end;
}
nav a {
margin: 0 5px; padding: 5px 15px;
font-family: NotoSans; font-size: 18px; text-decoration: none;
color: #ffffff; border-bottom: 2px solid rgba(255, 255, 255, 0);
transition: .15s ease;
}
nav a:hover {
border-bottom-color: rgba(255, 255, 255, 1);
}
nav .h {
margin: 20px 0; padding: 0 15px;
font-family: Raleway; font-size: 40px;
color: #ffffff; transition: .15s ease;
border-bottom: none;
}
nav .h:hover {
text-shadow: 0 0 6px rgba(0, 0, 0, .3);
border-bottom: none;
}
/*
Content
*/
article {
margin: 20px 2.5%; padding: 20px;
background: #ffffff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
font-family: NotoSans; color: #202020;
}
article h2 {
margin: 0 0 15px 0;
font-family: Raleway; font-size: 26px; color: #333333;
}
article h3 {
margin: 35px 0 15px 20px;
font-variant-caps: small-caps;
}
article a {
text-decoration: none;
color: #56b2f2;
}
article a:hover {
text-decoration: underline;
}
article li {
margin: 4px 0;
}
/*
Miscelaneous
*/
hr {
width: 95%;
color: rgba(0, 0, 0, .1);
}