Skip to content

Instantly share code, notes, and snippets.

@FallingLights
Created April 27, 2025 14:21
Show Gist options
  • Select an option

  • Save FallingLights/07bec8f53b925dd18a03ddbf5f9568d7 to your computer and use it in GitHub Desktop.

Select an option

Save FallingLights/07bec8f53b925dd18a03ddbf5f9568d7 to your computer and use it in GitHub Desktop.
/* ==UserStyle==
@name hackernews-one-dark
@namespace USO Archive
@version 20220903.07.24
@description Naive one dark attempt.
@author resting
@license CC0-1.0==/UserStyle== */
/* ==UserStyle==
@name hackernews-one-dark
@namespace USO Archive
@author resting
@description `Naive one dark attempt.`
@version 20220828.16.54
@license CC0-1.0
@preprocessor uso
==/UserStyle== */
@-moz-document domain("ycombinator.com") {
:root {
--green: rgba(152, 190, 101, 0.8);
--magento: rgba(211, 108, 241, .8);
--blue: rgba(97, 175, 239, 1);
--blue-border: rgba(51, 102, 153, 1);
--bg-grey: rgba(40, 44, 52, 1);
--bg-grey2: rgba(50, 56, 66, 1);
--bg-grey2-hover: rgb(62, 70, 82);
--bg-side: rgba(33, 37, 43, 1);
--red: rgba(224, 108, 117, 1);
--title-yellow: rgba(209, 154, 102, 1);
--title-yellow2: rgba(209, 154, 102, 0.7);
--highlight-yellow: rgba(229, 192, 123, 1);
--text-grey: rgba(187, 187, 187, 0.7);
--text-grey2: rgba(187, 187, 187, 1);
--text-grey3: rgb(215, 215, 215);
--text-white: rgb(255, 255, 255);
--visited-yellow: rgb(77, 161, 154);
--button-text: rgba(144, 139, 129, 1);
}
html,
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue',
sans-serif;
background-color: var(--bg-grey);
font-size: 16px;
color: var(--text-grey);
}
table {
/*margin: 0 auto;*/
line-height: 1.7;
font-size: 1rem;
}
td {
font-size: inherit;
}
.fatitem {
width: 54rem;
}
td.default {
width: 60rem;
margin: 0 auto;
}
a:link {
color: var(--blue);
}
.default {
font-family: inherit;
font-size: inherit;
}
.pagetop a:link {
color: black;
}
td {
font-family: inherit;
}
p {
margin: 0.8em auto;
}
#hnmain {
background: var(--bg-grey);
}
.spacer {
height: 1em !important;
}
.title {
font-family: inherit;
font-size: 1.2rem;
}
.storylink:link {
color: var(--title-yellow);
}
a:visited {
color: var(--visited-yellow);
}
.subtext {
font-family: inherit;
color: var(--red);
}
.subtext a:link {
color: var(--blue);
}
/*.subtext .hnuser:link,*/
.comhead a:link,
.subtext a:visited {
color: var(--magento);
}
.age a:link,
.age a:visited {
color: var(--green);
}
.comment {
font-family: inherit;
font-size: 1.1em;
}
.c00,
.c5a {
color: var(--text-grey3);
}
.c00 a:link {
color: var(--blue);
}
.yclinks,
.yclinks a:link {
color: var(--blue);
font-size: 0.875em;
}
.subtext {
font-size: 12px;
}
.hnuser {
color: var(--red) !important;
;
}
br {
line-height: 1.2;
}
.subline a[href*="item?id="]:not(:first-child) {
color: var(--title-yellow) !important;
/* Custom color for comments links */
}
span.score {
font-weight: bold;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment