resume/scss/style.scss

141 lines
2.1 KiB
SCSS
Raw Normal View History

2018-09-23 19:21:46 -07:00
@import url('https://fonts.googleapis.com/css?family=EB+Garamond|Raleway');
$text-font: 'Raleway';
$big-font: 'Raleway';
$color-main: #36e281;
$color-secondary: darken($color-main, 10%);
2019-03-06 18:55:35 -08:00
$color-link: $color-secondary;
2018-09-23 19:21:46 -07:00
$color-text: black;
2019-03-06 18:55:35 -08:00
a {
color: $color-link;
text-decoration: none;
}
2019-03-06 20:00:33 -08:00
svg {
height: 1.2em;
}
2018-09-23 19:21:46 -07:00
body {
margin: 0px;
padding: 0px;
font-family: $text-font;
line-height: 1.3em;
2020-03-26 18:09:49 -07:00
font-size: 12px;
@media not print {
2020-03-26 18:09:49 -07:00
width: 215.9mm;
height: 279.4mm;
overflow: hidden;
margin-top: 10px;
padding-top: 5px;
margin-left: auto;
margin-right: auto;
box-shadow: 0px 0px 5px #dadada;
}
2018-09-23 19:21:46 -07:00
}
header {
text-align: center;
margin: auto;
2019-03-06 18:55:35 -08:00
margin-bottom: 10px;
2018-09-23 19:21:46 -07:00
}
div.name {
font-size: 1.25em;
2019-03-06 20:00:33 -08:00
margin: 15px;
2018-09-23 19:21:46 -07:00
font-family: $big-font, serif;
}
h1 {
font-size: 1.25em;
font-family: $big-font, serif;
font-weight: normal;
margin: 10px;
2020-03-26 18:09:49 -07:00
margin-bottom: 2.5px;
2018-09-23 19:21:46 -07:00
color: $color-secondary;
}
h2 {
2020-03-26 18:09:49 -07:00
font-size: 1.2em;
2018-09-23 19:21:46 -07:00
font-weight: normal;
margin-bottom: 0px;
2020-03-26 18:09:49 -07:00
margin-top: 0px;
}
ul {
margin-top: 5px;
margin-bottom: 5px;
2018-09-23 19:21:46 -07:00
}
div.contact {
background-color: $color-main;
color: white;
display: flex;
justify-content: center;
}
div.contact-item {
padding: 10px;
padding-left: 20px;
padding-right: 20px;
display: flex;
align-items: center;
}
div.contact-content {
padding-left: 5px;
font-weight: bold;
}
2019-03-06 18:55:35 -08:00
div.horizontal-list {
display: flex;
flex-direction: horizontal;
section, div {
flex-grow: 1;
}
}
div.project-container {
flex-basis: 25%;
2020-03-26 18:09:49 -07:00
margin-right: 10px;
2019-03-06 18:55:35 -08:00
h2 {
display: inline;
margin: 0px;
}
}
a.project-link {
color: $color-text;
font-weight: bold;
display: flex;
align-items: center;
}
svg.project-link-icon {
height: 1em;
}
2018-09-23 19:21:46 -07:00
main {
margin: auto;
max-width: 90%;
}
div.section-content {
margin-left: 20px;
}
2020-03-26 18:09:49 -07:00
div.position {
margin-bottom: 10px;
}
2018-09-23 19:21:46 -07:00
div.position-location {
color: lighten($color-text, 30%);
}
2019-11-09 18:58:07 -08:00
section {
page-break-inside: avoid;
2018-09-23 19:21:46 -07:00
}