Difference between revisions of "MediaWiki:Common.css"

From DDO Compendium
Line 85: Line 85:
     }
     }
}
}
/* Infobox template styling test 1*/
.infobox
{
  float: right;
  clear: right;
  margin: 0 0 .5em 1em;
  width: 250px;
  background: none;
  border-collapse: collapse;
  border-width: 0px;
  font-size: 0.8em;
  line-height: 1.5;
}
.infobox table.infoboxtable
{
  background:#f0f0f0;
  float:right;
  margin:0;
  width:100%;
  border-collapse:collapse;
}
.infobox td.infoboximage
{
  padding:0;
  text-align:center;
}
.infobox th.infoboxheading
{
  font-weight:bold;
  text-align:center;
  color:#F9F9F9;
  font-size:larger;
}
.infobox th.infoboxsubheading
{
  vertical-align:top;
  text-align:left;
  font-weight:normal;
}
.infobox td.infoboxlabel, .infobox td.infoboxcell
{
  vertical-align: middle;
/*  border-top:1px solid #999;
  border-bottom:1px solid #999; */
}
/* ugly hack to force normal height for infobox cells */
.infoboxcell p { margin-top: 0px; margin-bottom: 0px; }
/* .infoboxcell ul { list-style-type: disc; } */
.infoboxcell ul
{
    padding-left: 10px;
    margin-left: 10px;
}
.infoboxcell ul li
{
    padding-left: 0;
    margin-left: 0;
    list-style-type: square;
}
.infobox div.plainlinks
{
    color: #fff;
}
.infobox div.plainlinks a
{
    color: #f0f0f0;
}

Revision as of 03:38, 20 April 2018

/* CSS placed here will be applied to all skins */
a {
    color: #8cb8ff;
}

a:visited {
    color: #6f8bb7;
}

select, table a.external:link, #categoryselectmaster {
    color: #444 !important;
}

a.external:visited {
    color: #777 !important;
}

body, nav {
    overflow-anchor: none !important;
}

#toc { 
    float: right ;
    border: 1px #ccc solid;
    padding: 5px 15px 15px 15px;
    margin: 5px;
}

/* File history and other tables bg color */
table.wikitable > tr > th, table.wikitable > * > tr > th {
    background-color: rgb(0, 0, 0, 0);
}

.navbar-default {
    background-image: none;
}

.btn-default {
    background-image: none;
}

.navbar-default .navbar-nav > li > a, .navbar-inverse .navbar-nav > li > a {
    border-left: none;
}

#pagehistory li.selected {
    background-color: #000000;
}

#filetoc {
    background-color: #000000;
}

th {
    text-align: center;
}

/* Editing box button text color */
.wikiEditor-ui-buttons {
    color: #000;
}

/* License link in Special:Version */
.mw-version-ext > td > a {
    color: #000;
}

.mw-version-ext > td > a:visited {
    color: #555 !important;
}


/* Playing with mobile resolutions, should make all tables mobile responsive */
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

    table, thead, tbody, th, td, tr { 
        text-align: left;
        display: block; 
    }
/* this is the class of all link images for the header of the navigational table */
    #navigational_header_images {
        display: none !important;
    }
}