User:Mepedia-test/common.css: Difference between revisions

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
(change ul bullet pos)
(shrink font)
 
Line 4: Line 4:
*/
*/
@media (max-width: 768px) {
@media (max-width: 768px) {
    .mw-dismissable-notice {
        font-size: 80%;
      }
   .sitedir-ltr .mw-dismissable-notice-body {
   .sitedir-ltr .mw-dismissable-notice-body {
   margin: 2px 4.5em 2px 0.5em;
   margin: 2px 4.5em 2px 0.5em;
}
  .mw-dismissable-notice {
    font-size: 90%;
   }
   }
  ul {  
    ul {  
     padding-left: 0.25em;
     padding-left: 0.25em;
    font-size: 1.25em;
     }
     }
  ol {
    ol {
     margin-left: 2em;
     margin-left: 2em;
   }
   }
}
}

Latest revision as of 20:44, February 23, 2020

/* Mobiles and tablets - dismissable site notice
- remove large gap on left to reduce the space it takes up plus shrink top and bottom margins 
and reduce left margin on numbered lists
*/
@media (max-width: 768px) {
     .mw-dismissable-notice {
        font-size: 80%;
      }
   .sitedir-ltr .mw-dismissable-notice-body {
  margin: 2px 4.5em 2px 0.5em;
   }
     ul { 
     padding-left: 0.25em;
     font-size: 1.25em;
    }
     ol {
    margin-left: 2em;
   }
}