Difference between revisions of "MediaWiki:Common.css"

From UCSB Nanofab Wiki
Jump to navigation Jump to search
m (retry)
Line 15: Line 15:
 
}
 
}
 
*/
 
*/
 +
 +
/* Sidebar CSS rules */
 +
 +
/* 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 {
 +
 +
}
 +
 +
/* targets the section title elements */
 +
h3#p-navigation-label {
 +
 +
}
 +
h3#p-Equipment-label {
 +
   
 +
}
 +
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... */

Revision as of 21:28, 21 June 2020

li#n-Lab-Rules a {
 
font-weight: bold;

}


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

/* this doesn't work:  Demis 2020-05-12
#content h6 {
text-indent: 0.5pt;
font-style="italic";
}
*/

/* Sidebar CSS rules */

/* 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 {

}

/* targets the section title elements */
h3#p-navigation-label {

}
h3#p-Equipment-label {
    
}
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... */