New theme

This commit is contained in:
2020-02-23 18:14:16 -05:00
parent 75dce1863a
commit d624a92d0d
51 changed files with 271 additions and 1417 deletions

View File

@ -1,54 +0,0 @@
/* ==========================================================================
Archives
========================================================================== */
.c-archives {
margin-bottom: 10rem;
}
.c-archives__year {
margin-bottom: 2.5rem;
@include fs--heading-1;
}
.c-archives__list {
margin-bottom: 2.5rem;
list-style: none;
}
.c-archives__item {
padding-top: 2.5rem;
padding-bottom: 2.5rem;
border-top: 1px solid #EFF1F3;
@media screen and (min-width: $bp__sm) {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
h3 {
@include fs--body;
}
p {
@include fs--body;
color: #515862;
}
a {
border-bottom-style: none;
}
}

View File

@ -1,163 +0,0 @@
/* ==========================================================================
Article
========================================================================== */
.c-article {
margin-bottom: 10rem; // 100px
}
.c-article__header {
margin-bottom: 2rem; // 50px
@media screen and (min-width: $bp__sm) {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: baseline;
-webkit-align-items: baseline;
-ms-flex-align: baseline;
align-items: baseline;
}
}
.c-article__title {
@include fs--heading-1;
color: $c-base__02;
}
.c-article__description {
@include fs--heading-2;
color: $c-base__01;
}
.c-article__time {
@include fs--body;
color: $c-base__01;
}
.c-article__main {
margin-bottom: 5rem; // 50px
@include fs--body;
color: $c-base__01;
> * {
margin-bottom: 1.8rem; // 18px
}
h2 {
@include fs--heading-2;
}
h3 {
@include fs--heading-3;
}
h4 {
@include fs--heading-4;
}
h5 {
@include fs--body;
}
strong {
color: $c-base__02;
font-weight: 700;
}
blockquote {
margin-left: 0;
margin-right: 0;
padding-left: 1.8rem; // 18px
border-left: 5px solid #ccc;
}
ul,
ol {
margin-left: 2.1rem;
}
li {
margin-top: 1em;
}
.web-container {
position: relative;
width: 100%;
max-width: 100%;
height: 0;
padding-bottom: 62.5%;
border: 1px solid #cacaca;
overflow: hidden;
}
.web-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
max-width: 100%;
height: 100%;
}
a {
border-bottom-color: $c-accent__blue;
border-bottom-style: dotted;
border-bottom-width: 1px;
}
table {
border-collapse: collapse;
border-style: hidden;
}
td, th {
padding-left: .1em;
padding-right: 2em;
border-style: solid;
border-width: .1em;
}
}
.c-article__footer {
}
.pagenav {
width: 100%;
text-align: center;
border: 1px solid LightGrey;
border-left-color: transparent;
border-right-color: transparent;
font-size: 18px;
overflow: hidden;
margin-bottom: 8rem;
}
.pagenav div {
border-color: transparent;
}
.wrapper {
padding: 10px;
border: 1px solid LightGrey;
display: inline-block;
margin: 0 auto;
}
#left {
float: left;
text-align: left;
}
#right {
float: right;
text-align: right;
}

View File

@ -1,48 +0,0 @@
/* ==========================================================================
Page
========================================================================== */
.c-page {
}
.c-page__header {
margin-bottom: 10rem; // 100px
h1 {
margin-bottom: 2.5rem; // 25px
@include fs--heading-2;
color: $c-base__02;
}
p {
@include fs--meta;
}
a {
border-bottom-style: none;
}
}
.c-page__footer {
margin-bottom: 10rem;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
p {
@include fs--body;
color: $c-base__01;
}
}

View File

@ -1,72 +0,0 @@
/* ==========================================================================
Tip
========================================================================== */
.c-tags {
list-style: none;
margin: 0;
overflow: hidden;
padding: 0;
}
.c-tags li {
float: left;
}
.c-tag {
background: #eee;
border-radius: 3px 0 0 3px;
color: #999;
display: inline-block;
height: 26px;
line-height: 26px;
padding: 0 20px 0 23px;
position: relative;
margin: 0 10px 50px 0;
text-decoration: none;
-webkit-transition: color 0.2s;
}
.c-tag::before {
background: #fff;
border-radius: 10px;
box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
content: '';
height: 6px;
left: 10px;
position: absolute;
width: 6px;
top: 10px;
}
.c-tag::after {
background: #fff;
border-bottom: 13px solid transparent;
border-left: 10px solid #eee;
border-top: 13px solid transparent;
content: '';
position: absolute;
right: 0;
top: 0;
}
.c-tag:hover {
background-color: $c-accent__blue;
color: white;
}
.c-tag:hover::after {
border-left-color: $c-accent__blue;
}
.c-c-tag {
margin-right: 1rem;
position: relative;
white-space: nowrap;
@include fs--body;
&:before {
color: $c-base__0;
content: '#\2009';
}
}