MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(add border?) |
m (tweak bg image) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
display: block; | display: block; | ||
float: left; | float: left; | ||
} | |||
/** | |||
* hikeittable class for skinning normal tables | |||
* keep in sync with commonPrint.css | |||
*/ | |||
.hikeittable { | |||
background-color: #f8f9fa; | |||
color: #222; | |||
margin: 1em 0; | |||
border: 1px solid #a2a9b1; | |||
border-collapse: collapse; | |||
} | |||
.hikeittable > tr > th, | |||
.hikeittable > tr > td, | |||
.hikeittable > * > tr > th, | |||
.hikeittable > * > tr > td { | |||
border: 1px solid #a2a9b1; | |||
padding: 0.2em 0.4em; | |||
} | |||
.hikeittable > tr > th, | |||
.hikeittable > * > tr > th { | |||
background-image:url('http://tehcc.org/clubwiki/images/thumb/Rogers_Ridge_Balds_View_2.jpg/600px-Rogers_Ridge_Balds_View_2.jpg'); | |||
text-align: center; | |||
} | |||
.hikeittable > caption { | |||
font-weight: bold; | |||
} | } | ||
Line 23: | Line 53: | ||
color: #565548; | color: #565548; | ||
font-size: 12px; | font-size: 12px; | ||
float: right; | float: right; | ||
Line 34: | Line 63: | ||
/* padding-left: 5px; */ | /* padding-left: 5px; */ | ||
border: | border: 1px solid #aaaaaa; | ||
/* spacing: 3;*/ | /* spacing: 3;*/ | ||
/* padding: 2; */ | /* padding: 2; */ |
Latest revision as of 22:26, 2 January 2020
/* CSS placed here will be applied to all skins */ /* Hide the 'talk' tab which has been renamed Trip-Maint Reports on specified pages */ body.page-Main_Page li#ca-talk { display: none !important; } /* Special formats for page forms */ label.checkboxLabel { width: 200px; display: block; float: left; } label.radioButtonItem { width: 200px; display: block; float: left; } /** * hikeittable class for skinning normal tables * keep in sync with commonPrint.css */ .hikeittable { background-color: #f8f9fa; color: #222; margin: 1em 0; border: 1px solid #a2a9b1; border-collapse: collapse; } .hikeittable > tr > th, .hikeittable > tr > td, .hikeittable > * > tr > th, .hikeittable > * > tr > td { border: 1px solid #a2a9b1; padding: 0.2em 0.4em; } .hikeittable > tr > th, .hikeittable > * > tr > th { background-image:url('http://tehcc.org/clubwiki/images/thumb/Rogers_Ridge_Balds_View_2.jpg/600px-Rogers_Ridge_Balds_View_2.jpg'); text-align: center; } .hikeittable > caption { font-weight: bold; } /* Template:Infobox_Trail */ .Infobox_Trail { font-family: lucida grande, Helvetica, arial, sans-serif; color: #565548; font-size: 12px; float: right; clear: right; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; /* padding-right: 5px; */ /* padding-left: 5px; */ border: 1px solid #aaaaaa; /* spacing: 3;*/ /* padding: 2; */ horizontal-align: center; width: 350px; } .Infobox_Trail th { height: 1.5em; font-weight: bold; background: #D1CEC3; text-align: left; } .Infobox_Trail td { background: #F4F2ED; text-align: left; } .Infobox_Trail #weatherlink { text-align: center; } .Infobox_Trail #maplink { text-align: center; } .Infobox_Trail #gmap { text-align: center; vertical-align: center; } /* Pad Google AdSense box in portlet in sidebar */ #p-googleadsense .pBody { padding-top: 5px; text-align: center; } /* TOC float right */ /* #toc {float:right;} */ /* Template:Infobox_Shelter */ .Infobox_Shelter { font-family: lucida grande, Helvetica, arial, sans-serif; color: #565548; font-size: 12px; float: right; clear: right; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; /* padding-right: 5px; */ /* padding-left: 5px; */ border: 0; /* spacing: 3;*/ /* padding: 2; */ horizontal-align: center; width: 270px; } .Infobox_Shelter th { height: 1.5em; font-weight: bold; background: #99CC99; text-align: right; } .Infobox_Shelter td { background: #F4F2ED; text-align: left; } .Infobox_Shelter #weatherlink { text-align: center; } .Infobox_Shelter #maplink { text-align: center; } .Infobox_Shelter #gmap { text-align: center; vertical-align: center; } /* Template:Infobox_ATSection */ .Infobox_ATSection { font-family: lucida grande, Helvetica, arial, sans-serif; color: #565548; font-size: 12px; float: right; clear: right; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; /* padding-right: 5px; */ /* padding-left: 5px; */ border: 0; /* spacing: 3;*/ /* padding: 2; */ horizontal-align: center; width: 270px; } .Infobox_ATSection th { height: 1.5em; font-weight: bold; background: #FFCC66; text-align: right; } .Infobox_ATSection td { background: #F4F2ED; text-align: left; } .Infobox_ATSection #weatherlink { text-align: center; } .Infobox_ATSection #maplink { text-align: center; } .Infobox_ATSection #gmap { text-align: center; vertical-align: center; }