188 lines
3.1 KiB
CSS
188 lines
3.1 KiB
CSS
*, ::before, ::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
font-weight: 400;
|
|
|
|
color-scheme: light dark;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
|
|
--accent-color: rgb(245, 141, 210);
|
|
--accent-color-bri: rgb(255, 191, 234);
|
|
accent-color: var(--accent-color);
|
|
|
|
--text-color: #111;
|
|
--text-color-dark: #444;
|
|
--text-color-darker: #555;
|
|
--background-color: #fff;
|
|
--background-color-2: #eee;
|
|
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
::selection {
|
|
background-color: var(--accent-color);
|
|
color: #000;
|
|
}
|
|
|
|
body {
|
|
margin: 2rem;
|
|
}
|
|
|
|
button, input {
|
|
font-family: inherit;
|
|
}
|
|
|
|
a {
|
|
color: var(--accent-color);
|
|
transition: 0.1s color;
|
|
}
|
|
a:hover {
|
|
color: var(--accent-color-bri);
|
|
}
|
|
|
|
.dim {
|
|
color: var(--text-color-dark);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--text-color: #fff;
|
|
--text-color-dark: #aaa;
|
|
--text-color-darker: #888;
|
|
--background-color: #111;
|
|
--background-color-2: #161616;
|
|
}
|
|
}
|
|
|
|
.spinny:hover {
|
|
animation: 2s spin linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.block {
|
|
max-width: 600px;
|
|
line-height: 1.3;
|
|
text-align: justify;
|
|
}
|
|
|
|
pre {
|
|
display: inline;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.dir-header {
|
|
background-color: var(--background-color-2);
|
|
color: var(--text-color-dark);
|
|
padding: 0.5em;
|
|
border-radius: 12px;
|
|
line-height: 1.2;
|
|
}
|
|
.dir-header a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.fancy-button {
|
|
outline: 0;
|
|
border: none;
|
|
background-color: var(--accent-color);
|
|
color: #000;
|
|
font-size: 1.2rem;
|
|
padding: 0.4em 0.8em;
|
|
margin: 0.5em;
|
|
border-radius: 16px;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: 0.1s background-color;
|
|
}
|
|
|
|
.fancy-button:hover {
|
|
background-color: var(--accent-color-bri);
|
|
}
|
|
|
|
.error {
|
|
color: #f33;
|
|
}
|
|
|
|
.circle-button {
|
|
border-radius: 10px;
|
|
border: 1px solid var(--accent-color);
|
|
color: var(--accent-color);
|
|
transition: 0.1s border-color, 0.1s color;
|
|
padding: 0.5em;
|
|
margin: 0.5em;
|
|
height: 48px;
|
|
width: 48px;
|
|
}
|
|
.circle-button:hover {
|
|
border-color: var(--accent-color-bri);
|
|
color: var(--accent-color-bri);
|
|
}
|
|
.circle-button > svg, .circle-button > img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
@media (max-width: 650px) {
|
|
/* mobile layout gets bigger buttons */
|
|
.circle-button {
|
|
height: 54px;
|
|
width: 54px;
|
|
}
|
|
}
|
|
|
|
.circle-button.notifications-unread > svg {
|
|
fill: currentColor;
|
|
}
|
|
|
|
.header {
|
|
height: 96px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.title {
|
|
font-size: x-large;
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 0.5em;
|
|
align-items: center;
|
|
}
|
|
|
|
.inline-post {
|
|
display: inline;
|
|
}
|
|
.inline-post-button {
|
|
display: inline;
|
|
background: none;
|
|
outline: none;
|
|
border: none;
|
|
color: inherit;
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
} |