diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-10-27 18:10:51 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-10-27 21:10:18 +0800 |
| commit | f7300455cb61c1c22eeaee7139eac7c39a723e25 (patch) | |
| tree | b1e663b4a84053d94c34eeb5cdb498f3d80b12a9 /_site/assets | |
| parent | f6d945cd589921886508f7e4338bd4549dab28d3 (diff) | |
| download | www-f7300455cb61c1c22eeaee7139eac7c39a723e25.tar.gz | |
Improve styling for links, code.marat
Diffstat (limited to '_site/assets')
| -rw-r--r-- | _site/assets/css/main.css | 23 | ||||
| -rw-r--r-- | _site/assets/css/skeleton.css | 9 | ||||
| -rw-r--r-- | _site/assets/lic/im_fell_english_font.txt (renamed from _site/assets/licenses/im_fell_english_font.txt) | 0 | ||||
| -rw-r--r-- | _site/assets/lic/marat.txt (renamed from _site/assets/licenses/marat.txt) | 0 | ||||
| -rw-r--r-- | _site/assets/lic/skeleton.txt (renamed from _site/assets/licenses/skeleton.txt) | 0 |
5 files changed, 21 insertions, 11 deletions
diff --git a/_site/assets/css/main.css b/_site/assets/css/main.css index 8ef0b4d..1058c16 100644 --- a/_site/assets/css/main.css +++ b/_site/assets/css/main.css @@ -6,6 +6,8 @@ :root { --link-color: #2f2f2f; + --main-bg-color: #f4f2e8; + --main-txt-color: #2f2f2f; } *, @@ -19,10 +21,10 @@ body{ height: 100%; text-decoration-skip: ink; - color: #2f2f2f; + color: var(--main-txt-color); padding-top: 10px; font-family: 'IM Fell English', serif; - background-color: #f4f2e8; + background-color: var(--main-bg-color); } body::selection{ @@ -42,7 +44,11 @@ p::selection{ color: rgba(47, 47, 47, 0.6) } -a { +a { + text-decoration: underline; +} + +.link-decor-none { text-decoration: none; } @@ -271,8 +277,17 @@ and (min-device-width : 768px) { margin-top: 4px; } -/* code blocks */ pre { + border: none; max-height: 400px; overflow-y: auto; + scrollbar-width: none; + -ms-overflow-style: none; + color: var(--main-bg-color); + background-color: var(--main-txt-color); } + +pre::-webkit-scrollbar { + display: none; +} + diff --git a/_site/assets/css/skeleton.css b/_site/assets/css/skeleton.css index 78a8573..35e298b 100644 --- a/_site/assets/css/skeleton.css +++ b/_site/assets/css/skeleton.css @@ -154,11 +154,7 @@ p { /* Links –––––––––––––––––––––––––––––––––––––––––––––––––– */ -a { - color: #2f2f2f; } -a:hover { - color: #000; - text-shadow: 3px 3px 1px rgba(47,47,47,0.2);} +a { color: #2f2f2f; } /* Buttons @@ -309,9 +305,8 @@ code { margin: 0 .2rem; font-size: 90%; white-space: nowrap; - background: rgba(0,0,0,0); - border: 1px solid #E1E1E1; border-radius: 4px; } + pre > code { display: block; padding: 1rem 1.5rem; diff --git a/_site/assets/licenses/im_fell_english_font.txt b/_site/assets/lic/im_fell_english_font.txt index 2318e86..2318e86 100644 --- a/_site/assets/licenses/im_fell_english_font.txt +++ b/_site/assets/lic/im_fell_english_font.txt diff --git a/_site/assets/licenses/marat.txt b/_site/assets/lic/marat.txt index 75c9060..75c9060 100644 --- a/_site/assets/licenses/marat.txt +++ b/_site/assets/lic/marat.txt diff --git a/_site/assets/licenses/skeleton.txt b/_site/assets/lic/skeleton.txt index 32a62b3..32a62b3 100644 --- a/_site/assets/licenses/skeleton.txt +++ b/_site/assets/lic/skeleton.txt |
