summaryrefslogtreecommitdiff
path: root/static/style.css
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-11-25 22:28:15 +0600
committerunwox <me@unwox.com>2025-12-15 11:26:39 +0600
commit3fac776752322761404cd6150eacfc3ac0cf5e72 (patch)
treec19874440fe87cada559af5c2572b98a5ff5b907 /static/style.css
parent4edb2d7d0f9b5d1ff730599d07e99aabb7f4b39c (diff)
small navigation improvements
Diffstat (limited to 'static/style.css')
-rw-r--r--static/style.css29
1 files changed, 26 insertions, 3 deletions
diff --git a/static/style.css b/static/style.css
index 00d4bf2..869b0bc 100644
--- a/static/style.css
+++ b/static/style.css
@@ -142,7 +142,6 @@ nav a.active {
.container {
display: flex;
- flex-wrap: wrap;
gap: 2rem;
}
@@ -174,7 +173,7 @@ nav a.active {
margin-bottom: -0.25rem;
}
-.logo::before {
+.logo-bg::before {
animation: infinite linear logo-rotation 120s;
background-image: url("/static/logo-bg.png");
background-repeat: no-repeat;
@@ -188,6 +187,21 @@ nav a.active {
height: 215px;
}
+.logo-bg2::before {
+ /* animation: linear both logo-rotation 20s; */
+ background-image: url("/static/logo-bg2.png");
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: cover;
+ position: absolute;
+ content: "";
+ left: calc(50% - 108px);
+ top: -30px;
+ z-index: -1;
+ width: 215px;
+ height: 155px;
+}
+
.logo-glasses {
position: absolute;
top: 10px;
@@ -374,6 +388,11 @@ h2[id=content] {
margin-top: -1.5rem;
}
+.product-page-layout #content {
+ position: absolute;
+ top: -1.5rem;
+}
+
.product-page-layout {
display: flex;
gap: 0 2rem;
@@ -638,7 +657,7 @@ select {
margin-right: 0.5rem !important;
}
-@media screen and (max-width: 50rem) {
+@media screen and (max-width: 70rem) {
body {
margin: 2rem;
}
@@ -647,6 +666,10 @@ select {
max-width: 100%;
}
+ .container {
+ flex-wrap: wrap;
+ }
+
.content h2 {
font-size: 2.5rem;
}