243 lines
No EOL
4 KiB
CSS
243 lines
No EOL
4 KiB
CSS
:root {
|
|
color-scheme: light dark;
|
|
--title-color: #cc2027;
|
|
--header-background: #fff;
|
|
--header-color: #333333;
|
|
--message-background: #2ecc71;
|
|
--breadcrumb-color: #333333;
|
|
--background-color: light-dark(#e7e6df, #1d1e22);
|
|
--text-color: light-dark(#333333, #e7e6df);
|
|
--caption-text-color: light-dark(#e7e6df, #333333);
|
|
--link-color: var(--title-color);
|
|
--link-hover-color: #e34f54;
|
|
--logo-stroke: light-dark(#333333, #b7a1a2);
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--background-color: #1d1e22;
|
|
--text-color: #e7e6df;
|
|
--logo-stroke: #b7a1a2;
|
|
}
|
|
|
|
[data-theme="light"] {
|
|
--background-color: #e7e6df;
|
|
--text-color: #1d1e22;
|
|
--logo-stroke: #333333;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: 62.5%;
|
|
}
|
|
|
|
body {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
font-size: 1.5rem;
|
|
color: var(--text-color);
|
|
background-color: var(--background-color);
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
font-family: Georgia, Lucida, serif;
|
|
font-style: italic;
|
|
color: var(--link-color);
|
|
font-weight: normal;
|
|
text-align: center;
|
|
width: fit-content;
|
|
}
|
|
|
|
body>header {
|
|
padding: 1px;
|
|
}
|
|
|
|
#logo-border-color {
|
|
fill: var(--title-color) !important;
|
|
stroke: none !important;
|
|
}
|
|
|
|
.logo {
|
|
height: 3em;
|
|
vertical-align: middle;
|
|
stroke: var(--logo-stroke) !important;
|
|
}
|
|
|
|
#dark-mode {
|
|
position: absolute;
|
|
top: 1em;
|
|
right: 1em;
|
|
}
|
|
|
|
#container,
|
|
#innerheader {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#innerheader a {
|
|
color: var(--link-color);
|
|
font-weight: bold;
|
|
}
|
|
|
|
#innerheader a:hover {
|
|
color: var(--link-hover-color);
|
|
}
|
|
|
|
nav {
|
|
font-size: 1.3em;
|
|
text-align: center;
|
|
}
|
|
|
|
aside {
|
|
padding: 0 0.3em;
|
|
}
|
|
|
|
aside a {
|
|
color: var(--title-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
aside * {
|
|
margin: .2em 0;
|
|
}
|
|
|
|
#gallery li:hover img,
|
|
#gallery li img,
|
|
#gallery li em,
|
|
#gallery li:hover em,
|
|
#backtop,
|
|
#backtop:hover,
|
|
#backtop:active {
|
|
transition: all .2s ease-in;
|
|
}
|
|
|
|
#gallery {
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
list-style: none;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
width: 95%;
|
|
}
|
|
|
|
#gallery li {
|
|
position: relative;
|
|
overflow: hidden;
|
|
line-height: 0;
|
|
background-color: var(--header-background);
|
|
}
|
|
|
|
#gallery li img {
|
|
width: 100%;
|
|
}
|
|
|
|
#gallery li img:hover {
|
|
position: relative;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
#gallery em {
|
|
display: block;
|
|
position: absolute;
|
|
top: 100%;
|
|
bottom: 0;
|
|
width: 100%;
|
|
padding: 40% 0;
|
|
text-align: center;
|
|
font-family: Georgia, Lucida, serif;
|
|
font-size: 2rem;
|
|
font-style: italic;
|
|
color: var(--header-background);
|
|
background-color: rgba(0, 0, 0, .6);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
z-index: 10;
|
|
}
|
|
|
|
#gallery li:hover em {
|
|
top: 0;
|
|
}
|
|
|
|
footer {
|
|
clear: both;
|
|
font-weight: bold;
|
|
padding-top: 2rem;
|
|
margin: 25px 0px;
|
|
text-align: center;
|
|
}
|
|
|
|
#backtop {
|
|
display: block;
|
|
position: fixed;
|
|
bottom: 0;
|
|
right: 0;
|
|
padding: 1rem 4rem;
|
|
background-color: var(--header-background);
|
|
color: var(--title-color);
|
|
font-weight: bold;
|
|
box-shadow: 0px 0px 2px -1px #000;
|
|
}
|
|
|
|
#backtop:hover,
|
|
#backtop:active {
|
|
background-color: var(--title-color);
|
|
color: var(--header-background);
|
|
padding: 2rem 8rem;
|
|
}
|
|
|
|
footer {
|
|
padding-top: 1em;
|
|
text-align: center;
|
|
}
|
|
|
|
footer a {
|
|
text-decoration: none;
|
|
color: var(--link-color);
|
|
}
|
|
|
|
.buildTime {
|
|
font-size: 1.1rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.lightbox-container__media {
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
|
|
p {
|
|
background-color: var(--header-background);
|
|
width: 100%;
|
|
max-width: 90%;
|
|
}
|
|
}
|
|
|
|
|
|
.gdesc-inner {
|
|
color: var(--caption-text-color);
|
|
word-break: break-word;
|
|
}
|
|
|
|
.gdesc-inner ul {
|
|
padding: 0 0 0 1.8em;
|
|
}
|
|
|
|
.glightbox-container .gslide,
|
|
.gslide-image img {
|
|
user-select: auto;
|
|
}
|
|
|
|
.gslide-description a {
|
|
color: var(--link-color);
|
|
} |