Difference between revisions of "MediaWiki:Common.css"

From Hubitat Documentation
Jump to: navigation, search
Line 7: Line 7:
 
/* CSS FOR DOCUMENTATION PAGE*/
 
/* CSS FOR DOCUMENTATION PAGE*/
 
body.page-Documentation.action-view h1.firstHeading, body.page-Documentation.action-submit h1.firstHeading { display: none; }
 
body.page-Documentation.action-view h1.firstHeading, body.page-Documentation.action-submit h1.firstHeading { display: none; }
body.page-Documentation.action-view p.img, body.page-Documentation.action-submit p.img {  
+
body.page-Documentation.action-view #p.img, body.page-Documentation.action-submit #p.img {  
 
     margin: 10px;
 
     margin: 10px;
 
     border-radius: 8px;
 
     border-radius: 8px;

Revision as of 14:41, 22 March 2021

/* CSS placed here will be applied to all skins #382e2b*/

/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}
/* CSS FOR DOCUMENTATION PAGE*/
body.page-Documentation.action-view h1.firstHeading, body.page-Documentation.action-submit h1.firstHeading { display: none; }
body.page-Documentation.action-view #p.img, body.page-Documentation.action-submit #p.img { 
    margin: 10px;
    border-radius: 8px;
}


html, body { font-family: "Helvetica","Arial",sans-serif; }
#n-randompage, #t-whatlinkshere, #t-recentchangeslinked, #ca-talk, #ca-viewsource, #ca-history, #ca-view, #ca-nstab-main, #footer-info-lastmod, #mw-redirectedfrom {display: none !important;}
body { background-color: #382e2b;}
#mw-page-base { background: unset; background-color: #382e2b; }
#mw-panel .portal .body li a { color: white }
#mw-panel .portal .body li a:visited { color: white }
#mw-panel .portal h3 { color: white }
#p-logo { height: unset }
#p-logo a { background-color: #81BC00; background-image: url('https://my.hubitat.com/img/hub-logo.svg');
background-size: 160px;
background-repeat:   no-repeat;
background-position: center center;
margin-left: -8px;
padding-right: 16px;
height:80px; }
#p-logo img {display:none}
#mw-head #p-personal a, #mw-head #p-personal a:visited { color: white }
#footer ul li, #footer a, #footer a:visited {color:white}
#p-cactions {background-color:white}
ca-talk { display:none!important; }
#ca-viewsource { display: none !important; }
#p-views.vectorTabs { display: none !important; }
#p-namespaces.vectorTabs { display: none !important; }
#toc { font-size: 120%; }


#column-content { display: none !important; }
#content { margin: 2.8em 0 0 0; }
#p-tb-label { display: none !important; }
#p-cactions { left: .1em; }
#mw-panel #p-logo + .portal {
    display: none;
    margin-top: 0;
}

#content {
    margin: 0;
}

#footer {
    margin-left: 0;
    padding: 1.25em;
}

#footer, #footer-icons {
    margin-right: 5.5em;
}