Difference between revisions of "MediaWiki:Common.css"
From SlothMUD Wiki
(css tweaks.) |
|||
| Line 385: | Line 385: | ||
position: absolute; | position: absolute; | ||
content: ""; | content: ""; | ||
| − | top: - | + | top: -279px; |
left: 143px; | left: 143px; | ||
} | } | ||
Revision as of 17:23, 14 August 2015
/* CSS placed here will be applied to all skins */
/* Table for class abilities */
table.leveltable {
background-color: #FFCC66;
font-size: 90%;
text-align: right;
}
table.leveltable td {
border-top: 1px solid #000000;
vertical-align:top;
width:200px;
}
table.leveltable th {
background-color: #FFAA00;
vertical-align:bottom;
}
table.leveltable tr:hover {
background-color: #ffe5b2;
}
table.collapsed tr.collapsible {
display: none;
padding: 0px;
}
table.collapsible th {
padding: 0px;
margin: 0px;
text-align: left;
}
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
float: left; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: left;
width: auto;
}
/*Hides Main Page headline*/
body.page-Main_Page h1.firstHeading {
display: none;
}
/*Two column thingie*/
.two-columns {
-moz-column-count: 2;
-webkit-column-count: 2;
}
/*This makes tables pretty!*/
/* Wikitable (Prettytable) class for skinning tables */
table.wikitable th, table.wikitable td {
background: #FFD47F;
padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 {
background: #8da7d6;
text-align: left;
}
table.wikitable td.hl1, table.wikitable th.hl1 {
background: #c5d8fc;
text-align: left;
}
table.wikitable td.hl2, table.wikitable th.hl2 {
background: #a7c1f2;
text-align: left;
}
table.wikitable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* Table for class abilities */
table.abilitiestable {
background-color: #FFCC66;
}
table.abilitiestable td {
border-top: 1px solid #000000;
vertical-align:top;
padding: 4px;
}
table.abilitiestable th {
background-color: #FFAA00;
vertical-align:bottom;
padding: 4px;
}
table.abilitiestable tr:hover {
background-color: #ffe5b2;
}
/* Table for book locations */
table.hidecollapsible {
background-color: transparent;
text-align: left;
}
table.hidecollapsible th {
background-color: transparent;
padding: 0px;
vertical-align:top;
text-align: left;
}
table.hidecollapsible td {
text-align: left;
background-color: transparent;
padding: 0px;
vertical-align:top;
display: none;
}
table.showcollapsible {
background-color: transparent;
}
table.showcollapsible th, table.showcollapsible tr {
text-align: left;
font-weight: normal;
background-color: transparent;
padding: 0px;
vertical-align:top;
}
table.showcollapsible td {
text-align: left;
font-size: 95%;
background-color: transparent;
border: none;
margin: 0px;
padding-left: 12px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 4px;
vertical-align:top;
line-height: 12px;
}
/* Table for stat order */
table.stattable {
background: #FFD47F;
font-family: monospace, "Courier New";
padding: 0.2em 0.4em;
text-align: right;
width:270px;
}
table.stattable td {
padding: 2px;
vertical-align:top;
}
/* Changing default helpfile font */
.helpfile p{
font-family: monospace, "Courier New";
line-height: 1.3em;
padding: 5px 0px 0px 10px;
}
/* For adjacent areas compass rose on area pages */
.adjacentarea pre{
width: 80%;
font-family: monospace, "Courier New", serif;
font-size: 95%;
background: none;
border: none;
padding: none;
}
/* Resizing map images */
.resizemap img, .resizemap a{
width:700px;
text-decoration:none;
background: #FFD47F;
background-image: url("/images/library/parchment.jpg");
}
.areainfo{
line-height: 15px;
float: right;
width: 250px;
background: #FFD47F;
border: 1px solid #c0b8cc;
padding-right: 8px;
padding-left: 4px;
padding-bottom: 4px;
word-wrap: break-word;
}
.areainfo td{
font-size: 95%;
}
.areainfo th{
padding-top: 10px;
font-size: 115%;
}
.continentinfo{
line-height: 15px;
float: left;
width: 300px;
background: #FFD47F;
border: 1px solid #c0b8cc;
padding-right: 8px;
padding-left: 4px;
padding-bottom: 4px;
}
.continentinfo td{
font-size: 95%;
}
.continentinfo th{
padding-top: 10px;
font-size: 115%;
}
.classinfo{
line-height: 15px;
float: left;
width: 290px;
background: #FFD47F;
border: 1px solid #c0b8cc;
padding-right: 8px;
padding-left: 4px;
padding-bottom: 4px;
}
.classinfo td{
font-size: 95%;
vertical-align: top;
}
.classinfo th{
padding-top: 10px;
font-size: 115%;
}
/* hide arrows on selected external links */
.plainlinksneverexpand a {
background:none !important;
padding:0 !important;
}
#content a.external {
background: none;
}
/* Start of CSS for new Guild Wiki */
/* CSS placed here will be applied to all skins */
/* uncomment out below to go live */
body{
padding: 0;
margin: 0;
min-width: 1024px;
color: #000000;
background-color: #000000;
background-image:url('http://www.slothmud.org/wp/wp-content/themes/GuildWarWordPressTheme/GuildWarWordPressTheme/images/Bottom_texture.jpg');
background-repeat: repeat-x;
background-attachment: scroll;
background-position: top center;
}
div#globalWrapper {
font-size: 127%;
width: 1024px;
margin: 0 auto;
padding: 0;
background:url(http://www.slothmud.org/wp/wp-content/themes/GuildWarWordPressTheme/GuildWarWordPressTheme/images/sheet_t.png) center top no-repeat, url(http://www.slothmud.org/wp/wp-content/themes/GuildWarWordPressTheme/GuildWarWordPressTheme/images/sheet.png) repeat-y, url(http://www.slothmud.org/wp/wp-content/themes/GuildWarWordPressTheme/GuildWarWordPressTheme/images/sheet_b.png) bottom center no-repeat;
margin-top: 274px;
}
#p-logo{
display: none;
}
#p-cactions .pBody ul {
background: url(http://www.slothmud.org/wp/wp-content/themes/GuildWarWordPressTheme/GuildWarWordPressTheme/images/nav.png) no-repeat;
width: 924px;
height: 55px;
position: absolute;
top: 202px;
left: 56px;
text-align: center;
padding-top: 10px;
}
#p-cactions .pBody ul a{
color: black !important;
}
body > .pBody ul {
position: relative;
top: 15px;
left: 350px;
}
div#column-content {
width: 800px;
float: right;
margin: 30px 55px 0em -12.2em;
padding: 0;
}
div#column-one {
padding-top: 50px;
padding-left: 60px;
}
.portlet h3{
background: url(http://www.slothmud.org/wiki/ImagesNewWikiGuild/image.png) no-repeat;
width: 220px;
height: 33px;
display: block;
color: white;
position: relative;
top: 11px;
text-align: center;
padding-top: 10px;
font-weight: bold;
}
.portlet{
width: 230px;
}
.pBody{
background: url(http://www.slothmud.org/wiki/ImagesNewWikiGuild/blockcontent.png) repeat-y;
border: 0px;
padding-bottom: 20px;
}
.pBody::before{
position: relative;
background: url(http://www.slothmud.org/wiki/ImagesNewWikiGuild/blockcontent_t.png) no-repeat;
width: 220px;
height: 15px;
display: block;
content: "";
top: -3px;
right: 6px;
}
.pBody::after{
position: relative;
background: url(http://www.slothmud.org/wiki/ImagesNewWikiGuild/blockcontent_b.png) no-repeat;
width: 220px;
height: 15px;
display: block;
content: "";
bottom: -20px;
right: 6px;
}
div#footer{
background: url(http://www.slothmud.org/wp/wp-content/themes/GuildWarWordPressTheme/GuildWarWordPressTheme/images/sheet_b.png) no-repeat;
height: 110px;
border:0px;
box-sizing:border-box;
-moz-box-sizing:border-box;
}
#f-poweredbyico{
float: none;
height: auto;
}
div#content{
background: none;
border: 0px;
}
.firstHeading, #firstHeading{
color: #3A3122;
font-family: "Palatino Linotype", Georgia, "Times New Roman", Times, Serif;
font-size: 22px;
line-height: 150%;
}
.portlet h3{
color: #E4CF7C;
font-family: "Palatino Linotype", Georgia, "Times New Roman", Times, Serif;
font-size: 14px;
text-align: center;
white-space: nowrap;
text-transform: uppercase;
}
.pBody a{
font-family: "Palatino Linotype", Georgia, "Times New Roman", Times, Serif;
font-style: normal;
font-weight: normal;
font-size: 14px;
color: white !important;
}
body{
font-family: arial;
color: black;
}
div#globalWrapper::before{
background: url(http://www.slothmud.org/wp/wp-content/themes/GuildWarWordPressTheme/GuildWarWordPressTheme/images/header.png) no-repeat;
width: 1088px;
height: 239px;
display: block;
position: absolute;
content: "";
top: -279px;
left: 143px;
}
#p-cactions .pBody::before{
position: absolute;
background: none! important;
width: 0px;
height: 0px;
display: block;
content: "";
}
#p-cactions .pBody::after{
position: absolute;
background: none! important;
width: 0px;
height: 0px;
display: block;
content: "";
}
#p-personal .pBody::before{
position: absolute;
background: none! important;
width: 0px;
height: 0px;
display: block;
content: "";
}
#p-personal .pBody::after{
position: absolute;
background: none! important;
width: 0px;
height: 0px;
display: block;
content: "";
}
#p-cactions .pBody ul a {
color: white !important;
}
#p-cactions li a{
background-color: transparent !important;
}
#p-cactions li{
background: transparent !important;
border:0px !important;
}
#p-cactions .pBody ul{
padding-top: 12px !important;
}
/* start of Jeff Fink Teker additions */
div.hint_box {
border: 2px solid #080808;
background: #e0e0e0;
padding: 0.8em;
margin: 1em auto 1em auto;
}
div.rule_box {
border: 2px solid #080808;
background: #e0e0e0;
padding: 0.8em;
margin: 1em auto 1em auto;
}
table.command_list {
border: 1px solid #080808;
border-collapse: collapse;
padding: 0;
margin: 0;
}
table.command_list tr td {
border: 1px solid #080808;
padding: 1em auto 1em auto;
margin: 0;
}
table.guide_header_box {
border: 1px solid #080808;
border-collapse: collapse;
padding: 0;
margin: 0;
}
table.guide_header_box tr td {
border: 1px solid #080808;
padding: 1em auto 1em auto;
margin: 0;
}
table.guide_footer_box {
border: 1px solid #080808;
border-collapse: collapse;
padding: 0;
margin: 0;
}
table.guide_footer_box tr td {
border: 1px solid #080808;
padding: 1em auto 1em auto;
margin: 0;
}
table.guide_list_box {
border: 1px solid #080808;
padding: 1em auto 1em auto;
margin: 0;
}
table.guide_list_box tr td {
border: 0;
padding: 1em auto 1em auto;
margin: 0;
}