Template:Team:Waterloo/CSS/baseWiki

From 2014.igem.org

(Difference between revisions)
 
(83 intermediate revisions not shown)
Line 39: Line 39:
body{
body{
   background: #D6DCDE;
   background: #D6DCDE;
-
  font-family: Georgia, serif;
 
-
  font-size: 14px;
 
}
}
a{
a{
   text-decoration: none;
   text-decoration: none;
-
   color: #000;
+
   color: #002bb8;
}
}
li{
li{
   list-style: none;
   list-style: none;
   line-height: 18px;
   line-height: 18px;
 +
}
 +
ol li{
 +
  list-style:decimal;
}
}
table {
table {
Line 55: Line 56:
h1{
h1{
   font-family: 'Oxygen', Helvetica, sans-serif;
   font-family: 'Oxygen', Helvetica, sans-serif;
-
   font-size: 40px;
+
   font-size: 54px;
   font-weight: bold;
   font-weight: bold;
-
  color: #000000;
 
   text-align: center;
   text-align: center;
   margin: 20px 0px 0px 0px !important;
   margin: 20px 0px 0px 0px !important;
Line 67: Line 67:
h2{
h2{
   font-family: 'Oxygen', Helvetica, sans-serif;
   font-family: 'Oxygen', Helvetica, sans-serif;
 +
  font-size: 2em;
   border-bottom: none;
   border-bottom: none;
 +
  font-weight: bold;
 +
}
 +
h3, h4 {
 +
  font-family: 'Oxygen', Helvetica, sans-serif;
 +
}
 +
h4 {
 +
  font-size: 1em;
}
}
-
 
/*Specific class or id elements*/
/*Specific class or id elements*/
.content {
.content {
-
width:80%;
+
  width:65%;
-
background: #F0F0F0;
+
  background: #F0F0F0;
-
margin: auto;
+
  margin: auto;
-
margin-top: 30px;
+
  margin-top: 30px;
 +
  font-family: Georgia, serif;
 +
  font-size: 16px;
}
}
-
div#imgBox{
+
.floatRight {
 +
  float: right;
 +
}
 +
.floatLeft {
 +
  float: left;
 +
}
 +
/* Images */
 +
div.imgBox{
   height: 500px;
   height: 500px;
   width: 70%;
   width: 70%;
Line 84: Line 100:
   margin-top: 30px;
   margin-top: 30px;
   background: #FFFFFF;
   background: #FFFFFF;
 +
}
 +
div.figureContainer {
 +
  text-align: center;
 +
  font-style: italic;
 +
  font-size: 0.8em;
 +
}
 +
img {
 +
  max-width: 100%;
 +
}
 +
img.icon {
 +
  width: 200px;
 +
  padding: 0px 8px;
 +
}
 +
img.smallIcon{
 +
  width: 100px;
 +
  padding: 0px 8px;
 +
}
 +
img.image70{
 +
  width: 70%;
 +
}
 +
img.equation {
 +
  width: 70%;
}
}
img#toTop{
img#toTop{
Line 100: Line 138:
}
}
 +
/*Top Menu*/
div#menubar li {
div#menubar li {
     color: transparent !important;
     color: transparent !important;
Line 116: Line 155:
   width: 200px;
   width: 200px;
}
}
-
 
div.navItems{
div.navItems{
cursor: pointer;
cursor: pointer;
Line 133: Line 171:
/*Tabs*/
/*Tabs*/
-
div.anchor{
+
.anchor {
-
   padding-top: 100px;
+
   /* when hyperlinking within page, to account for floating bar */
 +
  padding-top: 80px;
 +
  margin-bottom: -30px;
 +
  /* adjusted net 50px bottom padding? */
 +
  text-align: justify;
 +
}
 +
.anchor:first-child {
 +
    padding-top: 0px;
}
}
-
 
ul.tabs
ul.tabs
{
{
Line 186: Line 230:
{
{
text-decoration: none;
text-decoration: none;
-
font-weight: bold;
 
background: #9EE0F3;
background: #9EE0F3;
}
}
Line 194: Line 237:
position: relative;
position: relative;
top: 0px;
top: 0px;
-
font-weight:bold;
 
background: #71CCE6;
background: #71CCE6;
color: dimgrey;
color: dimgrey;
Line 204: Line 246:
}
}
-
div.tabcontents
+
.tabcontents
{
{
-
padding: 30px;
+
  padding: 30px 5% 30px;
-
background-color:#FFF;
+
  background-color:#FFF;
}
}
/*Footer*/
/*Footer*/
-
div.footerBorder{
+
.footerBorder{
   width: 100%;
   width: 100%;
   min-width: 900px;
   min-width: 900px;
Line 250: Line 292:
   position: absolute;
   position: absolute;
   margin-left: 35%;
   margin-left: 35%;
-
   margin-top: -170px;
+
   margin-top: -177px;
}
}
Line 256: Line 298:
   position: absolute;
   position: absolute;
   margin-left: 55%;
   margin-left: 55%;
-
   margin-top: -170px;
+
   margin-top: -177px;
}
}
Line 262: Line 304:
   position: absolute;
   position: absolute;
   margin-left: 75%;
   margin-left: 75%;
