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,9 +33,11 @@ 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;
} }
@ -47,6 +49,7 @@ footer {
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;
@ -59,6 +62,7 @@ footer{
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;
@ -66,15 +70,18 @@ footer>div{
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
footer>div>div { footer>div>div {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin: 15px; margin: 15px;
} }
footer img { footer img {
width: 8rem; width: 8rem;
} }
footer a { footer a {
margin: 2px; margin: 2px;
} }
@ -83,6 +90,7 @@ nav {
border-radius: 30%; border-radius: 30%;
font-size: 12px; font-size: 12px;
} }
a { a {
color: var(--theme-accent); color: var(--theme-accent);
} }
@ -104,9 +112,11 @@ aside {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
article { article {
max-width: 90vw; max-width: 90vw;
} }
article>* { article>* {
max-width: 90vw; max-width: 90vw;
} }
@ -147,9 +157,11 @@ article > *{
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 { .listing-text h2 {
margin: 0; margin: 0;
} }
.listing-text i { .listing-text i {
display: block; display: block;
max-width: 80%; max-width: 80%;
@ -170,19 +182,23 @@ article > *{
justify-content: center; justify-content: center;
} }
.listing-text:hover>a { .listing-text:hover>a {
animation: blur-out 0.2s; 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;
@ -210,12 +226,15 @@ audio {
flex-wrap: wrap; flex-wrap: wrap;
margin-top: 1rem; margin-top: 1rem;
} }
.metadata>* { .metadata>* {
margin: 5px; margin: 5px;
} }
.metadata>div>* { .metadata>div>* {
margin: 5px; margin: 5px;
} }
#tags { #tags {
max-width: 30rem; max-width: 30rem;
} }
@ -264,11 +283,18 @@ 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 {
width: 80%; width: 80%;
} }
@ -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;
@ -351,7 +379,6 @@ article img {
align-self: center; align-self: center;
max-width: 95%; max-width: 95%;
max-height: 60vh max-height: 60vh
} }
article video { article video {
@ -361,6 +388,7 @@ article video{
background-color: transparent; background-color: transparent;
} }
article iframe { article iframe {
height: auto; height: auto;
width: 80%; width: 80%;
@ -528,6 +556,7 @@ video {
width: 90vw; width: 90vw;
} }
#banner { #banner {
position: relative; position: relative;
width: 100vw; width: 100vw;
@ -544,6 +573,7 @@ video {
background-position: center; background-position: center;
background-position-y: center; background-position-y: center;
} }
#banner-text { #banner-text {
max-height: 20vh; max-height: 20vh;
width: fit-content; width: fit-content;
@ -556,6 +586,7 @@ video {
padding: 1.5rem; padding: 1.5rem;
font-size: 22px; font-size: 22px;
} }
#banner-text>* { #banner-text>* {
margin: 5px; margin: 5px;
} }
@ -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;
@ -627,13 +659,16 @@ video {
max-width: 90vw; max-width: 90vw;
max-height: 40vh; max-height: 40vh;
} }
.listing-text { .listing-text {
font-size: 14px; font-size: 14px;
} }
nav { nav {
font-size: 10px; font-size: 10px;
line-height: 14px; line-height: 14px;
} }
#banner-text { #banner-text {
font-size: 12px; font-size: 12px;
} }
@ -643,14 +678,17 @@ 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 { .icon-small {
height: 1rem; height: 1rem;
width: 1rem; width: 1rem;
} }
.bare-link { .bare-link {
text-decoration: none; text-decoration: none;
} }
@ -660,38 +698,67 @@ svg{
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 {
.listing-text,
.listing-text>a {
background-color: rgba(0, 0, 0, 0.25); 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 { .listing-text:hover>a {
animation: blur-out 0.2s; 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);
} }
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"])) {content: none !important;} to {
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️";font-size:18px;margin:5px;content: none !important;} background-color: transparent;
.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{ backdrop-filter: blur(0px);
content: "" !important;margin:0 !important;font-size:0; }
}
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"])) {
content: none !important;
}
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 { .media-container a {
@ -709,10 +776,12 @@ article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {conten
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.pagination>* { .pagination>* {
margin: 5px; 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);
@ -723,13 +792,16 @@ article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {conten
text-decoration: none; text-decoration: none;
margin: 0; margin: 0;
} }
.pagination .disabled { .pagination .disabled {
display: none; display: none;
} }
.pagination .active a { .pagination .active a {
color: var(--theme-color-primary); 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;