From fff745efe30e767118c5c28a6feddc14d15c7e19 Mon Sep 17 00:00:00 2001 From: yo momma Date: Sat, 31 Jan 2026 18:36:38 +0000 Subject: Refactor: reduce inline styles (profiles/banners/IE) --- static/css/dump.css | 18 ++++++++++++++++ static/css/error_ie.css | 6 ++++++ static/css/profile_dashboard.css | 5 +++++ template/banner.old.st | 44 ++++++++++++++++++++-------------------- template/banner_dis.st | 14 ++++++------- template/error_ie.st | 25 +++++++++++++++-------- template/google_analytics.st | 2 +- template/head.st | 2 +- template/head_edge.st | 2 +- template/nigga.st | 28 ++++++++++++------------- template/profile.st | 4 ++-- template/profilenew.st | 4 ++-- template/rooms/butt.st | 2 +- 13 files changed, 97 insertions(+), 59 deletions(-) create mode 100644 static/css/error_ie.css diff --git a/static/css/dump.css b/static/css/dump.css index 0a5ced2..60eb75f 100755 --- a/static/css/dump.css +++ b/static/css/dump.css @@ -1051,6 +1051,10 @@ a:active { position: relative; } +.float-left { + float: left; +} + .content-no-padding { padding: 0; } @@ -1059,6 +1063,20 @@ a:active { padding: 2px; } +.dash-total { + width: 100%; + height: 100%; + z-index: -1; +} + +.dash-total--avatar { + opacity: 0.1; +} + +.dash-total--stripes { + background-image: url(/static/img/thumbs/stripes.gif); +} + .bg-white { background-color: #fff; } diff --git a/static/css/error_ie.css b/static/css/error_ie.css new file mode 100644 index 0000000..cfdeabb --- /dev/null +++ b/static/css/error_ie.css @@ -0,0 +1,6 @@ +#iesucks { + margin: 10%; + font-size: 15px; + font-family: Arial, sans serif; + color: black; +} diff --git a/static/css/profile_dashboard.css b/static/css/profile_dashboard.css index 4790ccb..03bc3c7 100644 --- a/static/css/profile_dashboard.css +++ b/static/css/profile_dashboard.css @@ -91,6 +91,11 @@ margin-top:50px; } +.dashavatar-bg{ +height:100px; +width:100%; +} + #dashpix{ top:0px; float:right; diff --git a/template/banner.old.st b/template/banner.old.st index 4cc706e..8e1a77e 100755 --- a/template/banner.old.st +++ b/template/banner.old.st @@ -1,21 +1,21 @@
-
-
-
-
- - -
-
-
- $if(!user_nick)$ -
- $else$ -
- $endif$ -
-
- $if(user_nick)$ +
+
+
+
+ + +
+
+
+ $if(!user_nick)$ +
+ $else$ +
+ $endif$ +
+
+ $if(user_nick)$ @@ -109,11 +109,11 @@ -
- +
+
+ + close +
diff --git a/template/banner_dis.st b/template/banner_dis.st index f55fbbe..b0d96a5 100755 --- a/template/banner_dis.st +++ b/template/banner_dis.st @@ -12,15 +12,15 @@ $endif$
-
-
-
- $if(user_nick)$ +
+
+
+ $if(user_nick)$ diff --git a/template/error_ie.st b/template/error_ie.st index 340c4c3..371559b 100755 --- a/template/error_ie.st +++ b/template/error_ie.st @@ -1,8 +1,17 @@ -
-
- -

-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari ... (possibly Opera) ... sorry dude... -

-
- \ No newline at end of file + + + dump.fm + + + + +
+
+ +

+ WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari ... (possibly Opera) ... sorry dude... +

+
+
+ + diff --git a/template/google_analytics.st b/template/google_analytics.st index 883102a..bfba91f 100755 --- a/template/google_analytics.st +++ b/template/google_analytics.st @@ -12,5 +12,5 @@ qacct:"p-a3mCwIEHECjGE" diff --git a/template/head.st b/template/head.st index 8eaaedf..010f1ce 100755 --- a/template/head.st +++ b/template/head.st @@ -6,7 +6,7 @@ - + - + - -
- $banner()$ + +
+ $banner()$
- - -
- $if(avatar)$ -
- - $else$
- -
- $endif$ + + +
+ $if(avatar)$ +
+ + $else$
+ +
+ $endif$ diff --git a/template/profile.st b/template/profile.st index 527e333..ab72dcd 100755 --- a/template/profile.st +++ b/template/profile.st @@ -38,9 +38,9 @@ jQuery(document).ready(function() { $if(avatar)$ -
+
$else$ -
+
$endif$ $banner()$ diff --git a/template/profilenew.st b/template/profilenew.st index 547c1c6..262bf02 100755 --- a/template/profilenew.st +++ b/template/profilenew.st @@ -32,9 +32,9 @@ jQuery(document).ready(function() { $if(avatar)$ -
+
$else$ -
+
$endif$ $banner()$ diff --git a/template/rooms/butt.st b/template/rooms/butt.st index 6c80511..c3077ed 100755 --- a/template/rooms/butt.st +++ b/template/rooms/butt.st @@ -25,7 +25,7 @@ $endif$ $if(!user_avatar)$ $endif$ - + -- cgit v1.2.3-70-g09d2