MediaWiki:Common.css: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(playing with table color)
m (tweak bg image)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* 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 */
/* Template:Infobox_Trail */
Line 18: Line 63:
   /*  padding-left: 5px; */
   /*  padding-left: 5px; */


   border: 0;
   border: 1px solid #aaaaaa;
   /* spacing: 3;*/
   /* spacing: 3;*/
   /* padding: 2; */
   /* padding: 2; */
Line 24: Line 69:
   horizontal-align: center;
   horizontal-align: center;


   width: 270px;
   width: 350px;
}
}


Line 32: Line 77:
   font-weight: bold;
   font-weight: bold;
   background:  #D1CEC3;
   background:  #D1CEC3;
   text-align: right;
   text-align: left;
}
}


Line 65: Line 110:


/* TOC float right */
/* TOC float right */
#toc {float:right;}
/* #toc {float:right;} */


/* Template:Infobox_Shelter */
/* Template:Infobox_Shelter */
Line 119: 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 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;
}