Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 255: Line 255:


/* ============================= */
/* ============================= */
/* INFOBOX STYLING              */
/* NPC INFOBOX (STACKED LAYOUT)  */
/* ============================= */
/* ============================= */


.infobox {
.infobox {


     float: right;
     float: none !important;
     clear: right;
     clear: both;
 
    margin: 0 auto 30px auto;


     width: 340px;
     width: 460px;
     margin: 0 0 24px 32px;
     max-width: 95%;


     border-collapse: collapse;
     border-collapse: collapse;
Line 302: Line 304:
     padding: 16px;
     padding: 16px;
}
}
.infobox-image img {
    max-width: 280px;
}


/* ============================= */
/* ============================= */
Line 307: Line 314:
/* ============================= */
/* ============================= */


/* Make editor background readable */
body.action-edit #content,
body.action-edit #content,
body.action-submit #content {
body.action-submit #content {
Line 313: Line 319:
}
}


/* Make text black when editing */
body.action-edit,
body.action-edit,
body.action-submit {
body.action-submit {
Line 319: Line 324:
}
}


/* Textarea editor */
body.action-edit textarea,
body.action-edit textarea,
body.action-submit textarea {
body.action-submit textarea {
Line 326: Line 330:
}
}


/* Edit warning / notice boxes */
body.action-edit .mw-warning,
body.action-edit .mw-warning,
body.action-submit .mw-warning {
body.action-submit .mw-warning {
Line 332: Line 335:
}
}


/* Links readable in editor */
body.action-edit a,
body.action-edit a,
body.action-submit a {
body.action-submit a {
     color: #0645ad !important;
     color: #0645ad !important;
}
}
/* ============================= */
/* NPC CARD GRID                */
/* ============================= */


.npc-card{
.npc-card{
Line 345: Line 352:
font-weight:600;
font-weight:600;
box-shadow:0 8px 20px rgba(0,0,0,.4);
box-shadow:0 8px 20px rgba(0,0,0,.4);
}
/* ============================= */
/* NPC PAGE LAYOUT (STACKED)    */
/* ============================= */
.infobox {
    float: none !important;
    clear: both;
    margin: 0 auto 30px auto;
    display: table;
    max-width: 420px;
}
.infobox {
    max-width: 460px;
}
.infobox-image img {
    max-width: 260px;
}
}