MediaWiki:Common.css: Difference between revisions

From Age of Dungeons Wiki
m (Infobox tweaks)
(More infobox style)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.infobox {
.infobox {
     background: #eee;
    width: 300px;
     border: 1px solid #aaa;
   
     float: right;
     background: #f8f9fa;
     margin: 0 0 1em 1em;
     border: solid #eaecf0;
    padding: 1em;
     border-width: 1px 1px 0.2em;
    width: 400px;
     box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
}
}
.infobox-title {
.infobox-title {
Line 14: Line 14:
.infobox-image {
.infobox-image {
     text-align: center;
     text-align: center;
    max-height: 150px;
}
}
.infobox-table th {
.infobox-table th {
Line 23: Line 22:
.infobox-table td {
.infobox-table td {
     vertical-align: top;
     vertical-align: top;
}
h1 {
clear: right;
}
h2 {
clear: right;
}
h3 {
clear: right;
}
}

Revision as of 06:02, 16 May 2025

/* CSS placed here will be applied to all skins */
.infobox {
    width: 300px;
    
    background: #f8f9fa;
    border: solid #eaecf0;
    border-width: 1px 1px 0.2em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
}
.infobox-title {
    font-size: 1.5em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: right;
    vertical-align: top;
    width: 150px;
}
.infobox-table td {
    vertical-align: top;
}