MediaWiki:Common.css

From WikiPathways

(Difference between revisions)
Jump to: navigation, search
Current revision (20:35, 16 November 2013) (view source)
(updated bkgd color for underconstruction table rows)
 
(39 intermediate revisions not shown.)
Line 1: Line 1:
-
/** CSS placed here will be applied to all skins */
+
.helphint.redBg {
-
 
+
        border-left: 10px solid #b22222; /* Red */
-
/*****
+
background-color: #fee;  /* Pink */
-
* Panels for frontpage
+
padding: 0.25em 0.5em;         /* 0.5em left/right */
-
******/
+
-
.helphint {
+
-
         margin-left:1em;
+
-
        margin-right:1em;
+
}
}
-
.frontPagePanel {
+
body.page-Help_WikiPathways_Webservice h1.firstHeading { display:none; }
-
font: inherit;
+
body.page-Help_WikiPathways_Webservice_WikiPathwaysSearch h1.firstHeading { display:none; }
-
}
+
body.page-Help_WikiPathways_Webservice_AtlasMapper h1.firstHeading { display:none; }
 +
body.page-Help_WikiPathways_Webservice_Taverna h1.firstHeading { display:none; }
 +
body.page-Help_WikiPathways_Webservice_Cytoscape h1.firstHeading { display:none; }
-
div.frontPagePanel {
+
/* Remove after M13 release */
-
vertical-align: top;
+
#nav, #nav ul {
-
height: 50%;
+
padding: 0;
-
width: 50%;
+
margin: 0;
-
padding-top: 0.3em;
+
list-style: none;
-
        padding-left: 0.4em;
+
z-index: 10000
-
        padding-right: 0.3em;
+
}
}
-
h2.frontPagePanel {
+
.notUnderConstruction { background-color: #F2D0D0; }
-
margin-top: 0;
+
 
-
font-size: 120%;
+
.tag-icons a:first-child {
-
font-weight: bold;
+
  margin-left: 1em;
-
text-indent: 0.4em;
+
-
        vertical-align: middle;
+
-
        padding: 0.2em 0.4em;
+
}
}
-
/** yellow is the new purple */
+
.tag-icons img {
-
.yellowBg {
+
  width: auto;
-
background-color: #ffffff;
+
  height: 1em;
-
border: 1px solid #ffffff;
+
-
}
+
-
.yellowFg {
+
-
background-color: #ffffdd;
+
-
border:1px solid #a3b0bf;
+
-
}
+
-
.redBg {
+
-
background-color: #fffcfa;
+
-
border: 1px solid #f2cdcd;
+
-
}
+
-
.redFg {
+
-
background-color:#ef8b88;
+
-
border:1px solid #a3b0bf;
+
}
}
-
.greenBg {
+
 
-
background-color: #f5fff8;  
+
ul#browseListBody {
-
border: 1px solid #cef2e0;
+
  list-style-image: none;
-
}
+
  list-style-type: none;
-
.greenFg {
+
  height: 55em;
-
background-color:#cef2e0;
+
-
border:1px solid #a3b0bf;
+
}
}
-
.blueBg {
+
/* infinite-item is vestigial, but a selector for the column list */
-
background-color: #f5faff;
+
ul#browseListBody li.infinite-item {
-
border: 1px solid #cedff2;
+
  float: left;
-
}
+
  width: 33%
-
.blueFg {
+
-
background-color: #cedff2;
+
-
border:1px solid #a3b0bf;
+
}
}
-
/*****
+
ul#browseListBody li ul {
-
** Table formatting
+
   list-style-image: none;
-
*****/
+
-
  table.wikitable,
+
-
  table.prettytable {
+
-
      margin:1em 1em 1em 0;
+
-
      background:#F9F9F9;
+
-
      border:1px #AAA solid;
+
-
      border-collapse:collapse;
+
-
      }
+
-
 
+
-
  table.wikitable th, table.wikitable td,
+
-
  table.prettytable th, table.prettytable td {
+
-
      border:1px #AAA solid;
+
-
      padding:0.2em;
+
-
      }
+
-
 
+
-
  table.wikitable th,
+
-
  table.prettytable th {
+
-
      background:#F2F2F2;
+
-
      text-align:center;
+
-
      }
+
-
 
+
-
  table.wikitable caption,
+
-
  table.prettytable caption {
+
-
      margin-left:inherit;
+
-
      margin-right:inherit;
+
-
      }
+
-
 
+
-
/******
+
-
* Rounded corners in Mozilla
+
-
******/
+
-
#p-cactions ul li, #p-cactions ul li a {
+
-
   -moz-border-radius-topleft: 1em;
+
-
  -moz-border-radius-topright: 1em;
+
-
}
+
-
#content {
+
-
  -moz-border-radius-topleft: 1em;
+
-
  -moz-border-radius-bottomleft: 1em;
+
-
}
+
-
div.pBody {
+
-
  -moz-border-radius-topright: 1em;
+
-
  -moz-border-radius-bottomright: 1em;
+
}
}
-
/* same following the css3 draft specs, any browsers supporting this? */
+
ul#browseListBody li ul li {
-
#p-cactions ul li, #p-cactions ul li a {
+
   min-height: 2em;
-
   border-radius-topleft: 1em;
+
   overflow: auto;
-
   border-radius-topright: 1em;
+
   float: left;
-
}
+
   width: 33%
-
#content {
+
-
   border-radius-topleft: 1em;
+
-
   border-radius-bottomleft: 1em;
+
-
}
+
-
div.pBody {
+
-
  border-radius-topright: 1em;
+
-
  border-radius-bottomright: 1em;
+
}
}

Current revision

.helphint.redBg {
        border-left: 10px solid #b22222; /* Red */
	background-color: #fee;  /* Pink */
	padding: 0.25em 0.5em;         /* 0.5em left/right */
}

body.page-Help_WikiPathways_Webservice h1.firstHeading { display:none; }
body.page-Help_WikiPathways_Webservice_WikiPathwaysSearch h1.firstHeading { display:none; }
body.page-Help_WikiPathways_Webservice_AtlasMapper h1.firstHeading { display:none; }
body.page-Help_WikiPathways_Webservice_Taverna h1.firstHeading { display:none; }
body.page-Help_WikiPathways_Webservice_Cytoscape h1.firstHeading { display:none; }

/* Remove after M13 release */
#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	z-index: 10000
}

.notUnderConstruction { background-color: #F2D0D0; }

.tag-icons a:first-child {
   margin-left: 1em;
}

.tag-icons img {
   width: auto;
   height: 1em;
}


ul#browseListBody {
  list-style-image: none;
  list-style-type: none;
  height: 55em;
}

/* infinite-item is vestigial, but a selector for the column list */
ul#browseListBody li.infinite-item {
  float: left;
  width: 33%
}

ul#browseListBody li ul {
  list-style-image: none;
}

ul#browseListBody li ul li {
  min-height: 2em;
  overflow: auto;
  float: left;
  width: 33%
}