mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 03:56:19 +02:00
docs: add theme-color-schemes guide
- remove 95% width restriction - adjust the transparency of the buttons - update tag formatting for posts - update the offset of the underline for links
This commit is contained in:
parent
8ad2315d08
commit
3da5b38407
50 changed files with 1094 additions and 246 deletions
|
@ -1,7 +1,7 @@
|
|||
<button
|
||||
id="back-button"
|
||||
class="hidden"
|
||||
lg="block absolute c-secondary/25 left--10 top-1/2 aspect-square w-4.5 translate-y--1/2 transition-colors ease-out c-secondary active:scale-90 hover:c-primary/60"
|
||||
lg="block absolute c-secondary/40 left--10 top-1/2 aspect-square w-4.5 translate-y--1/2 transition-colors ease-out c-secondary active:scale-90 hover:c-primary/80"
|
||||
aria-label="Back to home"
|
||||
>
|
||||
<svg
|
||||
|
|
|
@ -32,7 +32,7 @@ const filteredHeadings = headings.filter(heading =>
|
|||
<div class="relative h-12 w-full bg-transparent">
|
||||
<label
|
||||
for="toc-toggle"
|
||||
class="absolute inset-0 flex cursor-pointer items-center 2xl:(static h-max w-max flex c-secondary/25 transition-colors ease-out hover:c-secondary/60)"
|
||||
class="absolute inset-0 flex cursor-pointer items-center 2xl:(static h-max w-max flex c-secondary/40 transition-colors ease-out hover:c-secondary/80)"
|
||||
>
|
||||
<span class="toc-title">
|
||||
{currentUI.toc}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue