aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.css
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2026-01-14 05:07:43 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2026-01-14 05:07:43 +0100
commit69db9b45dd8704102c612863c8ff73ee4bcdbf72 (patch)
treede39b23341ba916ca0354ab98d8b5c613d54f2fb /src/app.css
parent481c06cdb6bfb370ba2d84f4b6bb4ba260eb14cd (diff)
downloadmem-estrogen-zone-69db9b45dd8704102c612863c8ff73ee4bcdbf72.tar.gz
mem-estrogen-zone-69db9b45dd8704102c612863c8ff73ee4bcdbf72.tar.bz2
mem-estrogen-zone-69db9b45dd8704102c612863c8ff73ee4bcdbf72.tar.lz
mem-estrogen-zone-69db9b45dd8704102c612863c8ff73ee4bcdbf72.zip

feat: a bunch of random temp shit

Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css59
1 files changed, 51 insertions, 8 deletions
diff --git a/src/app.css b/src/app.css
index 49c5f3a..ae807c9 100644
--- a/src/app.css
+++ b/src/app.css
@@ -21,12 +21,22 @@
'Courier', 'monospace';
--font-mono:
'PxPlus IBM EGA 8x14', 'Hack', 'Courier New', 'Courier', 'monospace';
+ --font-genericmono:
+ 'JetBrainsMono NF', 'Jetbrains Mono', 'JetBrains Mono', monospace;
}
+@utility internal-header-active {
+ &:not(:is(p)) {
+ @apply text-white/95;
+ }
+ &::after {
+ @apply -ml-3 bg-gray-200/50;
+ }
+}
#postmd {
@apply font-sans;
h1 {
- @apply font-bios text-5xl mb-1.5 mt-2;
+ @apply first:font-bios first:text-5xl text-4xl mb-1.5 mt-2;
}
h2 {
@apply my-1.5 text-2xl;
@@ -37,17 +47,50 @@
h4 {
@apply my-1 text-lg;
}
- h1,h2,h3,h4,h5 {
- @apply relative;
- &::before {
+ h1,h2,h3,h4,h5,h6,p {
+ @apply relative text-white/90 hover:text-white;
+ &::after {
content: "";
- @apply absolute top-[20%] left-0 h-[60%] w-1 -ml-3 rounded-full transition-all bg-gray-200/0;
+ @apply absolute top-[20%] left-0 h-[60%] w-0.5 -ml-4 rounded-full transition-all;
+ }
+ &:is(p)::after {
+ @apply bg-gray-200/5;
+ }
+ &:not(:is(p))::after {
+ @apply bg-gray-200/15;
+ }
+ &:hover::after {
+ @apply -ml-3 bg-gray-200/75;
+ }
+ }
+ h1 {
+ &:not(:hover):has(~*:hover):not(:has(~h1~*:hover)) {
+ @apply internal-header-active;
+ }
+ }
+ h2 {
+ &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover)) {
+ @apply internal-header-active;
+ }
+ }
+ h3 {
+ &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover,~h3~*:hover)) {
+ @apply internal-header-active;
}
- &:hover::before,
- &:has(+p:hover)::before {
- @apply -ml-2 bg-gray-200;
+ }
+ h4 {
+ &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover,~h3~*:hover,~h4~*:hover)) {
+ @apply internal-header-active;
}
}
+ h5,h6,p {
+ &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover,~h3~*:hover,~h4~*:hover,~h5~*:hover)) {
+ @apply internal-header-active;
+ }
+ }
+ p::after {
+ @apply h-[90%] top-[5%];
+ }
p {
@apply my-1;
}