MediaWiki:Mobile.css

Revision as of 13:29, 4 May 2023 by Alpha5 (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.
/*Do Not display elements with .nomobile class on Mobile*/

.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%; 
}

/* frontpage styles */
.frontpage.table {
  margin-bottom: 0.5rem;
  margin-left: -1rem;
}

/* .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;
}
body.page-AI_ML_Wiki h1#firstHeading {
  display: none;
}


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