Difference between revisions of "MediaWiki:Common.css"

From ISI Support Wiki
Jump to: navigation, search
(Created page with "CSS placed here will be applied to all skins: body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }")
 
Line 2: Line 2:
  
 
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
 
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
 +
 +
/* CATEGORY LINK START
 +
* Created by http://mediawiki.org/User:Kyle_van_der_meer
 +
* Used for Version 2 for non-table layout.
 +
*/
 +
.category_link{
 +
        v-align:top;
 +
        display:inline-block;
 +
        width:144px;          /*Default width part 2*/
 +
}
 +
 +
.category_link a{
 +
        border:1px solid #333; /*Default dark color*/
 +
        color:#fff;            /*Default Light color*/
 +
        background-color:#333; /*Default dark color*/
 +
        padding:2px;
 +
        line-height:1;
 +
        display:block;
 +
}
 +
 +
.category_link a:hover{
 +
        border:1px solid #333; /*Default dark color*/
 +
        color:#333;            /*Default dark color*/
 +
        background-color:#eee; /*Default light color*/
 +
}
 +
/*CATEGORY LINK END*/

Revision as of 14:39, 12 December 2018

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

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/* CATEGORY LINK START
 * Created by http://mediawiki.org/User:Kyle_van_der_meer
 * Used for Version 2 for non-table layout.
 */
.category_link{
        v-align:top;
        display:inline-block; 
        width:144px;           /*Default width part 2*/
}
 
.category_link a{
        border:1px solid #333; /*Default dark color*/
        color:#fff;            /*Default Light color*/
        background-color:#333; /*Default dark color*/
        padding:2px;
        line-height:1;
        display:block;
}
 
.category_link a:hover{
        border:1px solid #333; /*Default dark color*/
        color:#333;            /*Default dark color*/
        background-color:#eee; /*Default light color*/
}
/*CATEGORY LINK END*/