Difference between revisions of "MediaWiki:Common.css"

From Hackerspace ACKspace
Jump to: navigation, search
(added subtle top border)
(added some mediawiki styling that should make it look somewhat nicer)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
 +
/* Hide main page heading */
 
body.page-Main_Page h1.firstHeading { display: none; }
 
body.page-Main_Page h1.firstHeading { display: none; }
 +
 +
/* reserve extra space for transcluded (featured) page headers */
 
body.page-Main_Page h6 { font-size: 130%; padding-top: 2em; margin-top: 1em; border-top: 1px solid #ddd; }
 
body.page-Main_Page h6 { font-size: 130%; padding-top: 2em; margin-top: 1em; border-top: 1px solid #ddd; }
 +
 +
/* get rid of some ugly mediawiki styling */
 +
#mw-head-base,
 +
#content,
 +
#footer,
 +
div.vectorTabs,
 +
div.vectorTabs ul li,
 +
div.vectorTabs li a
 +
{
 +
    background-image: none;
 +
}
 +
 +
div.vectorTabs ul li:hover
 +
{
 +
    background-color: #f9f9f9;
 +
}
 +
 +
div.vectorTabs li a,
 +
div.vectorTabs li a span,
 +
#mw-panel div.portal div.body ul li a,
 +
#mw-panel div.portal div.body ul li a:visited
 +
{
 +
    color: #333;
 +
}
 +
 +
div.vectorTabs li a:hover,
 +
div.vectorTabs li a:hover span,
 +
#mw-panel div.portal div.body ul li a:hover,
 +
#mw-panel div.portal div.body ul li a:focus
 +
{
 +
    color: #633;
 +
}
 +
 +
div.vectorTabs li a:hover,
 +
div.vectorTabs li a:hover span
 +
{
 +
    margin-top: 0.05em;
 +
}
 +
 +
#mw-panel div.portal div.body ul li
 +
{
 +
    padding: 0.6em !important;
 +
}
 +
 +
 +
#mw-panel div.portal div.body ul li a,
 +
#mw-panel div.portal div.body ul li a:visited
 +
{
 +
    text-decoration: none;
 +
    display: block;
 +
    line-height: 1.2em;
 +
    padding: 0.6em;
 +
    border-radius: 5px;
 +
}
 +
 +
#mw-panel div.portal h5
 +
{
 +
    text-shadow: 1px 1px 3px rgba(150, 150, 150, 0.3);
 +
    font-size: 85%;
 +
}
 +
 +
#mw-panel div.portal div.body ul li a:hover,
 +
#mw-panel div.portal div.body ul li a:focus
 +
{
 +
    background-color: #f0eeee;
 +
    padding-left: 0.65em;
 +
}

Revision as of 17:19, 21 November 2014

/* CSS placed here will be applied to all skins */

/* Hide main page heading */
body.page-Main_Page h1.firstHeading { display: none; }

/* reserve extra space for transcluded (featured) page headers */
body.page-Main_Page h6 { font-size: 130%; padding-top: 2em; margin-top: 1em; border-top: 1px solid #ddd; }

/* get rid of some ugly mediawiki styling */
#mw-head-base,
#content,
#footer,
div.vectorTabs,
div.vectorTabs ul li,
div.vectorTabs li a
{
    background-image: none;
}

div.vectorTabs ul li:hover
{
    background-color: #f9f9f9;
}

div.vectorTabs li a,
div.vectorTabs li a span,
#mw-panel div.portal div.body ul li a,
#mw-panel div.portal div.body ul li a:visited
{
    color: #333;
}

div.vectorTabs li a:hover,
div.vectorTabs li a:hover span,
#mw-panel div.portal div.body ul li a:hover,
#mw-panel div.portal div.body ul li a:focus
{
    color: #633;
}

div.vectorTabs li a:hover,
div.vectorTabs li a:hover span
{
    margin-top: 0.05em;
}

#mw-panel div.portal div.body ul li
{
    padding: 0.6em !important;
}


#mw-panel div.portal div.body ul li a,
#mw-panel div.portal div.body ul li a:visited
{
    text-decoration: none;
    display: block;
    line-height: 1.2em;
    padding: 0.6em;
    border-radius: 5px;
}

#mw-panel div.portal h5
{
    text-shadow: 1px 1px 3px rgba(150, 150, 150, 0.3);
    font-size: 85%;
}

#mw-panel div.portal div.body ul li a:hover,
#mw-panel div.portal div.body ul li a:focus
{
    background-color: #f0eeee;
    padding-left: 0.65em;
}