|
|
@ -3,7 +3,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
:root {
|
|
|
|
:root {
|
|
|
|
/* Catppuccin color palette */
|
|
|
|
/* Catppuccin color palette */
|
|
|
|
|
|
|
|
|
|
|
|
--ctp-latte-rosewater: #de9584;
|
|
|
|
--ctp-latte-rosewater: #de9584;
|
|
|
|
--ctp-latte-rosewater-rgb: rgb(222, 149, 132);
|
|
|
|
--ctp-latte-rosewater-rgb: rgb(222, 149, 132);
|
|
|
|
--ctp-latte-rosewater-hsl: hsl(11, 58%, 69%); --ctp-frappe-rosewater: #f2d5cf;
|
|
|
|
--ctp-latte-rosewater-hsl: hsl(11, 58%, 69%); --ctp-frappe-rosewater: #f2d5cf;
|
|
|
@ -430,6 +429,10 @@
|
|
|
|
--action-button: var(--ctp-latte-maroon);
|
|
|
|
--action-button: var(--ctp-latte-maroon);
|
|
|
|
--action-button-shadow: var(--ctp-mocha-maroon);
|
|
|
|
--action-button-shadow: var(--ctp-mocha-maroon);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--button: var(--ctp-mocha-surface1);
|
|
|
|
|
|
|
|
--button-hover: var(--ctp-mocha-surface2);
|
|
|
|
|
|
|
|
--button-click: var(--ctp-mocha-surface0);
|
|
|
|
|
|
|
|
|
|
|
|
--adjective: var(--ctp-mocha-red);
|
|
|
|
--adjective: var(--ctp-mocha-red);
|
|
|
|
--noun: var(--ctp-mocha-green);
|
|
|
|
--noun: var(--ctp-mocha-green);
|
|
|
|
--verb: var(--ctp-mocha-blue);
|
|
|
|
--verb: var(--ctp-mocha-blue);
|
|
|
@ -682,10 +685,35 @@ a:hover img {
|
|
|
|
background: var(--background-2);
|
|
|
|
background: var(--background-2);
|
|
|
|
margin-left: calc(-1 * var(--padding));
|
|
|
|
margin-left: calc(-1 * var(--padding));
|
|
|
|
margin-right: calc(-1 * var(--padding));
|
|
|
|
margin-right: calc(-1 * var(--padding));
|
|
|
|
padding: var(--padding);
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
overflow-x: scroll;
|
|
|
|
|
|
|
|
overflow-y: hidden;
|
|
|
|
|
|
|
|
transition: 0.75s;
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
font-style: normal;
|
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#challenge > div {
|
|
|
|
|
|
|
|
padding: var(--padding);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.vertical {
|
|
|
|
|
|
|
|
writing-mode: vertical-rl;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.vertical a:hover {
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
border-left: 2px solid;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#challenge p {
|
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#challenge > div {
|
|
|
|
|
|
|
|
padding: var(--padding);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#challenge, h1, h2, h3, h4, h5, h6 {
|
|
|
|
#challenge, h1, h2, h3, h4, h5, h6 {
|
|
|
@ -698,6 +726,7 @@ header h1, header h2, header h3, header h4, header h5, header h6 {
|
|
|
|
|
|
|
|
|
|
|
|
header {
|
|
|
|
header {
|
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
header, :not(header) > h1, :not(header) > h2, :not(header) > h3, :not(header) > h4, :not(header) > h5, :not(header) > h6 {
|
|
|
|
header, :not(header) > h1, :not(header) > h2, :not(header) > h3, :not(header) > h4, :not(header) > h5, :not(header) > h6 {
|
|
|
@ -748,19 +777,10 @@ header rt {
|
|
|
|
counter-increment: section;
|
|
|
|
counter-increment: section;
|
|
|
|
content: counter(section);
|
|
|
|
content: counter(section);
|
|
|
|
text-orientation: upright;
|
|
|
|
text-orientation: upright;
|
|
|
|
color: #928374;
|
|
|
|
color: var(--foreground-dim);
|
|
|
|
margin-right: 0.25em;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#challenge-kanji {
|
|
|
|
|
|
|
|
writing-mode: vertical-rl;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#challenge-kanji a:hover {
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
border-left: 2px solid;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#challenge-horizontal, #challenge-kanji {
|
|
|
|
#challenge-horizontal, #challenge-kanji {
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -802,15 +822,38 @@ p, ul, ol {
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.action-button a {
|
|
|
|
button {
|
|
|
|
|
|
|
|
height: 2em;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
font-size: 0.75em;
|
|
|
|
|
|
|
|
padding-left: 0.5em;
|
|
|
|
|
|
|
|
padding-right: 0.5em;
|
|
|
|
|
|
|
|
background: var(--button);
|
|
|
|
|
|
|
|
border-radius: 0.25em;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
button:hover {
|
|
|
|
|
|
|
|
background: var(--button-hover);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
button:active {
|
|
|
|
|
|
|
|
background: var(--button-click);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
button, .action-button a {
|
|
|
|
display: inline-flex;
|
|
|
|
display: inline-flex;
|
|
|
|
border: none !important;
|
|
|
|
border: none !important;
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
background: var(--action-button);
|
|
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--button-text);
|
|
|
|
color: var(--button-text);
|
|
|
|
transition: 0.5s;
|
|
|
|
transition: 0.5s;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.action-button a {
|
|
|
|
font-size: 1em;
|
|
|
|
font-size: 1em;
|
|
|
|
|
|
|
|
background: var(--action-button);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.action-button span {
|
|
|
|
.action-button span {
|
|
|
@ -873,10 +916,14 @@ a.no-underline:hover {
|
|
|
|
border: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.muted, #leaderboard td:first-child {
|
|
|
|
.muted, #leaderboard td:first-child, .clickable-icon {
|
|
|
|
color: var(--foreground-dim);
|
|
|
|
color: var(--foreground-dim);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.clickable-icon:hover {
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 400px) {
|
|
|
|
@media (max-width: 400px) {
|
|
|
|
#leaderboard td:first-child {
|
|
|
|
#leaderboard td:first-child {
|
|
|
|
display: none;
|
|
|
|
display: none;
|
|
|
|