MediaWiki:Common.css

From Legacy Roblox Wiki
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
body {
    font: x-small verdana;
    background: url(/images/robricks.jpg) #6E99C9 0 0 no-repeat !important;
}

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+ */
}


/***************************************
/****NXYBoy's Object data CSS***/
.object-data .icon a{
	display: block;
	width: 1em;
	height: 1em;
	vertical-align: center;
	text-indent: -9999px;
	background: no-repeat 50% 50%;
}

.object-data .method .icon a{
	background-image:url(http://wiki.roblox.com/images/b/be/Function_Icon.png);
}
.object-data .method.protected .icon a{
	background-image:url(http://wiki.roblox.com/images/4/48/ProtectedFunction_icon.png);
}
.object-data .property .icon a{
	background-image:url(http://wiki.roblox.com/images/0/00/Property_Icon.png);
}
.object-data .event .icon a{
	background-image:url(http://wiki.roblox.com/images/c/c9/Event_Icon.png);
}


/***NXTBoy's Category system***/


.cat-item {
	margin-left: 52px; 
	float:left;
	width:200px; 
	height:100px; 
	overflow:hidden; 
}

.cat-item img {
	display: inline-block;
	vertical-align: middle; 
	margin-left: -52px;  
	margin-right: 4px; 
}
.cat-item .cat-item-content {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
}
.category-up {
	float: right;

	margin: 4px;
	margin-top: 0px;
}
.category-up a {
	display: block;

	padding: 4px;
	padding-left: 40px;

	background: #ffdddd url(http://wiki.roblox.com/images/c/c8/Arrowup.png) no-repeat 4px center;

	border-radius: 3px;
	border: 2px dashed;
	border-color: #ff0000 #800000 #800000 #ff0000;
}

/*NXTBoy's Emphasis Box*/
.box {
    border: 1px solid;
    margin: 4px 0;
    padding: 4px;

    border-radius: 5.5px;
    -moz-border-radius: 5.5px;
    -webkit-border-radius: 5.5px;
}
.box.shrink {
    overflow:hidden;
    zoom: 1;
}

.box .title {
    margin: -4px -4px 4px;
    padding: 4px;
    border-bottom: 1px solid;

    border-top-left-radius: 4.5px;
    border-top-right-radius: 4.5px;
    -moz-border-radius-topleft: 4.5px;
    -moz-border-radius-topright: 4.5px;
    -webkit-border-top-left-radius: 4.5px;
    -webkit-border-top-right-radius: 4.5px;
}

.box .sub-title {
    margin: 4px -4px;
    padding: 4px;
}

/**********************************
/***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;
}

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 0.2em;
    width: 375px;
}
.infobox-title {
    font-size: 125%;
    text-align: center;
    font-weight: bold;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox-table td {
    vertical-align: top;
}