1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-30 20:47:46 +00:00

cube: add underline to text that looks confusing when upside down

This commit is contained in:
RGBCube 2025-06-08 15:54:55 +03:00
parent 9d0ebe5eb6
commit 21ac6f2b85
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -25,12 +25,14 @@ prevent_zoom: true
nuclear
` }}
{{> const underline = `underline decoration-4 decoration-black underline-offset-9` }}
{{ set cube_face_front }}
<a draggable="false" class="{{ style }}" href="/about/">about</a>
{{ /set }}
{{ set cube_face_back }}
<a draggable="false" class="{{ style }}" href="/dump/">dump</a>
<a draggable="false" class="{{ style }} {{ underline }}" href="/dump/">dump</a>
{{ /set }}
{{ set cube_face_top }}
@ -42,7 +44,7 @@ prevent_zoom: true
{{ /set }}
{{ set cube_face_left }}
<a draggable="false" class="{{ style }}" href="/blog/">blog</a>
<a draggable="false" class="{{ style }} {{ underline }}" href="/blog/">blog</a>
{{ /set }}
{{ set cube_face_bottom }}