summaryrefslogtreecommitdiff
path: root/static/style.css
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-09-08 16:25:57 +0600
committerunwox <me@unwox.com>2025-09-08 16:25:57 +0600
commitbe21204a328b1d67924f273687e9a4797bb3cd37 (patch)
tree8834aea21f01a49460dd3c0626104516ed7658b7 /static/style.css
parent5026f6e51f983dd05fec806ee84494d3b488f742 (diff)
fix logo bg
Diffstat (limited to 'static/style.css')
-rw-r--r--static/style.css13
1 files changed, 11 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css
index 8f06a61..9beeaf5 100644
--- a/static/style.css
+++ b/static/style.css
@@ -146,6 +146,11 @@ nav a.active {
gap: 0.5rem 2rem;
}
+@keyframes logo-rotation {
+ from { transform: rotate(0); }
+ to { transform: rotate(360deg); }
+}
+
.logo {
height: 95px;
position: relative;
@@ -165,14 +170,18 @@ nav a.active {
font-weight: 900;
}
-.logo-bg {
+.logo::before {
+ animation: infinite logo-rotation 120s;
+ background-image: url("/static/logo-bg.png");
+ background-repeat: no-repeat;
+ background-size: cover;
position: absolute;
+ content: "";
left: -50px;
top: -58px;
z-index: -1;
width: 215px;
height: 215px;
- object-fit: cover;
}
.logo-glasses {