Compare commits

..

No commits in common. "main" and "v3.1.0" have entirely different histories.
main ... v3.1.0

8 changed files with 445 additions and 552 deletions

View File

@ -38,9 +38,7 @@ body {
}
.main {
margin: 1rem;
@include px(1rem);
padding: 1rem;
@include screen(sm) {
@include px(2rem);
}

View File

@ -21,10 +21,10 @@
opacity: 0%;
top: -23vh;
}
&.enabled &__background {
opacity: 100%;
top: 0;
&--enabled {
opacity: 100%;
top: 0;
}
}
&__overlay {
background-color: rgba(0, 0, 0, 0.5);

View File

@ -10,14 +10,6 @@
display: flex;
align-items: flex-end;
&--short {
min-height: 3rem;
@include screen(md) {
min-height: 4rem;
}
}
&__heading {
color: $white;
@include my(0.5rem);
@ -44,7 +36,6 @@
&__contents {
z-index: 1;
width: 100%;
padding-top: 3rem;
@include screen(md) {
padding-top: 4rem;

View File

@ -1,8 +1,4 @@
.post-header {
width: 100%;
margin-top: 3rem;
margin-bottom: 1rem;
&__heading {
@include my(0.5rem);
@ -13,12 +9,12 @@
}
&--tag-text {
margin-right: 0.5rem;
color: $white;
}
&--tag-color {
display: inline-block;
border-radius: 9999px;
vertical-align: text-bottom;
margin-right: 0.5rem;
height: 4rem;
width: 4rem;
}
@ -39,6 +35,7 @@
@include my(0.5rem);
}
&__title {
color: $white;
@include my(0.5rem);
}
&__author-list {
@ -46,7 +43,8 @@
display: flex;
flex-direction: row;
justify-content: center;
@include my(1rem);
@include my(0.5rem);
@include py(0.5rem);
}
&__author-images {
display: flex;
@ -65,59 +63,10 @@
flex-grow: 1;
justify-content: center;
}
&__author-name {
color: $white;
}
&__social {
color: $white;
}
&__caption {
text-align: center;
font-size: 0.75rem;
margin-top: 0;
margin-bottom: 0;
@include screen(md) {
text-align: center;
font-size: 0.875rem;
}
}
&__featured-image {
@include my(2rem);
@include mx(0);
display: flex;
flex-direction: column;
align-items: center;
object-fit: contain;
position: relative;
img {
min-width: 100vw;
object-fit: cover;
height: 50vh;
@include screen(md) {
height: 70vh;
}
}
figcaption {
font-size: $text-sm;
background: var(--bg-color);
color: var(--highlight-color);
padding: 0.25rem 1rem;
border-radius: 1rem;
margin-left: 0.5rem;
margin-right: 0.5rem;
text-align: center;
position: absolute;
bottom: 1rem;
box-shadow: 0px 0px 4px 1px var(--accent-color);
z-index: 120;
@include transition;
@include screen(md) {
padding: 0.5rem 2rem;
}
}
&:hover figcaption {
transform: translateY(100%) translateY(2rem);
}
}
}

View File

@ -1,5 +1,5 @@
.post-list {
@include my(1rem);
@include my(2rem);
display: grid;
grid-template-columns: 1fr;
row-gap: 1rem;

View File

@ -12,7 +12,7 @@
text-decoration: underline;
}
&--post-header {
color: var(--text-color);
color: $white;
}
}
&__paywall {

View File

@ -13,34 +13,9 @@
flex-direction: column;
align-items: center;
object-fit: contain;
position: relative;
.kg-image {
width: 100%;
}
figcaption {
font-size: $text-sm;
background: var(--bg-color);
color: var(--highlight-color);
padding: 0.25rem 1rem;
border-radius: 1rem;
margin-left: 0.5rem;
margin-right: 0.5rem;
text-align: center;
position: absolute;
bottom: 2rem;
box-shadow: 0px 0px 4px 1px var(--accent-color);
z-index: 120;
@include transition;
@include screen(md) {
padding: 0.5rem 2rem;
}
}
&:hover figcaption {
transform: translateY(100%) translateY(2rem);
}
}
.kg-width-wide .kg-image {
min-width: 100vw;
@ -58,6 +33,13 @@
.kg-width-full .kg-image {
min-width: 100vw;
}
.kg-card figcaption {
font-size: $text-sm;
color: var(--highlight-color);
margin-top: 0.5rem;
text-align: center;
}
.kg-gallery-container {
min-width: 100vw;
@include screen(md) {
@ -151,15 +133,10 @@
}
.site-header {
&.search-enabled {
height: 100%;
}
&.search-enabled &__background {
opacity: 100%;
top: 0;
}
&.search-enabled &__inner {
background: rgba(0, 0, 0, 0.5);
}

868
yarn.lock

File diff suppressed because it is too large Load Diff