Difference between revisions of "Template:Nmbox/styles.css"

From Power Wiki
Jump to navigation Jump to search
(Created page with ".nmbox { clear: both; background: #f8f9fa; border: 1px solid #AAA; box-sizing: border-box; margin: 2px 0; padding: 0; } .nmbox * { box-siz...")
 
m (Protected "Template:Nmbox/styles.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 

Latest revision as of 07:22, 7 February 2021

.nmbox {

   clear: both;
   background: #f8f9fa;
   border: 1px solid #AAA;
   box-sizing: border-box;
   margin: 2px 0;
   padding: 0;

}

   .nmbox * {
       box-sizing: border-box;
   }

.nmbox-header {

   background: #eaecf0;
   padding: 4px 0.5em;
   font-weight: bold;
   text-align: center;
   white-space: nowrap

}

.nmbox .mbox-image {

   display: inline-block;

}

.nmbox-text {

   border-top: 1px solid #AAA;
   width: 100%;
   padding: 4px 0.5em;

}

@media screen and (min-width: 768px) {

   .nmbox-header {
       display: table-cell;
       border-right: 1px solid #AAA;
       width: 1%;
   }
   .nmbox-text {
       border-top: none;
       display: table-cell;
   }

}