resume/scss/style.scss

171 lines
2.6 KiB
SCSS
Raw Normal View History

@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');
2018-09-23 19:21:46 -07:00
$text-font: 'Raleway';
$big-font: 'Raleway';
$color-main: #36e281;
2020-05-11 01:23:08 -07:00
$color-secondary: $color-main;
$color-link: black;
2018-09-23 19:21:46 -07:00
$color-text: black;
2019-03-06 18:55:35 -08:00
a {
color: $color-link;
2020-05-11 01:23:08 -07:00
border-bottom: solid 2px $color-main;
2019-03-06 18:55:35 -08:00
text-decoration: none;
}
2019-03-06 20:00:33 -08:00
svg {
height: 1.2em;
}
2020-09-02 18:43:07 -07:00
html {
font-size: 11.5px;
}
2018-09-23 19:21:46 -07:00
body {
margin: 0px;
padding: 0px;
font-family: $text-font;
line-height: 1.3em;
2020-08-12 16:51:27 -07:00
font-variant-ligatures: none;
@media not print {
2020-03-26 18:09:49 -07:00
width: 215.9mm;
height: 279.4mm;
2020-08-12 16:51:27 -07:00
overflow: auto;
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;
2020-09-02 18:43:07 -07:00
margin-top: 20px;
2019-03-06 18:55:35 -08:00
margin-bottom: 10px;
2018-09-23 19:21:46 -07:00
}
2020-05-11 01:23:08 -07:00
hr {
width: 90%;
margin: auto;
background-color: $color-main;
border: none;
border-radius: 1.5px;
height: 3px;
}
2018-09-23 19:21:46 -07:00
div.name {
2020-09-02 18:43:07 -07:00
font-size: 1.7rem;
2019-03-06 20:00:33 -08:00
margin: 15px;
2018-09-23 19:21:46 -07:00
font-family: $big-font, serif;
}
h1 {
2020-09-02 18:43:07 -07:00
font-size: 1.25rem;
2018-09-23 19:21:46 -07:00
font-family: $big-font, serif;
2020-05-11 01:23:08 -07:00
font-weight: 600;
2018-09-23 19:21:46 -07:00
margin: 10px;
2020-03-26 18:09:49 -07:00
margin-bottom: 2.5px;
2020-05-11 01:23:08 -07:00
display: inline-block;
2018-09-23 19:21:46 -07:00
}
h2 {
2020-09-02 18:43:07 -07:00
font-size: 1.2rem;
2020-06-17 00:04:45 -07:00
font-weight: 400;
2018-09-23 19:21:46 -07:00
margin-bottom: 0px;
2020-09-02 18:43:07 -07:00
margin-top: 0.2rem;
2020-03-26 18:09:49 -07:00
}
ul {
margin-top: 5px;
margin-bottom: 5px;
2020-09-02 18:43:07 -07:00
padding-left: 25px;
2018-09-23 19:21:46 -07:00
}
div.contact {
display: flex;
justify-content: center;
}
div.contact-item {
2020-05-11 01:23:08 -07:00
padding: 5px;
2018-09-23 19:21:46 -07:00
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;
2020-05-11 01:23:08 -07:00
border: none;
2019-03-06 18:55:35 -08:00
font-weight: bold;
2020-09-01 14:30:45 -07:00
display: inline-flex;
2019-03-06 18:55:35 -08:00
align-items: center;
2020-09-02 18:43:07 -07:00
h2 {
font-size: 1rem;
}
2019-03-06 18:55:35 -08:00
}
svg.project-link-icon {
2020-09-02 18:43:07 -07:00
height: 0.9rem;
width: 0.9rem;
margin-left: 0.25rem;
2019-03-06 18:55:35 -08:00
}
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;
2020-05-11 01:23:08 -07:00
&:last-child {
margin-bottom: 0px;
}
2020-03-26 18:09:49 -07:00
}
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
}
2020-06-17 00:04:45 -07:00
em.bold {
font-style: normal;
font-weight: 600;
}