diff options
| author | Elis Eriksson <spelis.tech@gmail.com> | 2026-05-27 19:57:56 +0200 |
|---|---|---|
| committer | Elis Eriksson <spelis.tech@gmail.com> | 2026-05-27 19:57:56 +0200 |
| commit | f9200559114d9f2fa61f738b5322b0a5467538b6 (patch) | |
| tree | 3c6a6bd37250a560c67f598c2425a2031b9b307a /assets/css | |
| parent | ae399cf38d26715c4a09b029b849abace3c3f309 (diff) | |
| download | spelis-web-f9200559114d9f2fa61f738b5322b0a5467538b6.tar spelis-web-f9200559114d9f2fa61f738b5322b0a5467538b6.tar.gz spelis-web-f9200559114d9f2fa61f738b5322b0a5467538b6.tar.bz2 spelis-web-f9200559114d9f2fa61f738b5322b0a5467538b6.tar.lz spelis-web-f9200559114d9f2fa61f738b5322b0a5467538b6.tar.xz spelis-web-f9200559114d9f2fa61f738b5322b0a5467538b6.tar.zst spelis-web-f9200559114d9f2fa61f738b5322b0a5467538b6.zip | |
new update or smth idk
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/main.css | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/assets/css/main.css b/assets/css/main.css index a51da84..4e4ab7d 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -11,7 +11,7 @@ a { color: var(--text); --brackets-color: var(--accent); padding: 0.2rem; - clip-path: polygon(0% 0,0% calc(100% - 0.2rem), 0.2rem 100%,100% 100%, 100% 0%); + /* clip-path: polygon(0% 0,0% calc(100% - 0.2rem), 0.2rem 100%,100% 100%, 100% 0%); */ border-radius: 0rem; text-decoration: none; position: relative; @@ -57,14 +57,32 @@ a[target="_blank"]::after { content: "}"; } +.tooltip { + position:relative; + display:inline-block; +} + +.tooltiptext { + visibility: hidden; + color: var(--base); + background: var(--text); + text-align: center; + position: absolute; + z-index: 1; + top: 100%; + left: 50%; + margin-left: -50%; +} +.tooltip:hover .tooltiptext { + visibility: visible; +} a.active, a:focus, a:hover { + background: var(--text); color: var(--base); --brackets-color: var(--base-3); - clip-path: polygon(0% 0,0% calc(100% - 0.4rem), 0.4rem 100%,100% 100%, 100% 0%); - background-color: var(--text); } header { @@ -236,4 +254,4 @@ picture img { display: block; padding: 0.5rem; } -}
\ No newline at end of file +} |
