summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-02-01 10:52:49 +0000
committeryo momma <shutup@oops.wtf>2026-02-01 10:52:49 +0000
commit155e9aaa76aad66185c6a20c18a3b8586561f9fb (patch)
treed92b94b883dcfec6c9adac30277b7d6409057fe3
parentfff745efe30e767118c5c28a6feddc14d15c7e19 (diff)
Refactor: remove remaining inline styles
-rwxr-xr-xstatic/css/dump.css7
-rwxr-xr-xstatic/css/index.css9
-rwxr-xr-xtemplate/banner.old.st2
-rwxr-xr-xtemplate/banner_dis.st8
-rwxr-xr-xtemplate/footer.st4
-rwxr-xr-xtemplate/frontpage copy.st8
-rwxr-xr-xtemplate/frontpage.st26
-rwxr-xr-xtemplate/frontpage_halloffame.st26
-rwxr-xr-xtemplate/profile.st14
-rwxr-xr-xtemplate/simplerlog.st2
-rwxr-xr-xtemplate/test.st3
11 files changed, 61 insertions, 48 deletions
diff --git a/static/css/dump.css b/static/css/dump.css
index 60eb75f..cab2bfe 100755
--- a/static/css/dump.css
+++ b/static/css/dump.css
@@ -2158,6 +2158,13 @@ a.msgbtn:active {
width: 100px;
height: 21px;
}
+
+.fb-like-wide {
+ border: none;
+ overflow: hidden;
+ width: 500px;
+ height: 26px;
+}
#logo {
float: left;
margin: 1px;
diff --git a/static/css/index.css b/static/css/index.css
index 01bce1d..a8549c8 100755
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -64,6 +64,13 @@ body {
background-position:top;
}
+.no-underline {
+ text-decoration: none;
+}
+.no-underline:hover {
+ text-decoration: none;
+}
+
#video{
display:none;
}
@@ -436,4 +443,4 @@ z-index:-1;
#register-spinner {
display: none;
-} \ No newline at end of file
+}
diff --git a/template/banner.old.st b/template/banner.old.st
index 8e1a77e..09ad520 100755
--- a/template/banner.old.st
+++ b/template/banner.old.st
@@ -67,7 +67,7 @@
$if(user_nick)$
<!-- <div id="facebooklike">
- <iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149%3Fref%3Dts&amp;layout=button_count&amp;show_faces=true&amp;width=100&amp;action=like&amp;font=segoe+ui&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
+ <iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149%3Fref%3Dts&amp;layout=button_count&amp;show_faces=true&amp;width=100&amp;action=like&amp;font=segoe+ui&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" allowTransparency="true" id="fblike"></iframe>
</div> -->
diff --git a/template/banner_dis.st b/template/banner_dis.st
index b0d96a5..8a399af 100755
--- a/template/banner_dis.st
+++ b/template/banner_dis.st
@@ -41,10 +41,10 @@ $endif$
</div>
- $if(user_nick)$
- <!-- <div id="facebooklike">
- <iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149%3Fref%3Dts&amp;layout=button_count&amp;show_faces=true&amp;width=100&amp;action=like&amp;font=segoe+ui&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
- </div> ---!>
+ $if(user_nick)$
+ <!-- <div id="facebooklike">
+ <iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149%3Fref%3Dts&amp;layout=button_count&amp;show_faces=true&amp;width=100&amp;action=like&amp;font=segoe+ui&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" allowTransparency="true" id="fblike"></iframe>
+ </div> ---!>
<div id="dissearchbox">
<input type="text" name="search-query" id="search-query" />
diff --git a/template/footer.st b/template/footer.st
index a2f4bac..13b6271 100755
--- a/template/footer.st
+++ b/template/footer.st
@@ -1,7 +1,7 @@
<a href="/">dump.fm</a>
-<!--<a href="/about_us" style="word-spacing: normal">About Us</a>
-<a href="/help" style="word-spacing: normal">Help FAQ</a>
+<!--<a href="/about_us">About Us</a>
+<a href="/help">Help FAQ</a>
<a href="/terms">Terms</a>-->
$google_analytics()$
$debug_log()$
diff --git a/template/frontpage copy.st b/template/frontpage copy.st
index 641f931..2cd3d0c 100755
--- a/template/frontpage copy.st
+++ b/template/frontpage copy.st
@@ -59,10 +59,10 @@ jQuery(window).load(function(){
</head>
<body onload="refreshing()" class="$if(logged_in)$logged-in$else$logged-out$endif$">
-
- <!--
- <iframe src="$domain$/fullscreen"style="overflow:hidden;width:100%;height:100%;border:0px;z-index:-1;position:fixed;top:0px;left:0px;"></iframe>
- -->
+
+ <!--
+ <iframe src="$domain$/fullscreen" class="fullscreen-bg"></iframe>
+ -->
<!--START BANNER-->
<div id="banner">
diff --git a/template/frontpage.st b/template/frontpage.st
index bf8ce22..efb433c 100755
--- a/template/frontpage.st
+++ b/template/frontpage.st
@@ -59,10 +59,10 @@ jQuery(window).load(function(){
</head>
<body onload="refreshing()" class="$if(logged_in)$logged-in$else$logged-out$endif$">
-
- <!--
- <iframe src="$domain$/fullscreen"style="overflow:hidden;width:100%;height:100%;border:0px;z-index:-1;position:fixed;top:0px;left:0px;"></iframe>
- -->
+
+ <!--
+ <iframe src="$domain$/fullscreen" class="fullscreen-bg"></iframe>
+ -->
<!--START BANNER-->
<div id="banner">
@@ -141,13 +141,13 @@ jQuery(window).load(function(){
<div class="alttxt">
dump.fm is an elite real-time image chat community. we host more than 1,500,000 images.
- register <a href="/register">here.</a>
- <br>view the dump.fm feed in <a href="/fullscreen">fullscreen. :)</a>
- <!-- <br> <br> <iframe src="$domain$/fullscreen" style="overflow:hidden;width:240px;height:200px;border:0px;"></iframe>
- <br><br>
- <strong>
- <a href="$domain$/login" class="signin">sign in</a></strong>or <strong><a href="$domain$/register">register</a>
- </strong>-->
+ register <a href="/register">here.</a>
+ <br>view the dump.fm feed in <a href="/fullscreen">fullscreen. :)</a>
+ <!-- <br> <br> <iframe src="$domain$/fullscreen" class="fullscreen-thumb"></iframe>
+ <br><br>
+ <strong>
+ <a href="$domain$/login" class="signin">sign in</a></strong>or <strong><a href="$domain$/register">register</a>
+ </strong>-->
</div>
$endif$
</div>
@@ -174,8 +174,8 @@ $endif$
<!--<br><br><center>
<div id="footer">
@2011 <a href="/">dump.fm</a>
-<a href="$domain$/about_us" style="word-spacing: normal">About Us</a>
-<a href="$domain$/help" style="word-spacing: normal">Help FAQ</a>
+<a href="$domain$/about_us">About Us</a>
+<a href="$domain$/help">Help FAQ</a>
<a href="$domain$/terms">Terms</a>
<a href="$domain$/privacy">Privacy</a>
</div></center>
diff --git a/template/frontpage_halloffame.st b/template/frontpage_halloffame.st
index e8cea25..e0de329 100755
--- a/template/frontpage_halloffame.st
+++ b/template/frontpage_halloffame.st
@@ -59,10 +59,10 @@ jQuery(window).load(function(){
</head>
<body onload="refreshing()" class="$if(logged_in)$logged-in$else$logged-out$endif$">
-
- <!--
- <iframe src="$domain$/fullscreen"style="overflow:hidden;width:100%;height:100%;border:0px;z-index:-1;position:fixed;top:0px;left:0px;"></iframe>
- -->
+
+ <!--
+ <iframe src="$domain$/fullscreen" class="fullscreen-bg"></iframe>
+ -->
<!--START BANNER-->
<div id="banner">
@@ -139,13 +139,13 @@ jQuery(window).load(function(){
<div class="alttxt">
dump.fm is an elite real-time image chat community. we host more than 1,500,000 images.
- register <a href="/register">here.</a>
- <br>view the dump.fm feed in <a href="/fullscreen">fullscreen. :)</a>
- <!-- <br> <br> <iframe src="$domain$/fullscreen" style="overflow:hidden;width:240px;height:200px;border:0px;"></iframe>
- <br><br>
- <strong>
- <a href="$domain$/login" class="signin">sign in</a></strong>or <strong><a href="$domain$/register">register</a>
- </strong>-->
+ register <a href="/register">here.</a>
+ <br>view the dump.fm feed in <a href="/fullscreen">fullscreen. :)</a>
+ <!-- <br> <br> <iframe src="$domain$/fullscreen" class="fullscreen-thumb"></iframe>
+ <br><br>
+ <strong>
+ <a href="$domain$/login" class="signin">sign in</a></strong>or <strong><a href="$domain$/register">register</a>
+ </strong>-->
</div>
$endif$
</div>
@@ -172,8 +172,8 @@ $endif$
<!--<br><br><center>
<div id="footer">
@2011 <a href="/">dump.fm</a>
-<a href="$domain$/about_us" style="word-spacing: normal">About Us</a>
-<a href="$domain$/help" style="word-spacing: normal">Help FAQ</a>
+<a href="$domain$/about_us">About Us</a>
+<a href="$domain$/help">Help FAQ</a>
<a href="$domain$/terms">Terms</a>
<a href="$domain$/privacy">Privacy</a>
</div></center>
diff --git a/template/profile.st b/template/profile.st
index ab72dcd..d416c1c 100755
--- a/template/profile.st
+++ b/template/profile.st
@@ -106,16 +106,16 @@ jQuery(document).ready(function() {
<a href="/$nick$/log"><div id="favstxt">$if(is_home)$ your $else$ $nick$'s$endif$ most recent dumps</div></a>
<div id="mostrecentdumps">
$imgs: { img | <a target="_blank" href="$img$"><img src="$img$"></img></a> }$
- </div>
- <div id="likebutton">
+ </div>
+ <div id="likebutton">
<!--
- <iframe src="https://www.facebook.com/widgets/like.php?href=/$nick$"
- scrolling="no" frameborder="0"
- style="border:none; width:500px; height:26px"></iframe>
+ <iframe src="https://www.facebook.com/widgets/like.php?href=/$nick$"
+ scrolling="no" frameborder="0"
+ class="fb-like-wide"></iframe>
-->
- </div>
+ </div>
- </div>
+ </div>
<a href="#"class="msgbtn" id="msgbtn">messages!</a>
diff --git a/template/simplerlog.st b/template/simplerlog.st
index c69d244..7e68473 100755
--- a/template/simplerlog.st
+++ b/template/simplerlog.st
@@ -65,7 +65,7 @@ jQuery(window).load(function(){
<body>
<!--
- <iframe src="/fullscreen"style="overflow:hidden;width:100%;height:100%;border:0px;z-index:-1;position:fixed;top:0px;left:0px;"></iframe>
+ <iframe src="/fullscreen" class="fullscreen-bg"></iframe>
-->
<!--START BANNER-->
diff --git a/template/test.st b/template/test.st
index fc7dbbc..62c4335 100755
--- a/template/test.st
+++ b/template/test.st
@@ -32,7 +32,7 @@ $(document).ready(initLoginForm);
<div align="right" class="txt">
<br>
<div align="center">dump.fm lets you talk with pictures<br>
- <a href="/register" style="text-decoration:none;">Click here to Register!</a> <br>
+ <a href="/register" class="no-underline">Click here to Register!</a> <br>
</div>
</div>
</div>
@@ -81,4 +81,3 @@ $(document).ready(initLoginForm);
} catch(err) {}
</script>
</body>
-