2024-09-21 13:43:22 +00:00
|
|
|
/*
|
2024-09-27 11:14:47 +00:00
|
|
|
theme-title: Solarized dark
|
|
|
|
theme-description: Dark green and grey solarized theme with red trim
|
2024-09-21 13:43:22 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
Solarized colors + design - https://github.com/altercation/solarized
|
|
|
|
|
|
|
|
Copyright (c) 2011 Ethan Schoonover
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
:root {
|
|
|
|
/* Define solarized palette */
|
2024-09-26 15:00:13 +00:00
|
|
|
--base03: #002b36; /* Background. */
|
|
|
|
--base02: #073642; /* Background highlights. */
|
|
|
|
--base01: #586e75; /* Comments / secondary color. */
|
|
|
|
--base0: #839496; /* Body text / default code / primary content. */
|
|
|
|
--base1: #93a1a1; /* Optional emphasized content. */
|
|
|
|
--red: #dc322f; /* Trim. */
|
2024-09-21 13:43:22 +00:00
|
|
|
|
|
|
|
/* Override orange trim */
|
|
|
|
--orange2: var(--red);
|
|
|
|
|
|
|
|
/* Restyle basic colors to use Solarized */
|
2024-10-06 11:05:13 +00:00
|
|
|
--white1: var(--base03);
|
|
|
|
--white2: var(--base02);
|
|
|
|
--blue2: var(--base1);
|
2024-09-26 15:00:13 +00:00
|
|
|
--blue3: var(--base1);
|
2024-09-21 13:43:22 +00:00
|
|
|
|
|
|
|
/* Basic page styling (background + foreground) */
|
2024-10-06 11:05:13 +00:00
|
|
|
--bg: var(--base02);
|
2024-09-27 11:14:47 +00:00
|
|
|
--bg-accent: var(--base02);
|
2024-09-26 15:00:13 +00:00
|
|
|
--fg-reduced: var(--base0);
|
2024-10-06 11:05:13 +00:00
|
|
|
--fg: var(--base0);
|
2024-09-21 13:43:22 +00:00
|
|
|
|
2024-09-26 15:00:13 +00:00
|
|
|
/* Profile page styling */
|
2024-09-21 13:43:22 +00:00
|
|
|
--profile-bg: var(--white2);
|
|
|
|
|
|
|
|
/* Solarize statuses */
|
2024-10-06 11:05:13 +00:00
|
|
|
--status-bg: var(--base03);
|
|
|
|
--status-focus-bg: var(--base03);
|
|
|
|
--status-info-bg: var(--base02);
|
|
|
|
--status-focus-info-bg: var(--base02);
|
2024-09-21 13:43:22 +00:00
|
|
|
|
|
|
|
/* Used around statuses + other items */
|
2024-10-06 11:05:13 +00:00
|
|
|
--boxshadow-border: 0.15rem solid var(--base01);
|
2024-09-21 13:43:22 +00:00
|
|
|
|
2024-10-06 11:05:13 +00:00
|
|
|
--plyr-video-control-color: var(--base1);
|
|
|
|
--plyr-video-control-color-hover: var(--base03);
|
2024-09-21 13:43:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "Noto Sans Mono";
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
src: url(/assets/fonts/noto-sans-mono-v30-latin-regular.woff2) format('woff2');
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Scroll bar */
|
|
|
|
html, body {
|
|
|
|
font-family: 'Noto Sans Mono', monospace;
|
|
|
|
scrollbar-color: var(--orange2) var(--white1) ;
|
|
|
|
}
|
|
|
|
|
2024-09-27 11:14:47 +00:00
|
|
|
/* Column headers */
|
|
|
|
.col-header {
|
|
|
|
border: var(--boxshadow-border);
|
2024-10-06 11:05:13 +00:00
|
|
|
color: var(--base1);
|
2024-09-27 11:14:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.profile .about-user .col-header {
|
|
|
|
border-bottom: none;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2024-10-06 11:05:13 +00:00
|
|
|
/* Instance title color */
|
|
|
|
.page-header a h1 {
|
|
|
|
color: var(--base1);
|
|
|
|
}
|
|
|
|
|
2024-09-27 11:14:47 +00:00
|
|
|
/* Header card */
|
|
|
|
.profile .profile-header {
|
|
|
|
border: var(--boxshadow-border);
|
2024-10-06 11:05:13 +00:00
|
|
|
background: var(--base03);
|
2024-09-27 11:14:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Fiddle around with borders on about sections */
|
|
|
|
.profile .about-user .fields,
|
|
|
|
.profile .about-user .bio,
|
|
|
|
.profile .about-user .accountstats {
|
2024-10-06 11:05:13 +00:00
|
|
|
background: var(--base03);
|
2024-09-27 11:14:47 +00:00
|
|
|
border-left: var(--boxshadow-border);
|
|
|
|
border-right: var(--boxshadow-border);
|
|
|
|
}
|
|
|
|
.profile .about-user .accountstats {
|
|
|
|
border-bottom: var(--boxshadow-border);
|
2024-10-06 11:05:13 +00:00
|
|
|
color: var(--base0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile .about-user .fields {
|
|
|
|
padding-top: 0;
|
2024-09-27 11:14:47 +00:00
|
|
|
}
|
|
|
|
|
2024-09-21 13:43:22 +00:00
|
|
|
/* Profile fields */
|
|
|
|
.profile .about-user .fields .field {
|
|
|
|
border-bottom: var(--boxshadow-border);
|
|
|
|
}
|
|
|
|
.profile .about-user .fields .field:first-child {
|
|
|
|
border-top: var(--boxshadow-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Status media */
|
|
|
|
.status .media .media-wrapper {
|
|
|
|
border: var(--boxshadow-border);
|
2024-10-06 11:05:13 +00:00
|
|
|
background: var(--base02);
|
2024-09-21 13:43:22 +00:00
|
|
|
}
|
|
|
|
.status .media .media-wrapper details .unknown-attachment .placeholder {
|
2024-10-06 11:05:13 +00:00
|
|
|
color: var(--base1);
|
|
|
|
border: 0.2rem dashed var(--base1);
|
2024-09-21 13:43:22 +00:00
|
|
|
}
|
|
|
|
.status .media .media-wrapper details video.plyr-video {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Status polls */
|
|
|
|
.status .text .poll {
|
2024-10-06 11:05:13 +00:00
|
|
|
background-color: var(--base03);
|
|
|
|
border: var(--boxshadow-border);
|
2024-09-21 13:43:22 +00:00
|
|
|
}
|
|
|
|
.status .text .poll .poll-info {
|
2024-10-06 11:05:13 +00:00
|
|
|
background-color: var(--base03);
|
2024-09-21 13:43:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Code snippets */
|
|
|
|
pre, pre[class*="language-"],
|
|
|
|
code, code[class*="language-"] {
|
|
|
|
background-color: black;
|
2024-09-26 15:00:13 +00:00
|
|
|
color: #93a1a1;
|
2024-09-21 13:43:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Block quotes */
|
|
|
|
blockquote {
|
2024-09-26 15:00:13 +00:00
|
|
|
background-color: var(--base03);
|
|
|
|
color: var(--base0);
|
2024-09-21 13:43:22 +00:00
|
|
|
}
|
|
|
|
|
2024-09-26 15:00:13 +00:00
|
|
|
button, .button,
|
2024-09-21 13:43:22 +00:00
|
|
|
.status .text-spoiler > summary .button {
|
|
|
|
font-family: 'Noto Sans Mono', monospace;
|
|
|
|
}
|
|
|
|
|
2024-09-26 15:00:13 +00:00
|
|
|
.button {
|
2024-10-06 11:05:13 +00:00
|
|
|
color: var(--base1);
|
|
|
|
background: var(--base02);
|
2024-09-26 15:00:13 +00:00
|
|
|
border: var(--boxshadow-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button:hover {
|
2024-10-06 11:05:13 +00:00
|
|
|
color: var(--base0);
|
|
|
|
background: var(--base03);
|
2024-09-26 15:00:13 +00:00
|
|
|
border: var(--boxshadow-border);
|
|
|
|
}
|
|
|
|
|
2024-09-21 13:43:22 +00:00
|
|
|
/* Ensure role badge readable */
|
|
|
|
.profile .profile-header .basic-info .namerole .role.admin {
|
2024-10-06 11:05:13 +00:00
|
|
|
color: var(--base1);
|
2024-09-21 13:43:22 +00:00
|
|
|
}
|
2024-09-26 15:00:13 +00:00
|
|
|
|
2024-10-06 11:05:13 +00:00
|
|
|
/* Distinguish bot icon */
|
2024-09-27 11:14:47 +00:00
|
|
|
.profile .profile-header .basic-info .namerole .bot-username-wrapper .bot-legend-wrapper {
|
|
|
|
border: var(--boxshadow-border);
|
2024-10-06 11:05:13 +00:00
|
|
|
color: var(--base1);
|
2024-09-26 15:00:13 +00:00
|
|
|
}
|