User:M0rphzone/Sidebar removal

From Minecraft Wiki
Jump to: navigation, search

If you have an account,
click this link and put the following two lines in that page:

div#curse-panel {display:none;}
div#bodyContent2 {margin-right:20px;}



Other options:

If you find that your editing or reading efficiency is negatively affected by the Curse side bar, don't want it to block images you view, or feel that it squishes the article content too much (or you just think it's an eyesore), you can hide it using external tools/extensions for your browser, or use a custom CSS script (copy to your own css page) if you have a wiki account.



Alternate message box:

If you would like to remove the sidebar, copy the code from here, paste it into your vector.css page and save. You may need to wait up to half an hour or clear your browser cache and refresh for this to work.

Alternately, follow the instructions at User:Kaydeethree/Sidebar removal. The fixes linked there work whether or not you are logged in, since they use external solutions.


Additional CSS code[edit]

//cursepanel remover
#curse-panel {display:none;}
div#bodyContent2 {margin-right:90px !important;}

//removes top bar "become premium member"
div#netbar.t-netbar {display:none;}
body.mediawiki.ltr.site-minecraftwiki { margin-top:0px; }

//removes big curse banners
div.atflb, div.btflb {display:none;}


//red flashing animation for optionally hidden side links
@keyframes flashingred
{
0%	{background-color:black;}
40%	{background-color:black;}
70%	{background-color:#600;}
100%	{background-color:black;}
}
@-moz-keyframes flashingred
{
0%	{background-color:black;}
40%	{background-color:black;}
70%	{background-color:#600;}
100%	{background-color:black;}
}
@-webkit-keyframes flashingred
{
0%	{background-color:black;}
40%	{background-color:black;}
70%	{background-color:#600;}
100%	{background-color:black;}
}
@-o-keyframes flashingred
{
0%	{background-color:black;}
40%	{background-color:black;}
70%	{background-color:#600;}
100%	{background-color:black;}
}

//makes links on left hover hided (uses above animation)
div#content {position:absolute; left:-140px;}
div#mw-panel.noprint 
{
  background-color:black;
  left:-140px;
animation:flashingred 5s infinite;
-moz-animation:flashingred 5s infinite;
-webkit-animation:flashingred 5s infinite;
-o-animation:flashingred 5s infinite;
}
div#mw-panel.noprint:hover {background-color:black !important; left:0px;}
div#p-logo {background-color:rgba(0,0,0,0.2)}