summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-01-28 20:44:27 +0000
committeryo momma <shutup@oops.wtf>2026-01-28 20:44:27 +0000
commite620f19487c5dd8bf2c072c0dc18e04ed601d08e (patch)
treed28491c1bef82cdfde17afcd85eb1ca6e4386f14 /static
parenta5edfe0ab3e0c9fa1aa1d0580b58ee5715f557b1 (diff)
Refactor: move login menu CSS to static stylesheet
- Add /static/css/front.css to templates\n- Remove duplicated #login-container/#signin_menu CSS blocks from templates\n- Normalize front.css positioning for the login menu
Diffstat (limited to 'static')
-rwxr-xr-xstatic/css/front.css14
-rwxr-xr-xstatic/form_login/front.css14
2 files changed, 16 insertions, 12 deletions
diff --git a/static/css/front.css b/static/css/front.css
index ce10851..ef0ee70 100755
--- a/static/css/front.css
+++ b/static/css/front.css
@@ -2,11 +2,11 @@
float: right;
/*width:780px;
margin:0 auto;*/
-right:3;
+right:7px;
color:#fff;
- position: relative;
-top:8px;
-z-index:20000000;
+ position: fixed;
+top:4px;
+ z-index:20000000;
}
@@ -90,7 +90,9 @@ a.signin.menu-open span {cursor:pointer;
margin-right: 0px;
*margin-right: -1px;
color:#789;
- font-size:11px; box-shadow: 3px 2px 2px #ccc;
+ font-size:11px;
+ line-height:12px;
+ box-shadow: 3px 2px 2px #ccc;
-webkit-box-shadow: 3px 2px 2px #ccc;
z-index:50000000;
-moz-box-shadow: 3px 2px 2px #ccc;
@@ -156,4 +158,4 @@ border:0;
}
.no-cursor { cursor: none; }
.invisible { display: none !important; }
-#cursor-big { position: absolute; z-index: 1000; } \ No newline at end of file
+#cursor-big { position: absolute; z-index: 1000; }
diff --git a/static/form_login/front.css b/static/form_login/front.css
index b043035..ef0ee70 100755
--- a/static/form_login/front.css
+++ b/static/form_login/front.css
@@ -2,11 +2,11 @@
float: right;
/*width:780px;
margin:0 auto;*/
-right:3;
+right:7px;
color:#fff;
- position: relative;
-top:10px;
-z-index:20000000;
+ position: fixed;
+top:4px;
+ z-index:20000000;
}
@@ -90,7 +90,9 @@ a.signin.menu-open span {cursor:pointer;
margin-right: 0px;
*margin-right: -1px;
color:#789;
- font-size:11px; box-shadow: 3px 2px 2px #ccc;
+ font-size:11px;
+ line-height:12px;
+ box-shadow: 3px 2px 2px #ccc;
-webkit-box-shadow: 3px 2px 2px #ccc;
z-index:50000000;
-moz-box-shadow: 3px 2px 2px #ccc;
@@ -156,4 +158,4 @@ border:0;
}
.no-cursor { cursor: none; }
.invisible { display: none !important; }
-#cursor-big { position: absolute; z-index: 1000; } \ No newline at end of file
+#cursor-big { position: absolute; z-index: 1000; }