MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Add talk tab hiding for specified pages |
m tweak bg image |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
/* Hide the 'talk' tab which has been renamed Trip-Maint Reports on specified pages */ | /* Hide the 'talk' tab which has been renamed Trip-Maint Reports on specified pages */ | ||
body.page-Main_Page li#ca-talk { display: none !important; } | 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 */ | /* Template:Infobox_Trail */ | ||
| Line 21: | Line 63: | ||
/* padding-left: 5px; */ | /* padding-left: 5px; */ | ||
border: | border: 1px solid #aaaaaa; | ||
/* spacing: 3;*/ | /* spacing: 3;*/ | ||
/* padding: 2; */ | /* padding: 2; */ | ||
| Line 27: | Line 69: | ||
horizontal-align: center; | horizontal-align: center; | ||
width: | width: 350px; | ||
} | } | ||
| Line 35: | Line 77: | ||
font-weight: bold; | font-weight: bold; | ||
background: #D1CEC3; | background: #D1CEC3; | ||
text-align: | text-align: left; | ||
} | } | ||
| Line 68: | Line 110: | ||
/* TOC float right */ | /* TOC float right */ | ||
#toc {float:right;} | /* #toc {float:right;} */ | ||
/* Template:Infobox_Shelter */ | /* Template:Infobox_Shelter */ | ||
| Line 122: | Line 164: | ||
.Infobox_Shelter #gmap | .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; | text-align: center; | ||
vertical-align: center; | vertical-align: center; | ||
} | } | ||
Latest revision as of 23: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;
}