hugo site
This commit is contained in:
67
assets/css/parts/_about.scss
Normal file
67
assets/css/parts/_about.scss
Normal file
@ -0,0 +1,67 @@
|
||||
.small-wrapper {
|
||||
width: 700px;
|
||||
max-width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.about-container {
|
||||
margin: 100px 0 100px;
|
||||
}
|
||||
|
||||
.about-header {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
padding-bottom: 30px;
|
||||
margin-bottom: 30px;
|
||||
&:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
display: block;
|
||||
height: 1px;
|
||||
width: 80px;
|
||||
background-color: $dark-purple;
|
||||
}
|
||||
.author-image-container {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border-radius: 100%;
|
||||
overflow: hidden;
|
||||
margin: 0 auto 30px;
|
||||
}
|
||||
.subtitle {
|
||||
color: $dark-purple;
|
||||
font-weight: 300;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.about-body {
|
||||
.contact-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
li {
|
||||
display: inline-block;
|
||||
margin-left: 10px;
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
a {
|
||||
display: block;
|
||||
color: $light-gray;
|
||||
font-size: 21px;
|
||||
text-decoration: none;
|
||||
padding: 5px;
|
||||
transition: all 350ms cubic-bezier(0.13, 0.43, 0.54, 1.82);
|
||||
&:hover {
|
||||
color: $dark-pink;
|
||||
transform: scale(1.3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
42
assets/css/parts/_animate.scss
Normal file
42
assets/css/parts/_animate.scss
Normal file
@ -0,0 +1,42 @@
|
||||
.main-header,
|
||||
.page-image,
|
||||
.page-content,
|
||||
.about-container,
|
||||
.post-card-box {
|
||||
animation-duration: 0.7s;
|
||||
animation-fill-mode: both;
|
||||
animation-name: fadeInDown;
|
||||
}
|
||||
|
||||
.main-header,
|
||||
.page-image {
|
||||
animation-delay: 0.5s;
|
||||
}
|
||||
|
||||
.page-content,
|
||||
.about-container,
|
||||
.post-card-box {
|
||||
animation-delay: 0.75s;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeInDown {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInDown {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
41
assets/css/parts/_author-box.scss
Normal file
41
assets/css/parts/_author-box.scss
Normal file
@ -0,0 +1,41 @@
|
||||
.author-box {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
border-bottom: 1px solid $lighten-gray;
|
||||
.author-img {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin-right: 30px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
.author-desc {
|
||||
h2 {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
p {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
display: inline-block;
|
||||
margin-left: 10px;
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
a {
|
||||
font-size: 18px;
|
||||
color: $dark-gray;
|
||||
&:hover {
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
8
assets/css/parts/_donate.scss
Normal file
8
assets/css/parts/_donate.scss
Normal file
@ -0,0 +1,8 @@
|
||||
.donate-box {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
h4 {
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
10
assets/css/parts/_footer.scss
Normal file
10
assets/css/parts/_footer.scss
Normal file
@ -0,0 +1,10 @@
|
||||
.main-footer {
|
||||
padding: 15px 0;
|
||||
background-color: #efefef;
|
||||
|
||||
.copyright {
|
||||
text-align: center;
|
||||
color: $dark-purple;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
83
assets/css/parts/_header.scss
Normal file
83
assets/css/parts/_header.scss
Normal file
@ -0,0 +1,83 @@
|
||||
.main-header {
|
||||
font-family: 'Lato', sans-serif;
|
||||
padding: 15px 0;
|
||||
background-color: $white;
|
||||
box-shadow: 0px -5px 15px rgba(0,0,0,.3);
|
||||
|
||||
.header-flex {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.logo {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
a {
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
font-size: 27px;
|
||||
font-weight: 300;
|
||||
color: $dark-purple;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-nav {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
width: 300px;
|
||||
height: 100%;
|
||||
background-color: $white;
|
||||
padding: 25px 30px;
|
||||
transform: translate3d(-300px, 0, 0);
|
||||
ul {
|
||||
background-color: $white;
|
||||
padding: 15px 0 0;
|
||||
margin: 0 -30px 0 -30px;
|
||||
list-style: none;
|
||||
|
||||
li {
|
||||
border-bottom: 1px solid $lighten-gray;
|
||||
background-color: $white;
|
||||
a {
|
||||
display: block;
|
||||
margin: 0 30px;
|
||||
padding: 15px 0;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
color: $dark-purple;
|
||||
&:hover {
|
||||
opacity: .8;
|
||||
color: $dark-pink;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu-icon-container {
|
||||
width: 25%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.search-icon-container {
|
||||
width: 25%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.menu-icon,
|
||||
.menu-icon-close,
|
||||
.search-icon a,
|
||||
.search-icon-close {
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
color: $dark-purple;
|
||||
transition: all .4s;
|
||||
&:hover {
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
35
assets/css/parts/_pagination.scss
Normal file
35
assets/css/parts/_pagination.scss
Normal file
@ -0,0 +1,35 @@
|
||||
ul.pagination {
|
||||
list-style-type: none;
|
||||
display: inline-block;
|
||||
margin: 1rem auto !important;
|
||||
}
|
||||
|
||||
ul.pagination li {
|
||||
display: inline-block;
|
||||
border: 1px solid $light-gray;
|
||||
min-width: 2rem;
|
||||
text-align: center;
|
||||
margin-right: -5px;
|
||||
}
|
||||
|
||||
ul.pagination li:last-of-type {
|
||||
border-top-right-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
}
|
||||
|
||||
ul.pagination li:first-of-type {
|
||||
border-top-left-radius: 2px;
|
||||
border-bottom-left-radius: 2px;
|
||||
}
|
||||
|
||||
ul.pagination .page-item.disabled a {
|
||||
color: #666;
|
||||
border: none;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
ul.pagination .page-item.active a {
|
||||
text-decoration: none;
|
||||
border: none;
|
||||
cursor: text;
|
||||
}
|
||||
81
assets/css/parts/_post-card.scss
Normal file
81
assets/css/parts/_post-card.scss
Normal file
@ -0,0 +1,81 @@
|
||||
.post-card-box {
|
||||
margin: 20px 0 20px;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
position: relative;
|
||||
list-style: none;
|
||||
float: left;
|
||||
width: 50%;
|
||||
transition: all .3s;
|
||||
padding: 0 10px 10px 0;
|
||||
&:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
& .light-gray {
|
||||
background-color: $lighten-gray;
|
||||
}
|
||||
& .light-purple {
|
||||
background-color: $light-purple;
|
||||
}
|
||||
& .light-pink {
|
||||
background-color: $light-pink;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-card {
|
||||
position: relative;
|
||||
|
||||
.post-card-image {
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-height: 150px;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0,0,0,.3);
|
||||
}
|
||||
}
|
||||
|
||||
.post-card-body {
|
||||
position: absolute;
|
||||
left: 5%;
|
||||
bottom: 5%;
|
||||
|
||||
.post-card-link {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.post-card-title {
|
||||
font-family: 'Lato', sans-serif;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
font-size: 18px;
|
||||
color: $white;
|
||||
margin: 0 0 10px;
|
||||
&:hover {
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
|
||||
.tag {
|
||||
text-decoration: none;
|
||||
font-size: 10px;
|
||||
text-transform: uppercase;
|
||||
color: $white;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
62
assets/css/parts/_search.scss
Normal file
62
assets/css/parts/_search.scss
Normal file
@ -0,0 +1,62 @@
|
||||
.search-box {
|
||||
padding-top: 40px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 100;
|
||||
background: #fff;
|
||||
transition: all .4s ease-in-out;
|
||||
transform: translate(0, -100%) scale(0, 0);
|
||||
}
|
||||
|
||||
.search-grid {
|
||||
width: 60%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.search-form {
|
||||
margin-bottom: 15px;
|
||||
.search {
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
border: none;
|
||||
border-bottom: 1px solid $lighten-gray;
|
||||
outline: none;
|
||||
font-size: 21px;
|
||||
color: $dark-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.results-search {
|
||||
list-style: none;
|
||||
overflow: auto;
|
||||
height: 90vh;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
li {
|
||||
padding-bottom: 15px;
|
||||
margin-bottom: 15px;
|
||||
border-bottom: 1px solid $lighten-gray;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: $dark-gray;
|
||||
&:hover {
|
||||
color: $dark-pink;
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search-box.search-active {
|
||||
transform: translate(0, 0) scale(1, 1);
|
||||
}
|
||||
|
||||
.icon-close-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
61
assets/css/parts/_tags.scss
Normal file
61
assets/css/parts/_tags.scss
Normal file
@ -0,0 +1,61 @@
|
||||
.blog-tags {
|
||||
margin: 100px 0 100px;
|
||||
.invert & {
|
||||
h1 {
|
||||
color: $light-purple;
|
||||
}
|
||||
.tags li a {
|
||||
color: $light-purple;
|
||||
}
|
||||
.tag-list {
|
||||
span a {
|
||||
color: $light-pink;
|
||||
}
|
||||
small {
|
||||
color: $light-purple;
|
||||
}
|
||||
}
|
||||
}
|
||||
h1 {
|
||||
text-align: center;
|
||||
font-family: 'Lato', sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 36px;
|
||||
text-align: center;
|
||||
margin: 0 0 30px;
|
||||
color: $dark-purple;
|
||||
}
|
||||
.tags {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
li {
|
||||
a {
|
||||
display: inline-block;
|
||||
color: $dark-purple;
|
||||
&:hover {
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.tag-list {
|
||||
span {
|
||||
a {
|
||||
display: inline-block;
|
||||
color: $dark-pink;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
margin-bottom: 10px;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
}
|
||||
small {
|
||||
color: $dark-purple;
|
||||
}
|
||||
}
|
||||
}
|
||||
246
assets/css/parts/post-page.scss
Normal file
246
assets/css/parts/post-page.scss
Normal file
@ -0,0 +1,246 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Gentium+Book+Basic');
|
||||
|
||||
.page-image {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: 500px;
|
||||
background-color: $white;
|
||||
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: $white;
|
||||
padding: 20px 50px;
|
||||
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
|
||||
|
||||
.verse {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.invert & {
|
||||
background-color: $darken-gray;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.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: $dark-purple;
|
||||
|
||||
.invert & {
|
||||
color: $light-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 $lighten-gray;
|
||||
.page-tag,
|
||||
.page-share {
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
color: $dark-purple;
|
||||
}
|
||||
.page-tag {
|
||||
margin-bottom: 10px;
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: $dark-pink;
|
||||
&:hover {
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
}
|
||||
.page-share {
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: $light-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: $dark-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: $white;
|
||||
}
|
||||
&: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: $white;
|
||||
background-color: $dark-purple;
|
||||
vertical-align: baseline;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
border-radius: 2px;
|
||||
outline: none;
|
||||
transition: all .3s;
|
||||
&:hover {
|
||||
background-color: $dark-pink;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user