resume/scss/style.scss

171 lines
2.6 KiB
SCSS

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:wght@400;600;700&display=swap');
$text-font: 'Raleway';
$big-font: 'Raleway';
$color-main: #36e281;
$color-secondary: $color-main;
$color-link: black;
$color-text: black;
a {
color: $color-link;
border-bottom: solid 2px $color-main;
text-decoration: none;
}
svg {
height: 1.2em;
}
html {
font-size: 11.5px;
}
body {
margin: 0px;
padding: 0px;
font-family: $text-font;
line-height: 1.3em;
font-variant-ligatures: none;
@media not print {
width: 215.9mm;
height: 279.4mm;
overflow: auto;
margin-top: 10px;
padding-top: 5px;
margin-left: auto;
margin-right: auto;
box-shadow: 0px 0px 5px #dadada;
}
}
header {
text-align: center;
margin: auto;
margin-top: 20px;
margin-bottom: 10px;
}
hr {
width: 90%;
margin: auto;
background-color: $color-main;
border: none;
border-radius: 1.5px;
height: 3px;
}
div.name {
font-size: 1.7rem;
margin: 10px;
font-family: $big-font, serif;
}
h1 {
font-size: 1.25rem;
font-family: $big-font, serif;
font-weight: 600;
margin: 10px;
margin-bottom: 2.5px;
display: inline-block;
}
h2 {
font-size: 1.2rem;
font-weight: 400;
margin-bottom: 0px;
margin-top: 0.2rem;
}
ul {
margin-top: 5px;
margin-bottom: 5px;
padding-left: 25px;
}
div.contact {
display: flex;
justify-content: center;
}
div.contact-item {
padding: 5px;
padding-left: 20px;
padding-right: 20px;
display: flex;
align-items: center;
}
div.contact-content {
padding-left: 5px;
font-weight: bold;
}
div.horizontal-list {
display: flex;
flex-direction: horizontal;
section, div {
flex-grow: 1;
}
}
div.project-container {
flex-basis: 25%;
margin-right: 10px;
h2 {
display: inline;
margin: 0px;
}
}
a.project-link {
color: $color-text;
border: none;
font-weight: bold;
display: inline-flex;
align-items: center;
h2 {
font-size: 1rem;
}
}
svg.project-link-icon {
height: 0.9rem;
width: 0.9rem;
margin-left: 0.25rem;
}
main {
margin: auto;
max-width: 90%;
}
div.section-content {
margin-left: 20px;
}
div.position {
margin-bottom: 10px;
&:last-child {
margin-bottom: 0px;
}
}
div.position-location {
color: lighten($color-text, 30%);
}
section {
page-break-inside: avoid;
}
em.bold {
font-style: normal;
font-weight: 600;
}