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