Files
personal-site/styles/globals.scss
T

140 lines
1.8 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 {
2021-05-07 16:18:27 +01:00
padding: 30px 0;
2021-04-30 15:32:56 +01:00
&__navbar {
display: flex;
justify-content: space-between;
}
2021-05-07 16:18:27 +01:00
&__logo a {
font-size: 1.2em;
padding: 3px 0;
border-bottom: 3px solid rgb(0, 119, 255);
2024-01-17 22:25:23 +01:00
2021-05-07 16:18:27 +01:00
&:hover {
color: #000;
padding-bottom: 1px;
}
}
2021-04-30 15:32:56 +01:00
&__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;
2024-02-15 20:33:26 +01:00
padding: 20px 0;
2021-04-30 15:32:56 +01:00
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;
}
2024-01-17 22:25:23 +01:00
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 {
2023-05-13 01:40:55 +02:00
width: 60%;
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
2024-01-17 22:25:23 +01:00
.best-rate {
border-radius: 3px;
display: inline-block;
color: #000;
background-color: #a2f6a7;
}
2024-02-15 20:33:26 +01:00
.currency__container {
& a {
text-decoration: underline;
text-decoration-color: rgb(0, 119, 255);
}
& p {
margin: 2px 0;
padding: 2px 0px;
padding-right: 2px;
}
& span {
margin-left: 5px;
}
}
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;
2024-01-17 22:25:23 +01:00
}