MediaWiki:Common.css

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Revision as of 02:51, 21 August 2015 by MetallicKaiser (talk | contribs)
Jump to navigation Jump 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 on the entire site. *****/

/* Hides "This reply has been removed" in threads.
 * Note: Removed replies can still be seen in the thread
 * history by clicking the "History" button in the toolbar.
 */
li.message-removed.hide {
	display: none;
}

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
   font-style: italic;
}
.allpagesredirect:after {
   color: #808080; content: " (redirect)"
}
.watchlistredir {
   font-style: italic;
}

/* Marck Script from http://www.google.com/webfonts */
@font-face {
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  src: local('Marck Script'), local('MarckScript-Regular'), url(http://themes.googleusercontent.com/static/fonts/marckscript/v4/O_D1NAZVOFOobLbVtW3bcnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
 
/* Make the title of articles use Marck Script font */
#WikiaPageHeader h1, #WikiaUserPagesHeader h1, h1#firstHeading {
    background:url(http://images.wikia.com/jjba/images/a/a6/Header.png) top right;
    background-repeat:repeat-x;
    padding:0px 35px;
    height:60px !important;
    line-height:43px !important;
    color:white;
    font-family: 'Marck Script', cursive;
    font-size: 25pt !important;
    font-weight:bold;
    text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;
    position:relative;
    left: -10px;
    top: -5px;
}
 

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

/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
   border: 1px solid #aaa;
   margin-top: 1em;
   padding: 12px;
}
.forumlist td.forum_edited a {
   color: black;
   text-decoration: none;
}
.forumlist td.forum_title a {
   padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
   font-weight: bold;
   background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
   padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
   font-weight: normal;
   background: none;
   padding-left: 20px;
}
.forumlist th.forum_title {
   padding-left: 20px;
}

/* Recent changes byte indicators */
.mw-plusminus-pos {
   color: #006500;
}
.mw-plusminus-neg {
   color: #8B0000;
}

/* Image frame fix */
div.tright, div.tleft {
   border: 1px solid silver;
}

div.thumbinner {
   background: inherit;
   border: none;
   color: inherit;
}
#article div.thumb {
   color:inherit;
}

/* === Babel === */

div.babelbox {
   float: right;
   margin-left: 1em;
   margin-bottom: 0.5em;
   width: 246px;
   border: 1px solid #99B3FF;
   padding: 2px 0 2px 0;
}
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
   margin: 2px 4px 2px 4px; /* t, l, b, r */
   width:238px;
   border-collapse: collapse;
}
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
   text-align:center;
   font-size:14pt;
   width:45px;
   height:45px;
}
td.lang-descriptionN, td.lang-description0, td.lang-description1,
td.lang-description2, td.lang-description3 {
  font-size:8pt;
  padding:4pt;
  line-height:1.25em;
}

.lang-block0 {
   border:1px solid #FFB3B3;
}
td.lang-code0 {
  background-color: #FFB3B3;
  color: black;
}
td.lang-description0 {
  background-color: #FFE0E8;
  color: black;
}

.lang-block1,  .lang-block2, .lang-block3  {
   border:1px solid #99B3FF;
}
td.lang-code1, td.lang-code2, td.lang-code3 {
  background-color: #99B3FF;
  color: black;
}
td.lang-description1,  td.lang-description2, td.lang-description3 {
  background-color: #E0E8FF;
  color: black;
}

.lang-blockN {
   border:1px solid #6EF7A7;
}
td.lang-codeN {
  background-color: #6EF7A7;
  color: black;
}
td.lang-descriptionN {
  background-color: #C5FCDC;
  color: black;
}

/** Forums box **/
.mainpage-box-forums {
    -moz-box-sizing: border-box;
    margin: 0 auto;
    padding-top: 17px;
    width: 100%;
}
 
.mainpage-box-forums .activityfeed {
    margin: 0;
    width: 100%;
}
 
.mainpage-box-forums li {
     border-bottom: 1px solid #8B8C8C;
     margin-left: 20px;
}
 
.mainpage-box-forums p {
     margin: 0;
}
 
.mainpage-box-forums table {
  padding-left: 7px;
  width: 100%;
}
 
