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

409 lines
7.2 KiB
SCSS
Raw Normal View History

2022-12-22 16:28:20 +00:00
$section-padding: 1rem 0rem;
2021-08-22 03:59:27 +00:00
$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;
2022-12-23 01:30:33 +00:00
font-family: $serif_font;
h1{
font-family: $mono_font;
font-size: 21px;
2022-12-23 01:48:30 +00:00
.red-text{
color: #eb2b2b;
}
2022-12-23 01:30:33 +00:00
}
}
2022-12-23 01:48:30 +00:00
.red-text{
2022-12-23 01:30:33 +00:00
color: #eb2b2b;
}
$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;
2022-12-22 23:18:44 +00:00
font-size: 1rem;
text-decoration: underline;
2021-10-01 17:48:02 +00:00
@media (max-width: 480px) { font-size: 1.1rem; }
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 {
font-weight: bold;
color: $text-colour;
border-bottom-color: $hr-color;
2021-08-22 03:59:27 +00:00
}
}
2022-09-27 12:33:39 +00:00
// adding styles to make navigation fit on mobile
@media (max-width: 480px) {
nav {
2022-12-22 16:28:20 +00:00
.tabs {
2022-09-27 12:33:39 +00:00
display: initial;
ul {
border-bottom: none;
flex-wrap: wrap;
gap: 1rem;
li a { border-bottom: none;}
}
}
}
}
2021-08-22 03:59:27 +00:00
.is-size-0 {
font-size: 5rem;
}
2022-12-22 16:28:20 +00:00
.is-size-0-1 {
font-size: 57px;
}
.is-size-4-1 {
font-size: 16px;
}
2021-08-22 03:59:27 +00:00
.header .hero-body {
padding-left: 0px !important;
padding-top: 8em;
}
2021-08-23 05:58:39 +00:00
2022-12-22 17:39:51 +00:00
.button-book {
background-color: #eb2b2b;
color: white;
float: right;
font-family: $mono_font;
}
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;
2022-12-22 16:28:20 +00:00
font-weight: lighter !important;
2021-08-25 09:39:09 +00:00
}
table {
table-layout: fixed;
width: 100%;
p {
padding-bottom: 0 !important;
}
2022-12-22 16:28:20 +00:00
}
2021-08-25 09:39:09 +00:00
td {
padding: 0.5rem 0;
}
hr {
2021-11-17 13:09:41 +00:00
margin-top: 0.5rem;
margin-bottom: 2rem;
}
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 {
2022-06-28 14:34:15 +00:00
padding-bottom: 1rem;
2021-08-26 14:09:09 +00:00
}
&.index {
p {
padding-bottom: 2rem;
}
}
2022-12-22 16:28:20 +00:00
&.getintouch p {
2021-08-26 14:09:09 +00:00
padding-bottom: 0;
}
.contact {
2022-12-22 16:28:20 +00:00
p {
2021-08-26 14:09:09 +00:00
font-family: $sans_font;
}
.contact_text {
font-weight: 200;
}
padding-bottom: 1rem;
}
2021-08-26 15:51:05 +00:00
&.writing {
img {
2022-06-28 14:34:15 +00:00
margin-bottom: 0.25em;
}
.book-cell {
padding-right: 2em;
2022-06-28 14:34:15 +00:00
justify-content: right;
}
2021-08-26 15:51:05 +00:00
.book-cover {
float: left;
width: 100%;
2021-08-26 15:51:05 +00:00
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;
}
}
.book-stats {
text-align: center;
}
2022-06-28 14:34:15 +00:00
.flex-row-books {
display: flex;
.thead {
justify-content: left;
}
}
.writing-section {
.thead {
padding-bottom: 0.5em;
}
}
2021-08-26 15:51:05 +00:00
}
}
2021-10-02 11:46:53 +00:00
.small-cover {
// float: left;
2021-10-02 11:46:53 +00:00
margin-right: 1rem;
width: 25%;
}
2021-10-03 19:41:33 +00:00
.clearfix {
clear: both;
}
.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 {
2022-12-22 16:28:20 +00:00
@media all and (max-width: 1216px) {
padding: 0 2rem;
2021-08-25 09:39:09 +00:00
}
2022-12-22 16:28:20 +00:00
@media all and (min-width: 1408px) {
2021-08-25 09:39:09 +00:00
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;
}
}
2022-12-23 01:30:33 +00:00
h1 {
font-family: $mono_font;
font-size: 21px;
}
nav,footer {
font-family: $sans_font;
2022-12-22 23:18:44 +00:00
//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%;
}
}
2021-10-02 11:46:53 +00:00
}
2021-10-08 23:52:02 +00:00
@media (max-width: 480px) {
.thead {
display: none;
}
}
2022-12-23 01:30:33 +00:00
2022-09-27 12:35:53 +00:00
/* EVENTS PAGE STYLES
====================== */
#events-listing {
2022-12-22 16:28:20 +00:00
h1 {
margin-bottom: 1em;
2022-09-27 12:35:53 +00:00
font-weight: 600;
font-size: 21px;
}
2022-12-22 16:28:20 +00:00
2022-09-27 12:35:53 +00:00
.events-list {
li {
margin-bottom: 1rem;
&.past-event { opacity: 0.5; }
.event-title {
padding-bottom: 0;
font-weight: bold;
}
2022-12-22 16:28:20 +00:00
2022-09-27 12:35:53 +00:00
small { font-weight: normal;}
}
}
2022-09-28 07:52:39 +00:00
}
/* ABOLISH THE FAMILY STYLES
============================= */
#abolish-the-family {
padding-top: 1rem;
@media (max-width: 480px) { padding-top: 2rem; }
@media (max-width: 480px) { border-top: 1px solid; }
.book-cell {
.book-cover { margin-top: 2em; }
2022-12-22 16:28:20 +00:00
2022-09-28 07:52:39 +00:00
.order-link {
2022-12-22 16:28:20 +00:00
text-decoration: underline;
2022-09-28 07:52:39 +00:00
font-size: 1.2rem;
color: #851c22;
display: inline-block;
@media (max-width: 480px) { padding-top: 1em; }
}
2022-12-22 16:28:20 +00:00
2022-09-28 07:52:39 +00:00
margin-bottom: 1.5em;
}
#reviews {
margin-bottom: 2rem;
2022-12-22 16:28:20 +00:00
h2 {
font-family: 'IBM Plex Serif', sans-serif;
2022-09-28 07:52:39 +00:00
font-size: 2rem;
font-weight: 300;
font-style: italic;
}
2022-12-22 16:28:20 +00:00
2022-09-28 07:52:39 +00:00
ol {
padding-left: 1.5rem;
li::marker { font-family: 'IBM Plex Serif', sans-serif; }
}
}
.testimonial-card {
border: 1px solid;
padding: 1em;
margin-bottom: 2rem;
.testimonial-author {
font-style: italic;
}
}
2022-09-29 03:17:25 +00:00
}
/* AUDIO PAGE STYLES
============================= */
#audio-listing {
@media (max-width: 480px) { padding-top: 3rem; }
@media (max-width: 480px) { border-top: 1px solid; }
2022-12-22 16:28:20 +00:00
h1 {
margin-bottom: 1em;
2022-09-29 03:17:25 +00:00
font-family: 'IBM Plex Serif', sans-serif;
font-weight: 200;
font-size: 2.25rem;
font-style: italic;
}
.audio-list {
2022-10-04 09:21:17 +00:00
display: flex;
flex-direction: column-reverse;
2022-09-29 03:17:25 +00:00
li {
margin-bottom: 2rem;
p {
padding-bottom: 0;
font-weight: bold;
}
2022-12-22 16:28:20 +00:00
2022-09-29 03:17:25 +00:00
small { font-weight: normal;}
}
}
2022-12-22 16:28:20 +00:00
}