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