MediaWiki:Common.css

From AI Wiki
Revision as of 14:43, 4 May 2023 by Test123 (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

.model-infobox{
    float: right;
    position: relative;
    width: 300px;
    background: #fff;
    font-size: 0.923em;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 0;

}

.model-infobox .heading {
    background-color: #878eb5 !important;
    font-family: EasonPro,"Times New Roman",serif !important;
    font-size: 1.417em !important;
    color: #fff !important;
    background-color: #444;
    text-shadow: rgba(0,0,0,0.75) 0 0 0.25em;
    line-height: 1.176em;
    font-size-adjust: 0.43;
    padding: 0.5em !important;
    font-weight: 700;
    background-image: url(/images/b/b3/Box_overlay.png) !important;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.25);
    border-bottom-width: 0;
    position: relative;
    z-index: 1;
    font-size-adjust: 0.52;
    margin: -1px -1px 5px !important;
}

.model-infobox .heading a {
    font-family: EasonPro,"Times New Roman",serif !important;   
    color: #fff !important;
}

.model-infobox-row {
   width: 100%; 
   display: flex; 
   flex-direction: row; 
}

.model-infobox-cell {
   padding-left:10px;
   width: 50%; 
   word-break: break-all;
}

/* frontpage styles */
.frontpage.table {
  margin-bottom: 0.8rem;
}

/* make the header text in each frontpage section larger */
.frontpage .head {
  font-size: 16px
}

/* control the position of text in the body of the welcome message on the frontpage */
.frontpage.welcome .body {
  padding-left:2rem;
  padding-right:2rem;
  text-align: left;
}



/* .table styles */
.table {
  border:1px solid #313235;
}



/* remove header on main page (AI ML Wiki) */
body.page-AI_ML_Wiki header.mw-body-header { 
  display: none;
}

/* remove the empty space below the search bar and above the content */
div.vector-sitenotice-container { 
  display: none;
}


.action-view .mw-body-subheader {
    display:none!important;
}