Might and Magic Wiki
No edit summary
(Removing bullets from RecentChanges tabs)
Tag: Source edit
Line 13: Line 13:
 
list-style:square outside url("https://images.wikia.nocookie.net/__cb21711/common/skins/monobook/bullet.gif");
 
list-style:square outside url("https://images.wikia.nocookie.net/__cb21711/common/skins/monobook/bullet.gif");
 
margin:0 0 0.3em 2.5em;
 
margin:0 0 0.3em 2.5em;
  +
}
  +
.WikiaArticle .wds-tabs {
  +
list-style: none;
 
}
 
}
   

Revision as of 21:23, 29 October 2020

/*  Make headings 3-6 bold                                      */    
h3, h4, h5, h6 {
    font-weight:bold;
}

body.background-dynamic.skin-oasis.skin-oasis.background-not-tiled {
    background-image: url(https://vignette.wikia.nocookie.net/mightandmagic/images/5/50/Wiki-background/revision/latest?cb=20160402213202&path-prefix=en);
    background-repeat: repeat;   
}

/*  New article listing style bullet                            */    
.WikiaArticle ul {
	list-style:square outside url("https://images.wikia.nocookie.net/__cb21711/common/skins/monobook/bullet.gif");
	margin:0 0 0.3em 2.5em;
}
.WikiaArticle .wds-tabs {
    list-style: none;
}

/*  Poll votes color                                            */    
.pollAnswerVotes {
    color: #123965;
}

/*  Font colour                                                 */    
#WikiaPage {
  color: black;
}

/*  Mark redirects in Special:Allpages and Special:Watchlist    */    
.allpagesredirect, .watchlistredir {
    font-style: italic;
}

/*  Blogs                                                       */    
.WikiaBlogListingPost:last-child {
    border-top:1px solid #D9D9D9;
}

.WikiaBlogListing ul, .WikiaBlogListingBox ul {
	list-style:none outside none;
	margin:0.3em;
}

li.WikiaBlogListingPost li {
	border-bottom:0;
	border-top:0;
	list-style:square outside url("https://images.wikia.nocookie.net/__cb21711/common/skins/monobook/bullet.gif");
	margin-left:10px;
}

/*  Article comments                                            */    
.WikiaArticleComments {
	border-top:1px;
	background:transparent;
	padding-top:0;
}

#WikiaArticleComments h1 {
	margin:0;
	padding:5px 4px;
}

.WikiaArticleComments .controls {
    margin-top:5px;
}

.WikiaArticleComments #article-comments {
	margin-top:0;
}

.comments blockquote {
	background-image:-moz-linear-gradient(center top , lightblue 100%);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(40%, lightblue), color-stop(100%, black));
}

/*  Templates                                                   */
/*Portable*/
.portable-infobox {
    float:right;
    background-color: #c7d9ff;
    -o-border-radius:35px;
    -moz-border-radius:35px;
    -webkit-border-radius:35px;
    border-radius:35px;
}

.portable-infobox .pi-title {
    font-weight:bold;
    border-left:3px solid cornflowerblue;
    border-right:3px solid cornflowerblue;
    border-top:3px solid cornflowerblue;
    border-radius:30px 30px 0 0;
    text-align:center;
}

.portable-infobox .pi-image {
    background:#c7d9ff;
}

.portable-infobox figure img {
    max-width:264px;
    height:auto;
}

.pi-navigation {
    background:unset;
    padding:3px 0 !important;
}

.pi-navigation img {
    margin:0 1.5em;
    padding:5px;
}

.pi-navigation img:hover {
    background:cornflowerblue;
    -o-border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    border-radius:50%;
}

.portable-infobox section:last-child > h2 ~ .pi-item:last-child {
    border-left:3px solid cornflowerblue;
    border-right:3px solid cornflowerblue;
    border-bottom:3px solid cornflowerblue;
    border-radius:0 0 30px 30px;
}

.pi-header div > h3 {
    -ms-flex-preferred-size: 100px;
    -webkit-flex-basis: 100px;
    -moz-flex-basis: 100px;
    flex-basis: 100px;
}

.pi-border-color {
    border-bottom: 1px solid cornflowerblue;
}

.portable-infobox .pi-image-collection-tabs, .portable-infobox figure, .portable-infobox .pi-data, .portable-infobox .pi-header, .portable-infobox .pi-horizontal-group, .portable-infobox .pi-navigation, .pi-smart-group {
    border-left:3px solid cornflowerblue;
    border-right:3px solid cornflowerblue;
}

.portable-infobox div:hover h2, .portable-infobox div:hover h3, .portable-infobox h2:hover, .portable-infobox li:hover, .portable-infobox .pi-smart-group-head h3:hover {
    color:#6495ed;
}

.pi-collapse .pi-header:first-child:hover::after {
    border-color:#6495ed;
}

