diff options
author | mono-b <monoblanco@DRAINERDOMAIN.localdomain> | 2022-12-18 23:58:07 -0300 |
---|---|---|
committer | mono-b <monoblanco@DRAINERDOMAIN.localdomain> | 2022-12-18 23:58:07 -0300 |
commit | 476493c61679764b33734512f023a627dcca9ecf (patch) | |
tree | 0db36282ab18c2b8d6eb15efab2eb49ef2eb8de3 /css/lines.css |
Diffstat (limited to 'css/lines.css')
-rw-r--r-- | css/lines.css | 423 |
1 files changed, 423 insertions, 0 deletions
diff --git a/css/lines.css b/css/lines.css new file mode 100644 index 0000000..26416af --- /dev/null +++ b/css/lines.css @@ -0,0 +1,423 @@ +/* Color */ + +:root { + --bg: #100f0e; + --dark-bg: #100f0e; + --bright-bg: #100f0e; + + --fg: #CDCED6; + --bright-fg: #e5e5e8; + + --white: #CDCED6; + --bright-white: #e5e5e8; + + --skin: #e5cdab; + + --orange: #e56800; + --light-orange: #fdb64e; + + --yellow: #fecf41; + + --gray: #a0a0a2; + --dark-gray: #7C838F; + --light-gray: #B8BAC5; + + --green: #98971a; + --bright-green: #b8bb26; +} + +body { + background: url("/images/drainerdomain_bg.webp") no-repeat fixed; + color: var(--fg); +} + +/* Main menu */ + +.main-nav ul { + display: flex; + flex-flow: row wrap; + justify-content: flex-start; + margin: 0; + padding: 0.25rem 0; +} + +.main-nav li { + font-size: 1.15rem; + font-weight: 500; + text-transform: uppercase; + text-align: center; + margin-right: 1.5rem; + padding: 0.3rem; +} + +.main-nav li::before { + content: "["; +} + +.main-nav li::after { + content: "]"; +} + +.main-nav li, a { + text-decoration: none; +} + +.main-nav li::marker { + content: ""; +} + +.aside__social-links { + position: fixed; +} + +.aside__social-links li { + font-size: 0.7rem; + font-weight: 400; + text-align: left; + padding-left: 0px; + margin-top: 10px; +} + +.aside__social-links li::marker { + content: none; +} + +.aside__social-links a { + padding: 2px; + text-decoration: none; +} + +.content__body a:link { + color: var(--orange); +} + +.content__body a:hover, +.content__body a:visited { + color: var(--yellow); +} + +/* Fonts */ + +html { + font-family: + Iosevka, + monospace, + system-ui, + /* macOS 10.11-10.12 */ -apple-system, + /* Windows 6+ */ Segoe UI, + /* Android 4+ */ Roboto, + /* Ubuntu 10.10+ */ Ubuntu, + /* Gnome 3+ */ Cantarell, + /* KDE Plasma 5+ */ Noto Sans, + /* fallback */ sans-serif, + /* macOS emoji */ "Apple Color Emoji", + /* Windows emoji */ "Segoe UI Emoji", + /* Windows emoji */ "Segoe UI Symbol", + /* Linux emoji */ "Noto Color Emoji"; +} + + +body { + font-size: 16px; + line-height: 1.5rem; + letter-spacing: 0.2px; +} + +/* Headings */ +h1 { + font-size: 2rem; + margin: 1.5rem 0; +} + +h2, +h3, +h4, +h5, +h6 { + font-size: 1.5rem; + margin: 1.5rem 0; +} + +h1+h2, +h1+h3, +h1+h4, +h1+h5, +h1+h6, +h2+h3, +h2+h4, +h2+h5, +h2+h6, +h3+h4, +h3+h5, +h3+h6, +h4+h5, +h4+h6, +h5+h6 { + margin: 1; +} + +h1:before { content: "\003E"; } +h2:before { content: "\003E\003E"; } +h3:before { content: "\003E\003E\003E"; } +h4:before { content: "\003E\003E\003E\003E"; } +h5:before { content: "\003E\003E\003E\003E\003E"; } +h6:before { content: "\003E\003E\003E\003E\003E\003E"; } + +h1:before, +h2:before, +h3:before, +h4:before, +h5:before, +h6:before { + color: var(--yellow); + font-weight: 300; +} + +h1:first-child { + margin-top: 0; +} + +/* Paragraphs */ +p { + margin: 0 0 1.5rem 0; +} + +/* Links */ + +a:link, a:visited { + color: #fff; +} + +a:hover, a:active { + color: var(--light-orange); +} + +/* Lists */ +ul { + margin: 0 0 0 0; + padding-left: 1.25rem; +} + +ol { + margin: 0 0 0 0; + padding-left: 1.75rem; +} + +ol li { + margin-bottom: 10px; +} + +ul ul, +ul ol, +ol ul, +ol ol { + margin: 0; +} + +ul li::marker { + font-size: 0.8rem; + content: '\2500\ '; + color: var(--yellow); +} + +ol li::marker { + color: var(--yellow); +} + +dt { + margin: 0; + font-weight: bold; +} + +dd { + margin: 0 0 0 1.5rem; + font-style: italic; +} + +dd + dt { + margin-top: 1.5rem; +} + +dl { + margin: 0 0 1.5rem 0; +} + +/* Blockquotes */ +blockquote { + margin: 0; + border-left: 2px double var(--dark-gray); + font-style: italic; + font-size: 14px; + background: #0b0b0b !important; + padding: 0 5px 0 10px; +} + +/* Code */ +pre { + border: 1px solid var(--yellow); + border-radius: 4px; +} + +pre, +code, +kbd, +samp { + font-family: + /* Iosevka */ Iosevka, + /* macOS 10.10+ */ Menlo, + /* Windows 6+ */ Consolas, + /* Android 4+ */ Roboto Mono, + /* Ubuntu 10.10+ */ Ubuntu Monospace, + /* KDE Plasma 5+ */ Noto Mono, + /* KDE Plasma 4+ */ Oxygen Mono, + /* Linux/OpenOffice fallback */ Liberation Mono, + /* fallback */ monospace; + background: #0b0b0b !important; + font-size: 14px; + color: var(--yellow); + letter-spacing: 0; +} + +pre { + overflow-x: auto; + padding: 1.5rem; + margin: 0 0 1.5rem 0; +} + +/* Emphasis */ +b, +strong { + font-weight: 600; +} + +/* Highlighting */ +::selection, +mark { + background-color: var(--yellow); + color: var(--bg); +} + +/* Other typographic elements */ +hr { + border: 0; + margin-bottom: 1.5rem; +} + +hr:after { + content: '---'; + color: var(--yellow); +} + + +/* Prevent super/sub from affecting line height */ +sup, sub { + vertical-align: baseline; + position: relative; + top: -0.25rem; + font-size: unset; +} +sub { + top: 0.25rem; +} + +/* Tables */ +table { + margin: 0 0 0 0; + overflow-wrap: anywhere; +} + +th, td { + color: var(--light-gray); + border-bottom: 1px solid var(--dark-gray); + vertical-align: top; + padding: 4px; +} +th:first-child, td:first-child { + padding-left: 0px; +} +th { + text-align: center; +} + +/* 1rem = 16px by default */ + +.page { + max-width: 64rem; + margin: 1rem auto; + display: grid; + grid-template-areas: + "header" + "body" + "aside"; + grid-template-columns: minmax(0, 1fr); + grid-row-gap: 1rem; +} + +@media (min-width: 45rem) { + .page { + grid-template-areas: + "header header" + "body aside"; + grid-template-columns: minmax(0, 1fr) 15rem; + grid-column-gap: 2rem; + } +} + +/* Header */ + +.page__header { + grid-area: header; + display: flex; +} + +.page__logo { + flex-shrink: 0; +} + +.page__nav { + flex-grow: 1; +} + +/* Body + aside */ +.page__body { + padding: 20px; + border-left: 2px dotted white; + grid-area: body; + background-color: rgba(0, 0, 0, 0.4); + overflow-wrap: break-word; +} + +.page__body details a:link { + color: var(--orange) +} + +.page__aside { + grid-area: aside; + color: var(--bright-bg); +} + +details { + color: #fff; +} + +summary { + padding: 4px; + font-weight: 500; +} + +summary::marker { + color: var(--yellow); +} + +.buttons { + display: flex; + justify-content: center; +} + +.buttons li { + padding: 5px; +} + +.buttons li::marker { + content: ""; +} |