minor theme changes

This commit is contained in:
Gabriel 2023-07-20 21:48:00 -04:00
parent decbdc673f
commit a2e39ee834

View file

@ -2,8 +2,8 @@ body {
--theme-color-primary: black; --theme-color-primary: black;
--theme-color-secondary: white; --theme-color-secondary: white;
--theme-accent: gold; --theme-accent: gold;
font-size:22px; font-size: 20px;
line-height:24px; line-height: 26px;
width: 100vw; width: 100vw;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
@ -33,10 +33,12 @@ header {
header img { header img {
max-height: 6rem; max-height: 6rem;
} }
header a{
header a {
text-decoration: none; text-decoration: none;
} }
header a:hover{
header a:hover {
text-decoration: underline; text-decoration: underline;
} }
@ -44,45 +46,51 @@ header,
footer { footer {
text-align: center; text-align: center;
width: 100vw; width: 100vw;
font-size:20px; font-size: 20px;
line-height: 16px; line-height: 16px;
} }
header h1 { header h1 {
line-height: 80%; line-height: 80%;
margin-top:5px; margin-top: 5px;
} }
footer{ footer {
flex-direction: row; flex-direction: row;
display:flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
footer>div{
footer>div {
flex-direction: row; flex-direction: row;
display:flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
footer>div>div{
display:flex; footer>div>div {
display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin:15px; margin: 15px;
} }
footer img{
width:8rem; footer img {
width: 8rem;
} }
footer a{
margin:2px; footer a {
margin: 2px;
} }
nav { nav {
border-radius: 30%; border-radius: 30%;
font-size:12px; font-size: 12px;
} }
a { a {
color: var(--theme-accent); color: var(--theme-accent);
} }
@ -104,11 +112,13 @@ aside {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
article{
max-width:90vw; article {
max-width: 90vw;
} }
article > *{
max-width:90vw; article>* {
max-width: 90vw;
} }
@ -119,13 +129,13 @@ article > *{
.listing { .listing {
margin: 15px; margin: 15px;
width:540px; width: 540px;
height:280px; height: 280px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background-size:cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position-x: center; background-position-x: center;
background-position-y: bottom; background-position-y: bottom;
@ -135,54 +145,60 @@ article > *{
} }
.listing-text { .listing-text {
width:100%; width: 100%;
height:100%; height: 100%;
border-radius: 15px; border-radius: 15px;
display:flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size:14px; font-size: 14px;
font-weight: bolder; font-weight: bolder;
text-decoration: none !important; text-decoration: none !important;
background-color: rgba(0, 0, 0, 0.25); background-color: rgba(0, 0, 0, 0.25);
} }
.listing-text h2{
margin:0; .listing-text h2 {
} margin: 0;
.listing-text i{
display:block;
max-width:80%;
} }
.listing-text >a{ .listing-text i {
width:fit-content; display: block;
border-bottom-style:none; max-width: 80%;
}
.listing-text>a {
width: fit-content;
border-bottom-style: none;
background-color: rgba(0, 0, 0, 0.25); background-color: rgba(0, 0, 0, 0.25);
backdrop-filter: blur(55px); backdrop-filter: blur(55px);
padding:25px; padding: 25px;
border-radius:25px; border-radius: 25px;
max-width:80%; max-width: 80%;
text-align: center; text-align: center;
display:flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.listing-text:hover >a{
animation:blur-out 0.2s; .listing-text:hover>a {
animation: blur-out 0.2s;
background-color: transparent; background-color: transparent;
backdrop-filter: none; backdrop-filter: none;
} }
.listing-text:hover{
.listing-text:hover {
animation: blur-in 0.2s; animation: blur-in 0.2s;
backdrop-filter: blur(15px); backdrop-filter: blur(15px);
background-color: rgba(0, 0, 0, 0.55); background-color: rgba(0, 0, 0, 0.55);
} }
.listing .tags a { .listing .tags a {
font-size:12px; font-size: 12px;
} }
.listing .tags { .listing .tags {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -206,18 +222,21 @@ audio {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
width:90%; width: 90%;
flex-wrap: wrap; flex-wrap: wrap;
margin-top:1rem; margin-top: 1rem;
} }
.metadata>*{
margin:5px; .metadata>* {
margin: 5px;
} }
.metadata>div>*{
margin:5px; .metadata>div>* {
margin: 5px;
} }
#tags { #tags {
max-width:30rem; max-width: 30rem;
} }
header { header {
@ -264,9 +283,16 @@ article {
align-items: center; align-items: center;
font-family: Verdana, Geneva, Tahoma, sans-serif; font-family: Verdana, Geneva, Tahoma, sans-serif;
width: 70rem; width: 70rem;
font-size:25px; font-size: 26px;
line-height:34px; line-height: 36px;
max-width:90vw; max-width: 90vw;
}
@media screen and (orientation:portrait) {
article {
font-size: 22px;
line-height: 28px;
}
} }
article table { article table {
@ -279,9 +305,11 @@ article .media-container {
align-items: center; align-items: center;
width: 100%; width: 100%;
} }
article section { article section {
width:100%; width: 100%;
} }
.media-container a { .media-container a {
width: 100%; width: 100%;
display: flex; display: flex;
@ -339,31 +367,31 @@ article h5,
article p { article p {
width: 100%; width: 100%;
text-align: left; text-align: left;
margin:15px; margin: 15px;
} }
article h3 { article h3 {
text-decoration: underline; text-decoration: underline;
margin:20px; margin: 20px;
} }
article img { article img {
align-self: center; align-self: center;
max-width: 95%; max-width: 95%;
max-height:60vh max-height: 60vh
} }
article video{ article video {
height: 40rem; height: 40rem;
width: 95%; width: 95%;
max-height: 60vh; max-height: 60vh;
background-color: transparent; background-color: transparent;
} }
article iframe{
height:auto; article iframe {
width:80%; height: auto;
width: 80%;
aspect-ratio: 4/2.5; aspect-ratio: 4/2.5;
} }
@ -525,39 +553,42 @@ video {
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
width:90vw; width: 90vw;
} }
#banner{
position:relative; #banner {
width:100vw; position: relative;
padding-top:3rem; width: 100vw;
padding-bottom:3rem; padding-top: 3rem;
max-height:20vh; padding-bottom: 3rem;
overflow:hidden; max-height: 20vh;
overflow: hidden;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size:cover; background-size: cover;
display:flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background-position: center; background-position: center;
background-position-y:center; background-position-y: center;
} }
#banner-text{
max-height:20vh; #banner-text {
width:fit-content; max-height: 20vh;
color:white; width: fit-content;
background-color: rgba(0,0,0,0.5); color: white;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(0.25rem); backdrop-filter: blur(0.25rem);
min-width: 10vw; min-width: 10vw;
border-radius:25px; border-radius: 25px;
text-shadow: 1px 1px 2px black; text-shadow: 1px 1px 2px black;
padding:1.5rem; padding: 1.5rem;
font-size:22px; font-size: 22px;
} }
#banner-text>*{
margin:5px; #banner-text>* {
margin: 5px;
} }
.media-container { .media-container {
@ -571,6 +602,7 @@ video {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
} }
.caption { .caption {
width: 100%; width: 100%;
text-align: center; text-align: center;
@ -580,8 +612,8 @@ video {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
#content-list{ #content-list {
display:flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-evenly; justify-content: space-evenly;
@ -624,120 +656,160 @@ video {
} }
.listing { .listing {
max-width:90vw; max-width: 90vw;
max-height: 40vh; max-height: 40vh;
} }
.listing-text{
font-size:14px; .listing-text {
font-size: 14px;
} }
nav{
font-size:10px; nav {
font-size: 10px;
line-height: 14px; line-height: 14px;
} }
#banner-text { #banner-text {
font-size:12px; font-size: 12px;
} }
} }
svg{ svg {
stroke: var(--theme-accent); stroke: var(--theme-accent);
fill:var(--theme-accent); fill: var(--theme-accent);
} }
.icon { .icon {
width:2rem; width: 2rem;
height:2rem; height: 2rem;
} }
.icon-small{
height:1rem; .icon-small {
width:1rem; height: 1rem;
width: 1rem;
} }
.bare-link{
.bare-link {
text-decoration: none; text-decoration: none;
} }
@keyframes blur-in{ @keyframes blur-in {
from { from {
backdrop-filter: blur(0px); backdrop-filter: blur(0px);
background-color: rgba(0, 0, 0, 0.25); background-color: rgba(0, 0, 0, 0.25);
} }
to { to {
backdrop-filter: blur(15px); backdrop-filter: blur(15px);
background-color: rgba(0, 0, 0, 0.55); background-color: rgba(0, 0, 0, 0.55);
} }
} }
.listing-text,.listing-text>a {
background-color: rgba(0, 0, 0, 0.25); .listing-text,
.listing-text>a {
background-color: rgba(0, 0, 0, 0.25);
} }
.listing-text:hover{
.listing-text:hover {
animation: blur-in 0.25s; animation: blur-in 0.25s;
backdrop-filter: blur(15px); backdrop-filter: blur(15px);
background-color: rgba(0, 0, 0, 0.55); background-color: rgba(0, 0, 0, 0.55);
} }
.listing-text .bare-link,.listing-text h2{
.listing-text .bare-link,
.listing-text h2 {
text-shadow: rgb(0, 0, 0) 0px 0px 20px; text-shadow: rgb(0, 0, 0) 0px 0px 20px;
} }
.listing-text:hover >a{
animation:blur-out 0.2s; .listing-text:hover>a {
animation: blur-out 0.2s;
background-color: transparent; background-color: transparent;
} }
@keyframes blur-out{ @keyframes blur-out {
from{background-color: rgba(0, 0, 0, 0.25);} from {
to{background-color: transparent;backdrop-filter: blur(0px);} background-color: rgba(0, 0, 0, 0.25);
}
to {
background-color: transparent;
backdrop-filter: blur(0px);
}
} }
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"])) {content: none !important;} article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"])) {
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️";font-size:18px;margin:5px;content: none !important;} content: none !important;
.media-container a::after, .liberapay-container a::after, .tags a::after, .listing a::after, #tags a::after, .image-container a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after{
content: "" !important;margin:0 !important;font-size:0;
} }
.media-container a{ article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {
content: "↗️";
font-size: 18px;
margin: 5px;
content: none !important;
}
.media-container a::after,
.liberapay-container a::after,
.tags a::after,
.listing a::after,
#tags a::after,
.image-container a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {
content: "" !important;
margin: 0 !important;
font-size: 0;
}
.media-container a {
flex-direction: row; flex-direction: row;
} }
.pagination{ .pagination {
list-style: none; list-style: none;
display:flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
width:100%; width: 100%;
max-width:90vw; max-width: 90vw;
justify-content:center; justify-content: center;
align-items: center; align-items: center;
} }
.pagination>*{
margin:5px; .pagination>* {
margin: 5px;
} }
.pagination a { .pagination a {
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
border:1px solid var(--theme-accent); border: 1px solid var(--theme-accent);
padding:10px; padding: 10px;
font-size:22px; font-size: 22px;
font-weight: bolder; font-weight: bolder;
border-radius: 10px; border-radius: 10px;
text-decoration: none; text-decoration: none;
margin:0; margin: 0;
} }
.pagination .disabled { .pagination .disabled {
display:none; display: none;
} }
.pagination .active a{
color:var(--theme-color-primary); .pagination .active a {
color: var(--theme-color-primary);
background-color: var(--theme-accent); background-color: var(--theme-accent);
} }
#tags a { #tags a {
margin: 5px; margin: 5px;
border-radius: 3px; border-radius: 3px;
font-size:16px; font-size: 16px;
font-weight: bolder; font-weight: bolder;
display:flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
border-radius:25px; border-radius: 25px;
padding:0px; padding: 0px;
} }