diff options
author | dmlunar <root@lunar.sh> | 2025-03-14 13:56:27 +0200 |
---|---|---|
committer | dmlunar <root@lunar.sh> | 2025-08-08 16:16:49 +0200 |
commit | 994b347557ccf03af0cd910d8ba50d127b7a61dd (patch) | |
tree | 9ece6c3e1b6bf5477737df137df0536b0c8e9559 /_sass | |
download | journal.lunar.sh-main.tar.gz journal.lunar.sh-main.zip |
initial commit.
Diffstat (limited to '_sass')
-rw-r--r-- | _sass/_highlights.scss | 33 | ||||
-rw-r--r-- | _sass/_reset.scss | 63 | ||||
-rw-r--r-- | _sass/_variables.scss | 14 |
3 files changed, 110 insertions, 0 deletions
diff --git a/_sass/_highlights.scss b/_sass/_highlights.scss new file mode 100644 index 0000000..3066f5f --- /dev/null +++ b/_sass/_highlights.scss @@ -0,0 +1,33 @@ +@import "variables"; + +div.highlight { + overflow: unset; + margin-bottom: 5px; + color: #2b2b2b; +} + +pre.highlight{ + max-width: 100%; + line-height: 1.5; + background: #e7e7e7; +} + +code { + font-family: "JetBrains Mono"; + font-size: 13px; + font-weight: 400; + position: relative; + font-variant-ligatures: none; +} + +code img { + margin: 0px; +} + +code.language-plaintext { + padding: 0.4px 5px; + padding-bottom: 0; + background: #e3e6e8; + border: 1px solid #e3e6e8; + font-size: 12px; +} diff --git a/_sass/_reset.scss b/_sass/_reset.scss new file mode 100644 index 0000000..65189cb --- /dev/null +++ b/_sass/_reset.scss @@ -0,0 +1,63 @@ +sub { + font-size: smaller; + vertical-align: sub; +} + +sup { + font-size: smaller; + vertical-align: super; +} + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + text-size-adjust: 100%; + font: inherit; + vertical-align: baseline; +} + +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} + +body { + line-height: 1; +} + +ol, ul { + list-style: none; +} + +blockquote, q { + quotes: none; +} + +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} + +table { + /* border-collapse: collapse; */ + border-spacing: 0; +} + +*, *:before, *:after { + -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; +} diff --git a/_sass/_variables.scss b/_sass/_variables.scss new file mode 100644 index 0000000..8293e01 --- /dev/null +++ b/_sass/_variables.scss @@ -0,0 +1,14 @@ +$dark: #0a0b10; +$black: #000; +$white: #fafafa; +$grey: #f5f5f5; +$highlight: #e3e6e8; + +$serif: sans-serif; +$inter: "IBM Plex Sans"; + +@mixin mobile { + @media screen and (max-width: 730px) { + @content; + } +} |