This repository has been archived on 2023-01-31. You can view files and clone it, but cannot push or open issues or pull requests.
sophie-lewis-hugo/themes/sophie-lewis/assets/scss/main.scss

210 lines
3.7 KiB
SCSS
Raw Normal View History

2021-08-22 03:59:27 +00:00
$section-padding: 1rem 0rem;
$section-padding-desktop: $section-padding;
$section-padding-large: $section-padding;
$gray: #adadad;
$text-colour: #1F1F1F;
2021-08-23 05:58:39 +00:00
2021-08-22 03:59:27 +00:00
@import "./bulma/bulma.sass";
@import "./font.scss";
body {
color: $text-colour;
}
$hr-width: 0.15rem;
$hr-color: $gray;
hr {
background-color: $hr-color;
height: $hr-width;
}
2021-08-22 03:59:27 +00:00
.nav-tabs.tabs {
li:first-of-type a {
justify-content: left !important;
}
li:last-of-type a {
justify-content: right !important;
}
a {
padding: 0.5rem 0;
2021-08-25 09:39:09 +00:00
font-size: 1.3rem;
color: $text-colour;
border-bottom-color: $hr-color;
border-bottom-width: $hr-width;
:hover {
border-bottom-color: $hr-color;
}
2021-08-22 03:59:27 +00:00
}
2021-08-25 09:39:09 +00:00
padding: 0.8rem 0;
2021-08-22 03:59:27 +00:00
.is-active a {
text-decoration: underline;
font-weight: bold;
color: $text-colour;
border-bottom-color: $hr-color;
2021-08-22 03:59:27 +00:00
}
}
.is-size-0 {
font-size: 5rem;
}
.header .hero-body {
padding-left: 0px !important;
padding-top: 8em;
}
2021-08-23 05:58:39 +00:00
2021-08-25 09:39:09 +00:00
#content {
font-size: 1.1rem;
strong,i,b,em {
font-family: $sans_font
}
em {
font-style: italic;
font-weight: lighter !important;
2021-08-25 09:39:09 +00:00
}
table {
table-layout: fixed;
width: 100%;
p {
padding-bottom: 0 !important;
}
}
td {
padding: 0.5rem 0;
}
hr {
margin: 0.5rem 0;
}
2021-08-25 09:39:09 +00:00
iframe {
padding-bottom: 1rem;
}
2021-08-26 14:09:09 +00:00
&.videos {
em {
margin-bottom: 1rem;
2021-08-26 14:09:09 +00:00
}
}
&.about {
hr ~ p {
padding-bottom: 0 !important;
}
}
2021-08-26 16:17:25 +00:00
&.about,&.index {
strong,i,b,em {
font-family: $serif_font
}
}
&:not(.videos) p {
2021-08-26 14:09:09 +00:00
padding-bottom: 2rem;
}
&.index {
p {
padding-bottom: 2rem;
}
}
2021-08-26 14:09:09 +00:00
&.getintouch p {
padding-bottom: 0;
}
.contact {
p {
font-family: $sans_font;
}
.contact_text {
font-weight: 200;
}
padding-bottom: 1rem;
}
2021-08-26 15:51:05 +00:00
&.writing {
.book-cover {
float: left;
margin-right: 1rem;
text-align: center;
img {
height: 184px;
}
a {
color: $text-colour;
}
p {
color: $text-colour;
text-decoration: underline;
font-weight: 200;
font-family: $sans_font;
}
div.placeholder {
height: 184px;
width: 122px;
background-color: #adadad;
}
}
}
}
.headshot {
2021-08-26 14:09:09 +00:00
padding-top: 1rem;
img {
border-radius: 100%;
border-width: 0.15rem;
border-color: $gray;
border-style: solid;
}
}
2021-08-25 09:39:09 +00:00
#content-column {
@media all and (max-width: 1216px) {
padding: 0 2rem;
}
@media all and (min-width: 1408px) {
padding-right: 6.5rem !important;
}
}
.title {
font-family: $serif_font;
font-style: italic;
font-weight: 200;
}
2021-08-25 09:39:09 +00:00
.subtitle {
font-family: $sans_font;
font-weight: 200;
}
p {
font-family: $serif_font;
b {
font-weight: normal;
}
}
nav,footer {
font-family: $sans_font;
font-style: italic;
}
.cv-entry {
padding: 1rem 0;
font-family: $sans_font;
.job-title {
font-weight: 400;
}
.job-date {
font-weight: 200;
}
}
footer {
hr {
margin-top: 0;
margin-bottom: 0.8rem;
}
2021-08-26 14:09:09 +00:00
.social-circles {
img {
height: 32px;
border-radius: 100%;
}
}
}