MediaWiki:Common.css: Difference between revisions

From QETLAB
Jump to navigation Jump to search
No edit summary
code bg color
Line 50: Line 50:
   font-family: monospace;
   font-family: monospace;
   font-size: inherit;
   font-size: inherit;
   background: #ffeff0;
   background: #f8f8f8;
   word-wrap: break-word;
   word-wrap: break-word;
   box-decoration-break: clone;
   box-decoration-break: clone;
   padding: .1rem .3rem .2rem;
   padding: .1rem .3rem .2rem;
   border-radius: .2rem;
   border-radius: .3rem;
   white-space: pre;
   white-space: pre;
   display:block;
   display: block;
}
}

Revision as of 14:10, 26 May 2022

/* CSS placed here will be applied to all skins */

/* Removing the Main Page title from the main page. */
body.page-Main_Page #siteSub, 
body.page-Main_Page #contentSub, 
body.page-Main_Page h1.firstHeading {
    display: none !important;
}

.infobox{background-color:#E8E8EE;border:3px solid #A7A8C1;border-spacing:4px;float:right;font-size:88%;line-height:1.5em;margin-left:6px;padding:10px;text-align:left;width:28em}

.infobox_head{font-size:150%;font-weight:700;text-align:center}

.infobox_img{text-align:center}

.infobox_animlink{padding-bottom:0;text-align:center}

.infobox_link{padding-bottom:4px;text-align:center}

.infobox_subhead{font-size:125%;font-weight:700;padding-top:12px;text-align:center}

.infobox_table{background-color:#E8E8EE;border:0px;border-spacing:0px 4px;margin-left:0px;padding:0}

table.ambox{background:#fbfbfb;border:1px solid #aaa;border-left:10px solid #f28500;margin:-1px 350px 0 0px}

table.delete{border-left:10px solid red}

table.warning{border-left:10px solid orange}

.ambox th.mbox-text,.ambox td.mbox-text{padding:.25em .5em .1em}

.ambox td.mbox-image{padding:2px 0 2px .5em}

.ambox td.mbox-imageright{padding:2px .5em 2px 0}

/* Remove the Toolbox from the sidebar. */
#p-tb{
 display : none;
}

/* Remove unwanted info from footer */
#footer-info-lastmod{
 display : none;
}
#footer-info-viewcount{
 display : none;
}

code {
  font-family: monospace;
  font-size: inherit;
  background: #f8f8f8;
  word-wrap: break-word;
  box-decoration-break: clone;
  padding: .1rem .3rem .2rem;
  border-radius: .3rem;
  white-space: pre;
  display: block;
}