Files
personal-site/styles/globals.scss
T
2024-07-18 06:58:26 +02:00

148 lines
2.0 KiB
SCSS

@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 {
position: relative;
min-height: 100vh;
max-width: 960px;
min-width: 360px;
padding: 0 20px;
margin: 0 auto;
}
// Page Styles
// UTILS
.text-align-center {
text-align: center;
}
.text-underline {
text-decoration: underline;
}
// HEADER AREA
.header {
padding: 30px 0;
&__navbar {
display: flex;
justify-content: space-between;
}
&__logo a {
font-size: 1.2em;
padding: 3px 0;
border-bottom: 3px solid rgb(0, 119, 255);
&:hover {
color: #000;
padding-bottom: 1px;
}
}
&__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: 20px 0;
&__aside {
text-align: center;
}
&__author_name {
font-weight: 500;
font-size: 1.2em;
margin: 10px 0;
}
&__links {
margin: 0 0 20px;
font-size: 0.9em;
}
&__description {
font-size: 1em;
margin-bottom: 20px;
line-height: 1.5;
}
&__image {
width: 60%;
border-radius: 2%;
}
}
.best-rate {
border-radius: 3px;
display: inline-block;
color: #000;
background-color: #a2f6a7;
}
.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;
}
}
.email-cta {
display: inline-block;
background: rgb(0, 119, 255);
padding: 2px 5px;
border-radius: 10%;
color: #fff;
}
.footer {
width: 100%;
position: absolute;
bottom: 0;
font-size: 0.9em;
margin: 20px 0;
}