249 lines
4.8 KiB
SCSS
249 lines
4.8 KiB
SCSS
@import url('https://fonts.googleapis.com/css?family=Gentium+Book+Basic');
|
|
|
|
.page-image {
|
|
position: relative;
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 500px;
|
|
background-color: $i-lighttan; //$darken-gray;
|
|
overflow: hidden;
|
|
|
|
.cover-image {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.page-content {
|
|
font-family: "Gentium Book Basic", serif;
|
|
font-size: 14pt;
|
|
line-height: 1.75;
|
|
margin-top: -5px;
|
|
margin-bottom: 100px;
|
|
background-color: $i-lighttan; //$darken-gray;
|
|
padding: 20px 50px;
|
|
box-shadow: 0px 5px 5px 5px rgba(0, 0, 0, 0.1);
|
|
|
|
.verse {
|
|
white-space: pre-wrap;
|
|
font-family: 'Gentium Book Basic', serif !important;
|
|
}
|
|
|
|
.invert & { // XXX
|
|
background-color: $white;
|
|
color: $black;
|
|
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.with-image & {
|
|
margin-top: -80px;
|
|
border-top-left-radius: 20px;
|
|
border-top-right-radius: 20px;
|
|
}
|
|
|
|
.cw {
|
|
display: block;
|
|
color: #300;
|
|
background-color: #fcc;
|
|
border: 2px solid #a66;
|
|
border-radius: 2px;
|
|
padding: 1rem;
|
|
position: relative;
|
|
margin-bottom: 5rem;
|
|
|
|
&::before {
|
|
content: "Content Warning";
|
|
display: block;
|
|
position: absolute;
|
|
top: -3.15rem;
|
|
left: -0.14rem;
|
|
font-weight: bold;
|
|
color: #300;
|
|
background-color: #fcc;
|
|
border: 2px solid #a66;
|
|
border-radius: 2px;
|
|
border-bottom: none;
|
|
padding: 0.5rem
|
|
}
|
|
}
|
|
|
|
& > p {
|
|
margin: 0;
|
|
text-indent: 2em;
|
|
|
|
& > img {
|
|
margin-left: -2em;
|
|
}
|
|
}
|
|
p:first-of-type, hr + p, blockquote + p {
|
|
text-indent: 0em;
|
|
|
|
& > img {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.header-page {
|
|
position: relative;
|
|
margin-bottom: 30px;
|
|
h1 {
|
|
font-family: 'Lato', sans-serif;
|
|
font-weight: 400;
|
|
font-size: 36px;
|
|
text-align: center;
|
|
margin: 0 0 20px;
|
|
color: $i-darkbrown; //$light-purple;
|
|
|
|
.invert & { // XXX
|
|
color: $dark-purple;
|
|
}
|
|
}
|
|
.page-meta {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
font-weight: 300;
|
|
|
|
.pdf {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.page-footer {
|
|
margin-top: 30px;
|
|
padding-bottom: 30px;
|
|
padding-bottom: 30px;
|
|
border-bottom: 1px solid $i-black; //$dark-gray;
|
|
.page-tag,
|
|
.page-share {
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
color: $i-darkbrown; //$light-purple;
|
|
}
|
|
.page-tag {
|
|
margin-bottom: 10px;
|
|
a {
|
|
text-decoration: none;
|
|
color: $i-darkbrown; //$light-pink;
|
|
&:hover {
|
|
opacity: .8;
|
|
}
|
|
}
|
|
}
|
|
.page-share {
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
a {
|
|
text-decoration: none;
|
|
color: $i-darkbrown; //$dark-gray;
|
|
margin-left: 10px;
|
|
font-size: 18px;
|
|
&:hover {
|
|
opacity: .8;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.recent-box {
|
|
margin-top: 30px;
|
|
padding-bottom: 30px;
|
|
border-bottom: 1px solid $lighten-gray;
|
|
.recent-title {
|
|
font-family: 'Lato', sans-serif;
|
|
font-weight: 400;
|
|
color: $light-purple;
|
|
text-align: center;
|
|
margin: 0 0 30px;
|
|
}
|
|
.recent-list {
|
|
.recent-item {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 24%;
|
|
height: 150px;
|
|
margin-left: 0.5%;
|
|
margin-bottom: 0.5%;
|
|
transition: all .3s;
|
|
span {
|
|
position: absolute;
|
|
font-size: 12px;
|
|
left: 2.5%;
|
|
bottom: 10%;
|
|
color: $black;
|
|
}
|
|
&:hover {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.newsletter {
|
|
text-align: center;
|
|
margin-top: 30px;
|
|
padding-bottom: 60px;
|
|
margin-bottom: 30px;
|
|
border-bottom: 1px solid $gray;
|
|
.newsletter-title {
|
|
font-weight: 400;
|
|
}
|
|
.form-container {
|
|
padding: 30px;
|
|
background-color: $gray;
|
|
width: 720px;
|
|
max-width: 100%;
|
|
margin: 0 auto;
|
|
p {
|
|
margin: 0;
|
|
}
|
|
}
|
|
.screen-reader-text {
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
height: 1px;
|
|
overflow: hidden;
|
|
position: absolute !important;
|
|
width: 1px;
|
|
word-wrap: normal !important;
|
|
}
|
|
.newsletter-box {
|
|
position: relative;
|
|
max-width: 100%;
|
|
margin: 25px 0;
|
|
display: flex;
|
|
align-items: stretch;
|
|
.email-input {
|
|
flex-grow: 1;
|
|
height: 40px;
|
|
padding: 8px 10px;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
color: $dark-gray;
|
|
border: none;
|
|
border-radius: 2px;
|
|
font-size: 14px;
|
|
outline: none;
|
|
}
|
|
.subscribe-btn {
|
|
flex-shrink: 0;
|
|
width: 100px;
|
|
height: 40px;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
color: $black;
|
|
background-color: $light-purple;
|
|
vertical-align: baseline;
|
|
cursor: pointer;
|
|
border: none;
|
|
border-radius: 2px;
|
|
outline: none;
|
|
transition: all .3s;
|
|
&:hover {
|
|
background-color: $light-pink;
|
|
}
|
|
}
|
|
}
|
|
}
|