summaryrefslogtreecommitdiff
path: root/css/elements.css
diff options
context:
space:
mode:
authormono-b <monoblanco@DRAINERDOMAIN.localdomain>2022-12-18 23:58:07 -0300
committermono-b <monoblanco@DRAINERDOMAIN.localdomain>2022-12-18 23:58:07 -0300
commit476493c61679764b33734512f023a627dcca9ecf (patch)
tree0db36282ab18c2b8d6eb15efab2eb49ef2eb8de3 /css/elements.css
Diffstat (limited to 'css/elements.css')
-rw-r--r--css/elements.css240
1 files changed, 240 insertions, 0 deletions
diff --git a/css/elements.css b/css/elements.css
new file mode 100644
index 0000000..9d84573
--- /dev/null
+++ b/css/elements.css
@@ -0,0 +1,240 @@
+/* Fonts */
+
+html {
+ font-family:
+ 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: var(--fg);
+}
+
+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;
+}