MediaWiki:Common.css: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
New page: →‎CSS placed here will be applied to all skins: body { font: x-small verdana; background: url(/skins/monobook/robricks.jpg) #6E99C9 0 0 no-repeat; } pre { padding: 1em; bord...
>Mr Doom Bringer
No edit summary
Line 19: Line 19:
         word-wrap: break-word;      /* Internet Explorer 5.5+ */
         word-wrap: break-word;      /* Internet Explorer 5.5+ */
}
}
/**********************************
/***Custom Tables*/
/*ObjectList table*/
table.objectlist {
text-align:left;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
height: 100%;
background-color: #ffdddd;
border-top: solid 2px #ff0000;
border-left: solid 2px #ff0000;
border-bottom: solid 2px #aa0000;
border-right: solid 2px #aa0000;
margin: 6px;
margin-right: 10px;
margin-left: 10px;
clear: none;
padding: 2px;
align: left;
width:98%;
}





Revision as of 19:46, 28 May 2010

/* CSS placed here will be applied to all skins */
body {
    font: x-small verdana;
    background: url(/skins/monobook/robricks.jpg) #6E99C9 0 0 no-repeat;
}

pre {

	padding: 1em;
	border: 1px dashed #0000FF;
	color: black;
	background-color: #f9f9f9;
	line-height: 1.1em;
        font-size:medium;
        white-space: pre-wrap;       /* css-3 */
        white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
        white-space: -pre-wrap;      /* Opera 4-6 */
        white-space: -o-pre-wrap;    /* Opera 7 */
        word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/**********************************
/***Custom Tables*/

/*ObjectList table*/
table.objectlist {

	 text-align:left;
	 -webkit-border-radius: 3px;
	 -moz-border-radius: 3px;
	 height: 100%;
	 background-color: #ffdddd;
	 border-top: solid 2px #ff0000;
	 border-left: solid 2px #ff0000;
	 border-bottom: solid 2px #aa0000;
	 border-right: solid 2px #aa0000;
	 margin: 6px;
	 margin-right: 10px;
	 margin-left: 10px;
	 clear: none;
	 padding: 2px;
	 align: left;
	 width:98%;
	 
}



/** Tabbed system *************************************
/*--------------------------------------------------
  REQUIRED to hide the non-active tab content.
  But do not hide them in the print stylesheet!
  --------------------------------------------------*/
.tabberlive .tabbertabhide {
 display:none;
}

/*--------------------------------------------------
  .tabber = before the tabber interface is set up
  .tabberlive = after the tabber interface is set up
  --------------------------------------------------*/
.tabber {
}
.tabberlive {
 margin-top:1em;
}

/*--------------------------------------------------
  ul.tabbernav = the tab navigation list
  li.tabberactive = the active tab
  --------------------------------------------------*/
ul.tabbernav
{
 margin:0;
 padding: 3px 0;
 border-bottom: 2px solid #aa0000;
 font: bold 15px Verdana, sans-serif;
}

ul.tabbernav li
{
 list-style: none;
 margin: 0;
 display: inline;
}

ul.tabbernav li a
{
 -webkit-border-top-right-radius: 10px;
 -webkit-border-top-left-radius: 10px;
 -moz-border-radius-topleft: 10px;
 -moz-border-radius-topright: 10px;
 padding: 3px 0.5em;
 margin-left: 3px;
 border: 1px solid #778;
 border-bottom: none;
 background: #c3d6ea;
 text-decoration: none;
}

ul.tabbernav li a:link { color: #000; }
ul.tabbernav li a:visited { color: #000; }

ul.tabbernav li a:hover
{
 color: #000;
 background: #ffdddd;
 border-color: #227;
}

ul.tabbernav li.tabberactive a
{
 background-color: #EEEEEE;
 border-bottom: 2px solid #EEEEEE;
}

ul.tabbernav li.tabberactive a:hover
{
 color: #000;
 background: #ffdddd;
 border-bottom: 1px solid #ffdddd;
}

/*--------------------------------------------------
  .tabbertab = the tab content
  Add style only after the tabber interface is set up (.tabberlive)
  --------------------------------------------------*/
.tabberlive .tabbertab {
 padding:5px;
 border:0px solid #aaa;

 /* If you don't want the tab size changing whenever a tab is changed
    you can set a fixed height */

 /* height:200px; */

 /* If you set a fix height set overflow to auto and you will get a
    scrollbar when necessary */

 /* overflow:auto; */
}

/* If desired, hide the heading since a heading is provided by the tab */
.tabberlive .tabbertab h2 {
 display:none;
}
.tabberlive .tabbertab h3 {
 display:none;
}

/* Example of using an ID to set different styles for the tabs on the page */
.tabberlive#tab1 {
}
.tabberlive#tab2 {
}
.tabberlive#tab2 .tabbertab {
 height:200px;
 overflow:auto;
}