.pi-secondary-background:not(.pi-navigation) {
    background:#A5CCFF;
}

.portable-infobox .pi-image-collection-tabs {
    margin:0;
    padding-bottom:0.5em;
    line-height:1em;
}

.portable-infobox .pi-image-collection-tabs li {
    margin:0;
    text-align:center;
}

.portable-infobox .pi-image-collection-tabs li.current {
    background:#97c1ff;
    border-color: #8fafff;
}

.portable-infobox section:last-child > .pi-item-spacing:last-child {
    padding: 0.5em 10px 1em;
}

.pi-tab-link, .portable-infobox > h2 + div + div, .pi-header, .portable-infobox figure + div {
    font-style:italic;
}

.pi-data-label {
    flex-basis:100px;
}

.pi-smart-data-value:not(:first-child), .pi-smart-data-label:not(:first-child) {
    border-color:cornflowerblue;
}

.pi-collapse:last-child .pi-data-value:first-child {
    margin:0 auto;
}

.pi-data-value img {
    max-height:20px;
    width:auto;
}

.pi-horizontal-group .pi-horizontal-group-item:not(:first-child) {
    border-color:cornflowerblue;
}

.floatnone img {
    height:auto;
    max-width:255px;
}

.icon img {
    max-width:30px !important;
    height:auto !important;
}

#WikiaPageHeader.wikia-page-header + #WikiaArticle #mw-content-text > table:only-of-type {
    border-collapse:collapse;
}

.infobox td,
.infobox th {
   border: 1px solid #A48944;
   padding: 0.2em;
}

.infobox {
   border-collapse: collapse;
}

.infobox th {
    background-color:#A5CCFF;
}

.infobox td {
    background-color:#DAE8F9;
}

.infobox td + td {
    background-color:#F5FAFF;
}

.infobox img {
    max-width:250px;
    height:auto;
}

/*Card*/
#card aside {
    width:calc(100% - 6px);
    border:3px solid cornflowerblue;
}

#card .pi-title {
    float:right;
    width:calc(100% - 352px);
    padding-bottom:0;
    border-top:0;
}

#card section:last-child > div:last-child > h3 + div {
    float:left;
    width:calc(100% - 90px);
}

#card h3 + div.pi-data-value.pi-font {
    -ms-flex-preferred-size: initial;
    -webkit-flex-basis: initial;
    -moz-flex-basis: initial;
    -flex-basis: initial;
}

#card .pi-title, #card figure, #card .pi-image-collection-tabs, #card .pi-image, #card .pi-data, #card .pi-header, #card .pi-horizontal-group, #card .pi-navigation {
    border-left:0;
    border-right:0;
}

#card .pi-image-collection-tabs {
    padding:0 !important;
    text-align:left !important;
    margin-left:70px !important;
}

#card .pi-horizontal-group td:first-child {
    width:35%;
}

#card .pi-navigation {
    border-bottom:1px solid cornflowerblue;
}

#card .pi-navigation center {
    margin-bottom:5px;
}

#card .pi-navigation br + br {
    display:none;
}

#card .pi-navigation img {
    margin-top:5px;
}

#card .pi-data {
    min-height:36px;
}

#card figure {
    float:left;
    margin:1em;
}

#card .pi-data-value:not(:first-child) {
    padding-left:0;
}

#card figure img {
    max-width:300px;
    height:auto;
    width:auto;
}

#card section, #card nav {
    width:calc(100% - 328px);
    float:left;
    padding:0 !important;
}

#card .pi-data .pi-data-value, #card .pi-data .pi-data-label {
    align-self:center;
}

#card .pi-data:last-child .pi-data-value, #card .pi-data:last-child .pi-data-label {
    align-self:initial;
}

#box {
    float:right;
    text-align:center;
}

#box .tabber .tabbertab {
    border:0;
}

#box .tabber .tabbertab .portable-infobox {
    text-align:initial;
}

.tabber .tabbertab > p + p {
    display:none;
}

/*Tables*/
 
.mminfobox {
  border-width: 1px;
  border-style: solid;
  border-color: #A48944;
  border-spacing: 1px;
  margin: 0 0 1.3em 1.5em;
  background-color: #000;
}
 
.mminfobox tr {
  background-color: #000;
}
 
.mminfobox .odd {
  background-color: #000;
}
 
.mminfobox .even {
  background-color: #000;
}
 
table.mminfobox th {
  border-width: 1px;
  border-style: solid;
  border-color: #000;
  vertical-align: middle;
  text-align: left;
  color: #000;
}

caption {
    font-weight:bold;
    border:inherit;
    border-bottom:0;
}

table.article-table {
    border:1px solid #74b0ff;
    margin:auto;
}

table.article-table thead, table.article-table tbody th, table.article-table caption {
    background-color:#A5CCFF;
    text-align:center;
}

table.article-table th {
    background-color:#A5CCFF;
    border-color:#399cff;
    padding:0.25em 0;
}