.mainpage-box-forums table td p:last-child {
     margin-top: 2px;
}
 
.mainpage-box-forums .sprite {
     display: none;
}
 
.mainpage-box-forums cite {
     display: none ! important;
}
 
.mainpage-box-forums .title {
	 margin-left: 1px;
}
 
.mainpage-box-forums .title:before {
     content: "Topic: ";
}
 
.mainpage-box-forums .real-name {
    display: inline-block;
    font-weight: bold;
}
 
.mainpage-box-forums .seemore {
    float: right;
    font-size: 12px;
    font-weight: bold;
    margin-right: 3px;
    margin-top: -7px;
    text-shadow: 1px 1px #000000;
}

li.message-removed.hide {
        display: none;
 }
div.ajax-poll { width:auto !important; }


/*******************
 * Template Documentation
 *******************/
.template-documentation {
	border: 1px solid #b68333;
	margin: .5em;
	margin-top: 2em;
	background: #A66908;
}

.template-docu-header,
.template-docu-footer {
	background: #C68723;
	color: #DDD;
	padding: 1em;
	margin: 0em;
}

.template-docu-footer {
	padding: .5em;
	font-size: 85%;
	text-align: right;	
}

.template-docu-content {
	padding: 1em;
	padding-bottom: 0em;
	margin: 0em;
}

.template-docu-content code {
	background: #AA6D0C;
	padding: 1px;
	border: 1px solid #B67918;
	border-radius: 3px;
}

/*******************
 * Navboxes
 *******************/
.navbox {
    width: 100%;
    background: white;
    color: black;
    margin: 1em auto;
    font-size: 84%;
    clear: both;
    padding: 2px;
    border-spacing: 0;
    border: 1px solid #AAA;
}
 
/* Merges navboxes that are directly under eachother */
.navbox + .navbox {
    margin-top: -11px;
}
 
.navbox .navbox-title {
    background: #CCF;
    color: black;
    font-weight: bold;
}
 
.navbox .navbox-vde {
    float:left;
    width:65px;
}
 
.navbox .navbox-title-padright {
    padding-right: 65px;
}
 
.navbox .navbox-title-padleft {
    padding-left: 65px;
}
 
.navbox .navbox-subgroup {
    border-spacing: 0;
    width: 100%;
}
 
.navbox .navbox-gutter {
    height: 2px;
}
 
.navbox .navbox-subgroup .navbox-gutter {
    background: white;
}
 
.navbox .navbox-section-row > td {
    padding: 0;
    height: 100%;
}
 
.navbox .navbox-section {
    width: 100%;
    border-spacing: 0;
}
 
.navbox .navbox-above,
.navbox .navbox-below {
    background: #DDF;
    text-align: center;
}
 
.navbox .navbox-image {
    background: white;
    text-align: center;
}
 
.navbox .navbox-group,
.navbox .navbox-header {
    background: #DDF;
    color: black;
    font-weight: bold;
    height: 100%;
    padding: 2px 4px;
}
 
.navbox .navbox-header-collapsible {
    padding-left: 65px;
}
 
.navbox .navbox-group {
    text-align: right;
    padding-right: 1em;
    min-width: 150px;
}
 
.navbox .navbox-group,
.navbox .navbox-image-left {
    border-right: 2px solid white;
}
 
.navbox-image-right {
    border-left: 2px solid white;
}
 
.navbox .navbox-list {
    background: white;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0;
}
 
.navbox .alt > .navbox-list {
    background: #F7F7F7;
}
 
.navbox .navbox-list div {
    padding: 0px 4px;
}
 
.navbox .navbox-list.no-group {
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
}
 
.navbox .mw-collapsible-toggle {
    width: 65px;
}
 
/* hlist */
.hlist ul {
    margin: 0;
    list-style: none;
}
 
.hlist li, .hlist ul ul {
    display: inline;
}
 
.hlist li a {
    white-space: nowrap;
}
 
.hlist ul ul:before {
    content: "("
}
 
.hlist ul ul:after {
    content: ")"
}
 
.hlist li:after {
    content: " • ";
}
 
.hlist ul ul li:after {
    content: "/";
}
 
.hlist li:last-child:after, .hlist ul ul li:last-child:after {
    content: none;
}