-
   margin-top: -170px;
+
   margin-top: -177px;
}
}
#footer li.footHeadings{
#footer li.footHeadings{
-
color: #71CCE6;
+
  color: #71CCE6;
-
font-size: 18px;
+
  font-size: 18px;
-
        font-family: Georgia;
+
  font-family: 'Oxygen', Helvetica, sans-serif;
-
font-weight: bold;
+
  font-weight: bold;
-
font-variant: small-caps;
+
  font-variant: small-caps;
-
line-height: 33px;
+
  line-height: 33px;
-
margin-left: -15px;
+
  margin-left: -15px;
 +
}
 +
#footer a {
 +
  color: #FFFFFF;
}
}
ul.flist li{
ul.flist li{
Line 278: Line 323:
}
}
#footer li {
#footer li {
-
display: block;
+
  display: block;
-
        margin: 0;
+
  margin: 0;
}
}
#bodyContent a[href^="https://"], .link-https {
#bodyContent a[href^="https://"], .link-https {
Line 287: Line 332:
.icons{
.icons{
   height: 30px;
   height: 30px;
 +
}
 +
.half-column {
 +
  width: 46%;
 +
  padding: 2%;
 +
}
 +
.blueOnGrey {
 +
  background: #333;
 +
  padding: 15px;
 +
  color:#71CCE6;
 +
}
 +
.blueOnGrey h1, .blueOnGrey h2, .blueOnGrey h3, .blueOnGrey h4 {
 +
  color:#71CCE6;
 +
}
 +
.centerUpper {
 +
  text-transform: uppercase;
 +
  text-align: center;
 +
}
 +
/* Lists on mathbook page */
 +
#MathBook ul li, #Acknowledgements ul li {
 +
  list-style-type: circle;
 +
}
 +
#MathBook ol li,  #Acknowledgements ol li {
 +
  list-style-type: upper-roman;
 +
}
 +
/* Tables */
 +
table.blueBorders {
 +
  border-collapse: collapse;
 +
}
 +
table.blueBorders td {
 +
  border: 1px solid #71CCE6;
 +
  padding: 2px;
 +
}
 +
table.blueBorders thead td {
 +
  color: #71CCE6;
 +
  font-weight: bold;
 +
  font-family: 'Oxygen', Helvetica, sans-serif;
 +
  background-color: #333;
 +
  padding: 5px;
 +
}
 +
 +
/* Special Styles Depending on Screen Size */
 +
@media screen and (max-width: 900px) { /* above tablet size */
 +
  .content {
 +
    width: 70%;
 +
  }
 +
.half-column {
 +
    width: 100%;
 +
    padding: 5px;
 +
    float: none;
 +
  }
 +
}
 +
@media screen and (max-width: 768px) { /* tablet size and below */
 +
    .content {
 +
      font-size: 14px;
 +
    }
 +
    h1 {
 +
      font-size: 40px;
 +
    }
 +
}
 +
@media screen and (max-width: 768px) and (min-width: 480px) { /* tablet size only */
 +
  .content {
 +
    width: 80%;
 +
  }
 +
}
 +
@media screen and (max-width : 480px) { */ smartphones */
 +
    h1 {
 +
      font-size: 30px;
 +
    }
 +
    .content {
 +
      width: 100%;
 +
    }
}
}
</style>
</style>
</html>
</html>

Latest revision as of 03:27, 18 October 2014