Files
tps/core.css
2026-01-24 23:20:37 +01:00

90 lines
1.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif&family=Cutive+Mono&display=swap');
:root {
--primary-color: #30394a;
--primary-color-no-focus: #abbbdf;
--color: white;
--font-size: 28px;
--min-font-size: 15px;
--gap: 1rem;
}
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
*:not(td):not(th) {
border-radius: 0.3rem;
}
body {
font-size: 22px;
font-family: 'Noto Serif', serif;
margin: 0;
}
header {
text-align: center;
color: var(--primary-color);
}
main {
display: flex;
flex-direction: column;
justify-content: center;
gap: 0;
padding: 1rem 1rem 0;
color: var(--color);
}
.meaning {
color: #9f9a9a;
font-weight: 100;
font-size: 1rem;
}
.meaning::before {
content: '(';
}
.meaning::after {
content: ')';
}
button:active {
transform: scale(0.96);
transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}
button {
transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.rainbow {
text-decoration: underline;
background: linear-gradient(
to right,
#6666ff,
#0099ff,
#00ff00,
#ff3399,
#6666ff
);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: rainbow-animation 5s ease-in-out infinite;
background-size: 400% 100%;
}
@keyframes rainbow-animation {
0%,
100% {
background-position: 0 0;
}
50% {
background-position: 100% 0;
}
}