Difference between revisions of "MediaWiki:Common.less/portableinfobox.less"

From The Kingkiller Chronicle Wiki
Jump to navigation Jump to search
(Let's try stacked)
Line 17: Line 17:
 
     .pi-data {
 
     .pi-data {
 
         border-bottom-width: 0px;
 
         border-bottom-width: 0px;
 +
    }
 +
   
 +
    .pi-data-label {
 +
        font-family: @sans-serif-stack;
 
     }
 
     }
  

Revision as of 04:30, 25 December 2018

// <pre>
/* ==========================
       portable infoboxes    
   ========================== */

@infobox-background: @white;
@infobox-header-color: @jelly-bean;
@infobox-header-border: .5em solid @infobox-background;
@infobox-border: 1px solid @mystic;

.portable-infobox {
    background: @infobox-background;
    border: 1px solid @mystic;
    box-shadow: @box-shadow;
    font-size: 0.875em;

    .pi-data {
        border-bottom-width: 0px;
    }
    
    .pi-data-label {
        font-family: @sans-serif-stack;
    }

    .pi-header,
    .pi-title {
        background: @infobox-header-color;
        color: @white;
        font-size: 1.15em;
        text-align: center;
    }


}