Jump to content

User:GeorgeMoney/UsefulCSS

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by GeorgeMoney (talk | contribs) at 07:12, 31 May 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Hi! This is a list of things that are useful to put in your (monobook).css .


Also, feel free to add useful stuff yourself!



Don't display "From Wikipedia, the free encyclopedia"

#siteSub {
    display: none;
#ca-edit a { font-weight: normal !important;}

Remove the "Move" tab. (Note: Leaves a small little space there that is not very big)

#ca-move a { display: none }
#footer {display: none;}
li#f-copyright,
li#f-lastmod,
#editpage-copywarn { display: none; }
#editpage-copywarn2 {display: none;}

Hide "Special Characters" Box

#editpage-specialchars {display: none;}

Put scrollbar on <pre> sections

pre {overflow: auto;}

Put scrollbar on solid borders

pre {border: 1px solid #aaa;}

Gray border for "Categories" box

#catlinks {padding:0 5px 0 5px; margin-top:0.5em; -moz-border-radius:.5em; border:1px solid #CDCDCD; clear:both;}

Make some borders round. (Only works on mozilla-based browsers)

#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em;
}
#content { 
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
}
div.pBody {
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}

Remove the logout button

li#pt-logout { display: none; }

Remove that annoying little person icon by your username

li#pt-userpage { background: none }

New Messgages Bar

Remove it

.usermessage {
   Display: none;
}

Make it look nicer and not the "Orange Bar of Death"

.usermessage {

   background-color: #dcdcdc;
   border: 1px solid #7b68ee;
   color: #696969;
   font-weight: bold;
   margin: 2em 0em 1em 0em;
   padding: 0.5em 1em;
   vertical-align: middle;
}

Make it plain text

.usermessage {

   background-color: transparent;
   border: none;
   color: #696969;
   font-weight: bold;
}

Make it Clear and Float on the right

.usermessage {

   background-color: transparent;
   border: blue;
   color: #696969;
   font-weight: normal;
   font-size:1;
   margin: 2em 0em 1em 0em;
   padding: 0.5em 1em;
   vertical-align: middle;
   position: fixed;
   left:900px;
   right:20px;
   top:100px; 
   display:block;

Voting

Have Voting Colors. To use, use <span class=votesupport> I support this user! </span>


.votesupport {

  background-color: lightgreen;
  color: Black;

}

.voteoppose {

  background-color: red;
  color: Black;

}

.votekeep {

  background-color: lightblue;
  color: Black;

}


.votedelete {

  background-color: red;
  color: Black;

}

.rfacomment {

  background-color: orange;
  color: Black;

}

.commentimportant {

  background-color: red;
  color: Black;

}

.commentmediumpriority {

  background-color: yellow;
  color: Black;

}

.commentlowpriority {

  background-color: lightgreen;
  color: Black;

}

If you want the same thing as above, except with curved borders

.votesupport {

  background-color: lightgreen;
  color: Black;
  border:1px solid green;
  display:inline;
  -moz-border-radius:20px;
  padding:0px 5px 3px 5px;

}


.voteoppose {

  background-color: red;
  color: Black;
  border:1px solid green;
  display:inline;
  -moz-border-radius:20px;
  padding:0px 5px 3px 5px;

}

.votekeep {

  background-color: lightblue;
  color: Black;
  border:1px solid green;
  display:inline;
  -moz-border-radius:20px;
  padding:0px 5px 3px 5px;

}


.votedelete {

  background-color: red;
  color: Black;
  border:1px solid green;
  display:inline;
  -moz-border-radius:20px;
  padding:0px 5px 3px 5px;

}


.rfacomment {

  background-color: orange;
  color: Black;
  border:1px solid green;
  display:inline;
  -moz-border-radius:20px;
  padding:0px 5px 3px 5px;

}

.commentimportant {

  background-color: red;
  color: Black;
  border:1px solid green;
  display:inline;
  -moz-border-radius:20px;
  padding:0px 5px 3px 5px;

}


.commentmediumpriority {

  background-color: yellow;
  color: Black;
  border:1px solid green;
  display:inline;
  -moz-border-radius:20px;
  padding:0px 5px 3px 5px;

}


.commentlowpriority {

  background-color: lightgreen;
  color: Black;
  border:1px solid green;
  display:inline;
  -moz-border-radius:20px;
  padding:0px 5px 3px 5px;

}

This is if you want to keep track of your own comments. Use <span class=YOURUSERNAMEcomment>Hi! I'm Bob!</span>

.YOURUSERNAMEcomment {

  background-color: red;