table.article-table tbody {
    background-color:#ddecff;
    text-align:center;
}

table.article-table td {
    border-color:#399cff;
    padding:0.25em 0.5em;
}

table.article-table.wikitable th, table.article-table.wikitable td {
    border-color:cornflowerblue;
}

.tabber .wikitable td {
    padding:12px;
}

/* Other templates                                              */
.lineup img {
    max-width:100px;
    height:auto;
}

.structure {
    text-align:center;
    border:1px solid #A5CCFF;
    -o-border-radius:10px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
}

.structure tbody {
    background:transparent !important;
}

.structure tr:first-child th {
    -o-border-radius:10px 10px 0 0;
    -webkit-border-radius:10px 10px 0 0;
    -moz-border-radius:10px 10px 0 0;
    border-radius:10px 10px 0 0;
}

.structure tr:last-child th {
    -o-border-radius:0 0 10px 10px;
    -webkit-border-radius:0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    border-radius:0 0 10px 10px;
}

.structure td {
    width:18%;
    margin:0 1%;
}

.structure tr:nth-child(6) hr {
    border:1px solid #A5CCFF;
}

.structure tr:nth-child(3) td, .structure tr:nth-child(8) td {
    font-weight:bold;
}

.structure tr:nrth-child(4) span {
    -ms-column-count: 2;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

.structure img {
    max-width:135px;
    height:auto;
}

.structure p {
    color:red;
    font-weight:bold;
}

.structure span {
    font-family:Prociono;
}

#game-navigation {
    text-align:center;
    margin:auto;
}

#game-navigation td {
    width:85px;
    height:85px;
}

#game-navigation img {
    max-width:50px;
    height:auto;
}

#game-navigation td:hover {
       background-color:#c7d9ff;
       -o-border-radius:50%;
       -moz-border-radius:50%;
       -webkit-border-radius:50%;
       border-radius:50%;
       -o-transition:background 0.5s;
       -moz-transition:background 0.5s;
       -webkit-transition:background 0.5s;
       transition:background 0.5s;
}

.navbox {
    border-collapse:collapse;
    width:100%;
}

.navbox tbody {
   background:#e9f7ff;
}

.navbox th, .navbox td {
    border:1px solid #e9f7ff;
    padding:3px 4px;
    font-size:12px;
}

.navbox tr ~ tr th {
    width:10%;
}

.navbox tr td:only-child {
    text-align:center;
}

.navbox tbody + tr, .navbox th {
    background:#c9dfff;
}

#mw-content-text > h2 + table th, #mw-content-text > h3 + table th, #mw-content-text > h4 + table th, #mw-content-text > h5 + table th, #mw-content-text > h6 + table th {
    background-color:#A5CCFF;
    text-align:center;
}

#mw-content-text > h2 + table tbody, #mw-content-text > h3 + table tbody, #mw-content-text > h4 + table tbody, #mw-content-text > h5 + table tbody, #mw-content-text > h6 + table tbody {
    text-align:center;
    background-color:#ddecff;
}

#WikiaPageHeader.wikia-page-header + #WikiaArticle #mw-content-text > table:only-of-type {
    border-collapse:collapse;
}

#WikiaPageHeader.wikia-page-header + #WikiaArticle #mw-content-text > table:only-of-type caption + tbody td, caption + tbody th {
    border:1px solid #2196f3;
    padding:4px 8px;
}

.page-notice {
    width:calc(100% - 300px);
    padding: 5px;
    text-align:center;
    -o-border-radius:10px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
}

.page-notice tbody {
    background-color:initial !important;
}

.page-notice img {
    height:auto;
    max-width:125px;
}

.page-notice tr[rowspan="2"] td:nth-child(2) {
    font-weight:bold;
    font-style:italic;
    font-family:times new roman;
    font-size:medium;
}

.page-notice tr:nth-child(2) td {
    font-size:small;
}

@media screen and (max-width:1000px) {
#card .pi-title {
    width:initial;
    float:none;
}
    
#card .pi-title, #card .pi-image-collection-tabs {
    margin:0 !important;
    text-align:center !important;
    margin-top:4px;
}

#card figure, #card .pi-navigation, #card section {
    width:100%;
}

#card figure {
    margin:0;
    margin-top:0.25em;
}

#card section .pi-item-spacing {
    width:50% !important;
}

#card section .pi-item-spacing:last-child {
    width:100% !important;
}

#card .pi-data:last-child .pi-data-value, #card .pi-data:last-child .pi-data-label {
    align-self:center;
}

#card section > div {
    height:40px;
}

#card section > div:last-child {
    height:initial !important;
}

#card .pi-item-spacing > h3 {
    flex-basis:100px;
}

.pi-data {
    float:left;
}

}

@media screen and (min-width:1600px) {
    
#card section, #card nav {
    width:calc(100% - 332px);
    }
}