Files
personal-site/styles/globals.scss
T

105 lines
1.3 KiB
SCSS
Raw Normal View History

2021-04-30 15:32:56 +01:00
@font-face {
font-family: 'inter';
src: url('/fonts/inter_font.ttf');
font-weight: 300;
font-style: normal;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,
body {
padding: 0;
margin: 0;
font-family: inter, sans-serif;
}
a {
color: inherit;
text-decoration: none;
}
.container {
2021-04-30 16:33:39 +01:00
position: relative;
2021-04-30 15:32:56 +01:00
min-height: 100vh;
max-width: 960px;
min-width: 360px;
padding: 0 20px;
margin: 0 auto;
}
// Page Styles
2021-04-30 16:33:39 +01:00
// UTILS
.text-align-center {
text-align: center;
}
.text-underline {
text-decoration: underline;
}
2021-04-30 15:32:56 +01:00
// HEADER AREA
.header {
margin: 30px 0;
&__navbar {
display: flex;
justify-content: space-between;
}
&__navbar ul {
display: flex;
list-style: none;
}
&__navbar li:not(:last-child) {
margin-right: 25px;
}
}
// HERO AREA
.hero {
display: flex;
justify-content: space-between;
flex-direction: column-reverse;
padding: 30px 0;
2021-04-30 16:33:39 +01:00
&__aside {
2021-04-30 15:32:56 +01:00
text-align: center;
}
2021-04-30 16:33:39 +01:00
&__author_name {
font-weight: 500;
font-size: 1.2em;
2021-04-30 16:46:40 +01:00
margin: 10px 0;
2021-04-30 15:32:56 +01:00
}
2021-04-30 16:46:40 +01:00
&__links {
margin: 0 0 20px;
font-size: 0.9em;
}
2021-04-30 15:32:56 +01:00
&__description {
2021-04-30 16:33:39 +01:00
font-size: 1em;
margin-bottom: 40px;
line-height: 1.5;
2021-04-30 15:32:56 +01:00
}
&__image {
2021-04-30 16:33:39 +01:00
width: 30%;
2021-05-06 15:45:27 +01:00
border-radius: 2%;
2021-04-30 15:32:56 +01:00
}
}
2021-04-30 16:33:39 +01:00
.footer {
width: 100%;
position: absolute;
bottom: 0;
font-size: 0.9em;
2021-04-30 16:46:40 +01:00
margin: 20px 0;
2021-04-30 16:33:39 +01:00
}