Commit 9785132

HPCesia <me@hpcesia.com>
2026-03-05 09:11:53
More concise code block style
1 parent cc23f41
Changed files (1)
src
styles
article
src/styles/article/raw.css
@@ -1,11 +1,10 @@
 code.hypraw {
-  @apply px-[0.3em] py-0 rounded;
-  @apply bg-neutral-200 dark:bg-neutral-800; /* TODO: Replace with theme color */
+  @apply px-[0.3em] py-0;
 }
 
 div.hypraw {
-  @apply relative rounded text-sm lg:text-base;
-  @apply bg-neutral-200 dark:bg-neutral-800; /* TODO: Replace with theme color */
+  @apply relative text-sm lg:text-base;
+  @apply border-y;
 
   pre {
     @apply m-0 overflow-x-auto;
@@ -16,7 +15,6 @@ div.hypraw {
       &::before {
         @apply absolute top-2 right-2 z-1;
         @apply px-1 rounded border opacity-100 text-xs lg:text-sm;
-        @apply bg-neutral-300 dark:bg-neutral-700 border-neutral-500;
         @apply text-neutral-600 dark:text-neutral-400;
         content: attr(data-lang);
         transition: opacity 0.2s;