Last active
January 31, 2016 21:57
-
-
Save meisekimiu/11329d23773f297f9810 to your computer and use it in GitHub Desktop.
Viva La Resolution 4All
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This script only works on viewtopic.php | |
//It doesn't work on the forum index | |
(function() { | |
document.getElementById("main").style.width = "65%"; | |
document.getElementById("content").style.width = "90%"; | |
var bar_1 = document.getElementsByClassName("bar"); | |
for(var i = 0; i < bar_1.length; i++) { | |
bar_1[i].style = "background-color: #D4DFE7; background-image: none; height: 33px; border-radius: 5px; width: 100%;"; | |
} | |
var bar_2 = document.getElementsByClassName("bar2"); | |
for(var i = 0; i < bar_2.length; i++) { | |
bar_2[i].style = "background-color: #D4DFE7; background-image: none; height: 33px; border-radius: 5px; width: 100%;"; | |
} | |
document.getElementById("footer2").style.marginTop = "100px"; //Hacky fix to make the footer look less bad | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment