MediaWiki:Mobile.css: Difference between revisions

From AI Wiki
No edit summary
No edit summary
Line 2: Line 2:


.model-infobox{
.model-infobox{
    float: right;
     position: relative;
     position: relative;
     width: 300px;
     width: 300px;

Revision as of 14:46, 4 May 2023

/*Do Not display elements with .nomobile class on Mobile*/

.model-infobox{
    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;