Browse Source

Update style

Visman 1 year ago
parent
commit
9ce0e18f1d
2 changed files with 16 additions and 0 deletions
  1. 8 0
      public/style/ForkBB/sccontent.css
  2. 8 0
      public/style/ForkBB/style.css

+ 8 - 0
public/style/ForkBB/sccontent.css

@@ -32,6 +32,8 @@
   --bg-bbcode: hsl(220, 5%, 16%);
   --br-bbcode: hsl(0, 0%, 75%);
   --bg-poll-res: hsl(50, 100%, 50%);
+  --c-sel: hsl(0, 0%, 0%);
+  --bg-sel: hsl(0, 0%, 60%);
 }
 
 html,
@@ -302,3 +304,9 @@ img:not(:last-child),
 details:not(:last-child) {
   margin-bottom: 0.5rem;
 }
+
+::selection {
+  /*color: var(--c-sel);*/
+  background-color: var(--bg-sel);
+  text-shadow: -0.0625rem 0 0 var(--c-sel), 0.0625rem 0 0 var(--c-sel), 0 -0.0625rem 0 var(--c-sel), 0 0.0625rem 0 var(--c-sel);
+}

+ 8 - 0
public/style/ForkBB/style.css

@@ -32,6 +32,8 @@
   --bg-bbcode: hsl(220, 5%, 16%);
   --br-bbcode: hsl(0, 0%, 75%);
   --bg-poll-res: hsl(50, 100%, 50%);
+  --c-sel: hsl(0, 0%, 0%);
+  --bg-sel: hsl(0, 0%, 60%);
 }
 
 /*******************/
@@ -177,6 +179,12 @@ body,
   outline-style: none;
 }
 
+#fork ::selection {
+  /*color: var(--c-sel);*/
+  background-color: var(--bg-sel);
+  text-shadow: -0.0625rem 0 0 var(--c-sel), 0.0625rem 0 0 var(--c-sel), 0 -0.0625rem 0 var(--c-sel), 0 0.0625rem 0 var(--c-sel);
+}
+
 #fork b,
 #fork strong {
   font-weight: bold;