MediaWiki:Common.css

From Dothraki
(Difference between revisions)
Jump to: navigation, search
(fixed path)
Line 3: Line 3:
 
/* background image */
 
/* background image */
 
body {
 
body {
     background: url("http://dothraki.org/images/bg_landscape.jpg") no-repeat scroll center top #6D692D;
+
     background: url("//s.dothraki.org/images/bg_landscape.jpg") no-repeat scroll center top #6D692D;
 
}
 
}
  

Revision as of 17:18, 6 February 2018

/* CSS placed here will be applied to all skins */

/* background image */
body {
    background: url("//s.dothraki.org/images/bg_landscape.jpg") no-repeat scroll center top #6D692D;
}

/* white background for personal menus */
#p-personal div.pBody li {
	background-color: white;
	padding: 0 4px;
	margin: 2px;
}
#p-personal div.pBody li#pt-userpage {
	padding-left: 16px;
}
#p-personal div.pBody li a:hover {
	background: none;
	text-decoration: underline;
}

/* hide Main Page title */
body.page-Main_Page h1.firstHeading {
    display: none !important;
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox caption {
    font-size: larger;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}

.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}

.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    border-right: 1px solid #aaa;
}


/* ### Main Page Box Style ### */

.mpb, .mpb-left, .mpb-right { /* properties of all boxes */
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	margin-bottom: 1em;
	padding: 2px;
	border:1px solid #4080FF;
	background-color: #F2F7FF;
}

.mpb-left { /* properties of left boxes */
	margin-right: 0.5em;
}

.mpb-right { /* properties of right boxes */
	margin-left: 0.5em;
}

.mpb div, .mpb-left div, .mpb-right div { /* properties of the inner boxes */
	padding: 4px;
}

.mpb-h1, .mpb-h3 { /* properties of the headlines */
	-moz-border-radius: 4px 4px 0 0;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	border-radius: 4px 4px 0 0;
	background-color: #d9e5ff;
	border: 1px solid #BFD3FF;
	margin: 0 !important;
}
.mpb-h1 { /* properties of the h1 headline */
	text-align: center;
	padding: 6px;
}
.mpb-h3 { /* properties of the h3 headline */
	padding: 4px;
}
/* ### END of - Main Page Box Style ### */

/* tables with borders only on the inside */
.innerborder {
	border-collapse: collapse;
	border-style: hidden;
}
.innerborder td, .innerborder th {
	border: 1px solid grey;
	padding: 0.5em;
}
Personal tools