Difference between revisions of "MediaWiki:Common.css"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 270: | Line 270: | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
vertical-align: top; | vertical-align: top !important; | ||
} | } | ||
Revision as of 20:03, 28 July 2023
/* CSS placed here will be applied to all skins */
/* Removing the User Creation log from the Recent Changes list */
.mw-body {
z-index: 3;
}
.mw-body h1, .mw-body h2 {
margin-top: 0;
}
a.mw-selflink {
font-weight: normal;
}
.catlinks {
background-color: #272b30;
border: 0px;
}
.toc {
background-color: #272b30;
border: 1px rgb(43, 46, 50) solid;
}
div.thumbinner {
background-color: #272b30;
}
.tocnumber {
color: #aaa;
}
.editOptions {
background-color: #272b30;
color: #aaa;
}
pre {
color:black;
}
.table-noborder
{
border:0px !important;
}
th.table-noborder, td.table-bordered {
border:0px !important;
}
.sticky {
z-index: 10;
}
table[class*="mw-changeslist-log-newusers-"] {
display: none;
}
/* End User Creation log hiding */
/*@media (max-width: 760px), (max-device-width: 1024px) and (min-device-width: 768px)*/
table td[class*="col-"], table th[class*="col-"] {
display: table-cell !important;
}
.oo-ui-menuSelectWidget {
background-color: rgb(58, 63, 68);
border-color: rgb(43, 46, 50);
border-color: rgba(0, 0, 0, 0.6);
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
color: #ccc;
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
color: #999;
}
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
background-color: #666;
border-color: #222;
}
.mw-warning {
background-color: rgb(255,243,205);
color: rgb(133, 100, 4);
}
td.highlighted {
background-color: #ceab50;
color: black;
}
.extratopmargin {
padding-top: 100px !important;
}
table.wikitable, .mw-datatable td, .mw_metadata td, #mw-searchoptions {
background-color: rgb(58, 63, 68);
color: rgb(200, 200, 200);
border-color: rgb(43, 46, 50);
border-color: rgba(0, 0, 0, 0.6);
}
table.wikitable > tr > th, table.wikitable > * > tr > th, .mw-datatable th, .mw_metadata th, .mw-search-profile-tabs {
background-color: #272b30 !important;
color: #fcfcfc;
}
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td, .mw_metadata td, #mw-searchoptions {
border: 1px solid #333;
}
#mw-searchoptions table {
background: none;
}
.table-responsive {
overflow-x: auto;
}
#bodyContent .mw-number-text h3{
color: #ddd !important;
}
#bodyContent .mw-number-text p {
color: #bbb !important ;
}
#pagehistory li.selected {
background-color: #8f8 !important;
}
.table > tbody > tr > td {
vertical-align: middle !important;
}
.postedit {
background-color: #272b30 !important;
border: 1px solid #1c1e22 !important;
color: #c8c8c8 !important;
}
.vertical-words {
text-orientation: upright;
writing-mode: vertical-rl;
}
div.gallerytext {
font-size: .85em;
padding: 0;
}
a.btn-default, a.btn-default:link, a.btn-default:visited, a.btn-default:active, a.btn-default:hover {
color: #ccc;
}
h1,h2,h3,h4,h5,h6 {
color:#aaa;
padding-top: 5px;
}
.link-pointer {
cursor: pointer;
}
.table {
margin-bottom: 0;
}
blockquote {
font-size: 0.96em;
font-style: italic;
}
.super {
font-size: smaller;
vertical-align: super;
}
.compendiumtable {
background-color: #3a3f44;
border: 1px solid #a2a9b1;
border-collapse: collapse;
color: white;
margin: 1em 0;
}
.compendiumtablecolor {
background-color: #3a3f44;
color: white;
}
.compendiumtableborder {
border-bottom: 1px solid #a2a9b1;
border-collapse: collapse;
}
.compendiumtablebordertop {
border-top: 1px solid #a2a9b1;
border-collapse: collapse;
}
.compendiumtable .header {
background-color: gray;
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
text-align: center;
}
.compendiumtable .linkheader {
border: 1px solid #a2a9b1;
font-size: 20px;
padding: 0.2em 0.4em;
text-align: center;
}
.compendiumtable .headerkeep {
background-color: lightgray;
color: black;
text-align: center;
}
.fullwidth {
width: 100%;
}
.halfwidth {
width: 50%;
}
.compendiumtable .centerdata {
text-align: center;
}
.compendiumtable .cellwidth15 {
width: 15%;
}
.compendiumtable .cellwidth10 {
width: 10%;
}
.compendiumtable .cellwidth75 {
width: 75%;
}
.compendiumtable .cellwidth1 {
width: 1%;
}
.compendiumtable .cellwidth5 {
width: 5%;
}
.compendiumtable .cellwidth50 {
width: 50%;
}
.compendiumtable .cellwidth25 {
width: 25%;
}
.compendiumtable .cellwidth20 {
width: 20%;
}
.compendiumtable > tbody > tr > td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
vertical-align: top !important;
}
.compendiumtable > tbody > tr > th {
background-color: gray;
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
text-align: center;
vertical-align: bottom;
}
.cellbottompad {
padding-bottom: 10px; /* Apply cell padding */
}
.compendiumtable > thead > tr > th {
background-color: gray;
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
text-align: center;
}
@media (max-width: 760px) {
.compendiumtable {
border: none;
}
.compendiumtable .header {
display: none;
}
.compendiumtable .centerdata {
text-align: left;
}
.compendiumtable > thead {
display: none;
}
.compendiumtable .cellwidth15 {
width: 90%;
}
.compendiumtable .cellwidth10 {
width: 90%;
}
.compendiumtable .cellwidth75 {
width: 90%;
}
.compendiumtable .cellwidth1 {
width: 90%;
}
.compendiumtable .cellwidth1 {
width: 90%;
}
.compendiumtable .cellwidth50 {
width: 90%;
}
.compendiumtable .cellwidth25 {
width: 90%;
}
.compendiumtable .cellwidth20 {
width: 90%;
}
.toc {
display: none;
}
.compendiumtablenonsortable > tbody > tr:nth-child(1) {
display: none;
}
.compendiumtablesortable > thead {
display: none;
}
.compendiumtable > tbody > tr > td {
border: none;
margin-left: 1em;
padding: 0.2em 0.4em;
width: 90%;
}
.compendiumtable > tbody > tr {
border: 1px solid #a2a9b1;
border-collapse: collapse;
}
.compendiumtable > tbody > tr > td:before {
content: attr(data-th);
display: block;
font-weight: 700;
margin-left: -0.8em;
}
}
.ddoheader {
background-color: black;
border: 1px solid white;
}
.ddoheader .headerlist {
list-style: none;
margin-bottom: 0;
padding-bottom: 5px;
padding-left: 0;
}
.ddoheader .selected {
background-color: #3a3f44;
}
.ddoheader .enhancementtreelist {
list-style: none;
margin-bottom: 0;
padding-left: 5px;
}
.ddoheader .enhtreeitem {
float: left;
height: 90px;
margin-bottom: 5px;
margin-top: 5px;
padding: 5px;
width: 150px;
line-height: 1.3;
font-size: smaller;
}
.ddoheader .enhtreeitemtall {
float: left;
height: 150px;
margin-bottom: 5px;
margin-top: 5px;
padding: 5px;
width: 130px;
line-height: 1.3;
font-size: smaller;
}
.ddoheader .enhtreeitemshort {
float: left;
height: 45px;
margin-bottom: 5px;
margin-top: 5px;
padding: 5px;
width: 130px;
line-height: 1.3;
font-size: smaller;
}
.ddoheader .enhtreeitemmed {
float: left;
height: 70px;
margin-bottom: 5px;
margin-top: 5px;
padding: 5px;
width: 130px;
line-height: 1.3;
font-size: smaller;
}
.ddoheader .sectiontitle {
float: left;
font-size: 1.1em;
font-weight: bold;
height: 95px;
line-height: 35px;
text-align: center;
transform: rotate(-90deg);
transform-origin: center center 0;
vertical-align: middle;
width: 35px;
}
.ddoheader .classname {
font-size: 20px;
}
.ddoheader .classicon {
float: left;
height: 75px;
margin-bottom: 5px;
margin-top: 5px;
text-align: center;
width: 70px;
line-height: 1.1;
font-size:smaller;
}
.ddoheader .classicon2 {
float: left;
height: 75px;
margin-bottom: 5px;
margin-top: 5px;
text-align: center;
width: 75px;
font-size:smaller;
}
.ddoheader .featicon {
float: left;
height: 80px;
margin-bottom: 5px;
margin-top: 5px;
text-align: center;
width: 95px;
font-size:smaller;
}
.ddoheader .edicon {
float: left;
height: 95px;
margin-bottom: 5px;
margin-top: 5px;
text-align: center;
width: 80px;
font-size:smaller;
}
.ddoheader .raceicon {
float: left;
height: 85px;
margin-bottom: 5px;
margin-top: 5px;
text-align: center;
width: 70px;
line-height: 1.1;
font-size:smaller;
}
.ddoheader .spellicon {
float: left;
height: 95px;
margin-bottom: 5px;
margin-top: 5px;
text-align: center;
width: 72px;
line-height: 1.1;
font-size:smaller;
}
.ddoheader .iconicicon {
float: left;
height: 95px;
margin-bottom: 5px;
margin-top: 5px;
text-align: center;
width: 110px;
line-height: 1.1;
font-size:smaller;
}
a, a:link, a:visited, a:hover, a:active, a:visited:hover {
color: #0096cf;
}
select, #categoryselectmaster {
color: #444 !important;
}
body, nav {
overflow-anchor: none !important;
}
#toc {
border: 1px #ccc solid;
float: right;
margin: 5px;
padding: 5px 15px 15px 15px;
}
/* File history and other tables bg color */
table.wikitable > tr > th, table.wikitable > * > tr > th {
background-color: rgba(0, 0, 0, 0);
}
.navbar-default {
background-image: none;
}
.btn-default {
background-image: none;
}
.btn-primary {
color: white !important;
}
.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, div.search-types > ul li a {
color: #000;
}
.mw-version-ext > td > a:visited, div.search-types > ul li a:visited {
color: #555 !important;
}
div.search-types > ul li.current a {
font-weight: bold;
}
/* For the server status widget */
.row.ss-widget-text-center > div {
display: inline-block;
float: none;
}
.quest {
padding-top: 5px
}
.quest .box {
border: 1px solid rgba(39, 43, 46, 0.6);
}
.quest .outer-box {
background-color: #3a3f44;
float: right;
font-size: 16px;
margin-left: 10px;
max-width: 400px;
}
.quest .outer-box-wide {
background-color: #3a3f44;
float: right;
font-size: 16px;
margin-left: 10px;
max-width: 530px;
}
.quest .inner-box {
padding: 5px;
}
.quest .box-header {
font-size: 20px;
text-align: center;
}
.quest .paragraph-body {
font-size: 16px;
margin-bottom: 5px;
}
.quest .sub-paragraph-header {
font-size: 26px;
}
.quest .paragraph-header {
font-size: 32px;
}
.quest .flavor-text {
font-style: italic;
}
/*@media (max-width: 760px) {*/
/* .quest .outer-box {*/
/* float: none;*/
/* margin-left: 0;*/
/* max-width: 760px;*/
/* width: 100%;*/
/* }*/
/* .quest .outer-box-wide {*/
/* float: none;*/
/* margin-left: 0;*/
/* max-width: 760px;*/
/* width: 100%;*/
/* }*/
/* .quest .inner-box {*/
/* width: 100%;*/
/* }*/
/*}*/
.item-table {
background-color: black;
border: 1px solid #B0B5B8;
width: 100%;
}
.item-table .background-color {
background-color: black;
}
.itembasevalue {
padding-left: 10px;
text-align: left;
width: 50%;
}
.itemweight {
padding-right: 10px;
text-align: right;
width: 50%;
}
.item-table .item-info-side {
padding: 10px 10px 10px 20px;
vertical-align: top;
width: 50%;
}
.item-table .item-info-full {
padding: 10px 10px 10px 20px;
vertical-align: top;
width: 100%;
}
.item-table .icon {
vertical-align: top;
width: 50px;
}
.item-table .title {
font-size: 20px;
padding-bottom: 15px;
text-align: center;
width: 100%;
}
.item-table .subtitle {
font-size: 16px;
text-align: center;
width: 100%;
}
.item-table .topborder {
border-top: solid 1px white;
}
.item-table .item-image-side {
border-left: solid 1px white;
vertical-align: top;
width: 100%;
}
.item-table .item-image-side .extra-details {
padding: 10px;
}
.extra-details {
padding: 5px;
}
.item-table .item-image-table {
padding-left: 20px;
padding-right: 10px;
width: 100%;
}
.item-table .item-image {
padding-left: 20px;
padding-right: 10px;
padding-top: 10px;
width: 100%;
}
.item-table .full {
width: 100%;
}
.item-image img {
display: block;
max-height: 300px;
width: auto;
}
.item-table .item-image-table .item-image {
border-bottom: solid 1px white;
margin-bottom: 10px;
padding-bottom: 15px;
text-align: center;
}
.item-table .item-image-table .item-image-notext {
margin-bottom: 10px;
padding-bottom: 15px;
padding-top: 15px;
text-align: center;
}
/*@media (max-width: 760px) {*/
/* .item-table .item-info-side {*/
/* padding-left: 10px;*/
/* padding-right: 5px;*/
/* width: 100%*/
/* }*/
/* .item-table .item-image-table {*/
/* padding-left: 0;*/
/* padding-right: 0;*/
/* padding-top: 10px;*/
/* width: 100%;*/
/* }*/
/* .item-table .item-image-side {*/
/* border-left: none;*/
/* border-top: 1px solid #B0B5B8;*/
/* vertical-align: top;*/
/* width: 100%;*/
/* }*/
/* .item-table .icon {*/
/* padding-top: 10px;*/
/* text-align: center;*/
/* width: 100%;*/
/* }*/
/*}*/
table.wikitable > tr > th, table.wikitable > * > tr > th {
background-color: gray;
}
/*!* Playing with mobile resolutions, should make all tables mobile responsive *!*/
/*@media (max-width: 760px),*/
/*(min-device-width: 768px) and (max-device-width: 1024px) {*/
/* table, thead, tbody, th, td, tr {*/
/* display: block;*/
/* text-align: left;*/
/* }*/
/* !* this is the class of all link images for the header of the navigational table *!*/
/* #navigational_header_images {*/
/* display: none !important;*/
/* }*/
/* #sidebar {*/
/* display: none !important;*/
/* }*/
/*}*/
/* Fix for modals not working */
.modal-backdrop {
display: none;
}
.modal {
top: 60px;
}
.modal-title {
color: #c8c8c8;
}
.mw-body ol {
list-style-type: decimal;
}
.mw-body a.external:link {
color: #0096cf;
}
.map-separator {
border-color: black;
border-style: solid;
border-width: 1px;
padding: 5px;
}
.big {
font-size: 1.6em;
}
.small {
font-size: 1.1em;
}
/* THEME FIXES FOR MW UPDATE 1.37 */
.p-navbar {
background-color: #52575c;
}
.p-navbar .navbar-nav .nav-link,
.p-navbar .navbar-nav .show > .nav-link,
.p-navbar .navbar-nav .navbar-tool > a {
color: #dee2e6;
}
.container {
max-width: 1210px;
}
/* REMOVE TABLE BORDERS FROM BEING AUTOMATICALLY GENERATED IN TEMPLATES */
.table-bordered th,
.table-bordered td,
.table th,
.table td {
border: none;
}
/* REDUCE PADDING FROM BEING AUTOMATICALLY GENERATED IN TEMPLATES */
.table-bordered th,
.table-bordered td,
.table th,
.table td {
padding: 5px;
}
/* FIX a:visited LINK COLOR IN Special:Version */
.mw-version-ext > td > a:visited {
color: #0096cf !important;
}
/* FIX z-index when using the Template Data form */
.wikiEditor-ui-top {
z-index: 1;
}