Difference between revisions of "MediaWiki:Common.css"

From UCSB Nanofab Wiki
Jump to navigation Jump to search
Line 9: Line 9:
  
 
/* MediaWiki:Sidebar CSS rules */
 
/* MediaWiki:Sidebar CSS rules */
 +
 +
/* remove the first Section title causing a blank space */
 +
div#p-InvisibleMenu {
 +
display:none!important;
 +
}
  
 
/* targets the div holding the logo */
 
/* targets the div holding the logo */
Line 20: Line 25:
 
}
 
}
  
 +
 +
/* Bold specific sidebar items: */
 
li#n-Lab-Rules a {
 
li#n-Lab-Rules a {
 
 
   font-weight: bold;
 
   font-weight: bold;
 
 
}
 
}
  
 
+
li#n-COVID-19 a {
div#p-InvisibleMenu {
+
  font-weight: bold;
display:none!important;
 
 
}
 
}
  

Revision as of 15:04, 19 October 2020

/* Site-wide mods */

/* disable "discussion" link on every page */
li#ca-talk { display:none!important; }

/*-------------------------------*/



/* MediaWiki:Sidebar CSS rules */

/* remove the first Section title causing a blank space */
div#p-InvisibleMenu {
display:none!important;
}

/* targets the div holding the logo */
div#p-logo {
    /* CSS goes here */
}

/* targets the link inside the logo div */
div#plogo a.mw-wiki-logo {

}


/* Bold specific sidebar items: */
li#n-Lab-Rules a {
   font-weight: bold;
}

li#n-COVID-19 a {
   font-weight: bold;
}



/*-----------------------------------*/
/* Sidebar title elements */

h3#p-navigation-label {

}
h3#p-Equipment-label {
    font-size: 32pt;
    font-weight: bold;
}
h3#p-Recipes_and_Data-label {
    
}
h3#p-Facility_Data-label {
    
}
h3#p-Editing_Tools-label {
    
}
h3#p-p-tb-label {
    
}

/* For the spacing between elements, you want to target all li elements inside of the section divs and increase the padding top and bottom on those elements */
div#p-navigation li {

}

div#p-Equipment li {


}

/* etc... */