website/public/app.css

101 lines
1.6 KiB
CSS

p {
font-size: 16px;
}
h1,
h2,
h3 {
color: var(--text-light);
font-family: 'Roboto', sans-serif;
}
article>h1 {
font-size: 28px;
}
article>h2 {
font-size: 22px;
margin-top: 20px;
}
article>h3 {
font-size: 18px;
margin-top: 16px;
}
article>p>a,
article a,
.top-info>.links a {
color: var(--fill) !important;
}
.dark .noise::before {
opacity: 1;
}
.noise::before {
opacity: 0.3;
content: "";
position: absolute;
height: 100%;
width: 100%;
background: url(/images/noise.webp);
background-size: 200px;
pointer-events: none;
/* opacity: 0.3; */
}
img {
max-width: 100%;
height: auto;
}
video {
border-radius: 10px;
}
.center {
display: flex;
justify-content: center;
align-items: center;
}
.astro-code {
padding: 20px;
border-radius: 10px;
}
article iframe {
border-radius: 10px;
}
picture.thumb::before {
content: "";
position: absolute;
bottom: 10px;
right: 10px;
width: 20px;
height: 20px;
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
animation: spin 1s linear infinite;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-loader-2'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 3a9 9 0 1 0 9 9' /%3E%3C/svg%3E");
background-size: cover;
z-index: 2;
}
picture.thumb-loading::before {
opacity: 0.5;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}