Difference between revisions of "Template:Uppsala/CSS"

 
(88 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
<html>
 
<html>
 
<style type="text/css">
 
<style type="text/css">
 +
 
body {
 
body {
 
  background-color: ecf0f1ff;
 
  background-color: ecf0f1ff;
 
}
 
}
  
#HQ_page h2, #HQ_page p {
+
.text {
 +
margin:auto;
 +
float: none;
 +
 
 +
}
 +
 
 +
.text img {
 +
margin:auto;
 +
}
 +
 
 +
#HQ_page p {
 +
text-align: left;
 +
}
 +
 
 +
#HQ_page h2, #HQ_page p, #HQ_page h3, #HQ_page h4, figcaption {
 
   color: #34495e;
 
   color: #34495e;
 
}
 
}
  
a:hover, a:active {
+
figcaption {
  text-decoration: none;
+
font-style: italic;
 +
margin-bottom: 10px;
 
}
 
}
  
#panel {
+
#HQ_page h1, #HQ_page h2, #HQ_page h3, #HQ_page h4 {
    background-color: ghostwhite;
+
  /*margin: 1.414em 0 0.5em; */
    color: #34495e;
+
  font-weight: inherit;
    padding: 50px;
+
  line-height: 1.2;
    border-radius: 10px;
+
    transition: box-shadow 0.1s, background-color 0.1s, transform 0.1s;
+
 
}
 
}
  
#panel:hover {
+
#HQ_page h1 {
    background-color: #2ecd70;
+
  margin-top: 0;
    color: ghostwhite;
+
  font-size: 6.854em;
    padding: 50px;
+
    border-radius: 10px;
+
    transition: box-shadow 0.1s, background-color 0.1s, transform 0.1s;
+
 
}
 
}
  
#panel * {
+
div.thumb div {
    transition: transform 0.1s;
+
border: 0px solid white;
 
}
 
}
  
#panel:active * {
+
#HQ_page h2 {font-size: 4.236em;}
    transform: translate(0px, 5px);
+
 
 +
#HQ_page h3 {font-size: 2.618em;}
 +
 
 +
#HQ_page h4 {font-size: 1.618em;}
 +
 
 +
#HQ_page p {
 +
    /* line-height: 33px; */
 +
    line-height: 1.45;
 +
      /* font-size: 22px; */
 +
    font-size: 1.25em;
 +
    font-family: 'Lora', serif;
 
}
 
}
  
#panel:active {
+
small, .font_small {font-size: 0.707em;}
    -webkit-box-shadow: inset 5px 5px 0px 0px rgba(0, 0, 0, 0.2);
+
 
    -moz-box-shadow: inset 5px 5px 0px 0px rgba(0, 0, 0, 0.2);
+
figcaption { font-family: 'Lora', serif; }
    box-shadow: inset 0px 5px 0px 0px rgba(0, 0, 0, 0.2);
+
 
    background-color: 2ecd70;
+
a:hover, a:active {
 +
  text-decoration: none;
 
}
 
}
  
#HQ_page h1 {
+
.results {
     font-family: 'Lato', sans-serif;
+
     /*width: 400px;*/
     font-weight: 300;
+
    margin-bottom: 10px;
 +
     margin-top: 50px;
 
     color: ghostwhite;
 
     color: ghostwhite;
    font-size: 80px;
 
 
}
 
}
  
#HQ_page h2 {
+
.big {
     font-family: 'Open Sans', sans-serif;
+
     margin: 7% 0% 0% 0%;
     font-size: 36px;
+
    padding-bottom: 5%;
+
     padding-top: 5%;
 +
   
 
}
 
}
  
#HQ_page h3 {
+
.mybutton {
  font-family: 'Open Sans', sans-serif;
+
    background-color: #2ecd70;
  font-size: 36px;
+
    border-radius: 10px;
 +
    -webkit-box-shadow: 0px 10px 0px 0px rgba(43, 191, 104, 1);
 +
    -moz-box-shadow: 0px 10px 0px 0px rgba(43, 191, 104, 1);
 +
    box-shadow: 0px 10px 0px 0px rgba(43, 191, 104, 1);
 +
    border: none;
 +
    cursor: pointer;
 
}
 
}
  
#HQ_page p {
+
 
    line-height: 33px;
+
 
    font-size: 22px;
+
.mybutton:active {
    font-family: 'Lora', serif;
+
    -webkit-box-shadow: 0px 5px 0px 0px rgba(43, 191, 104, 1);
 +
    ;
 +
    -moz-box-shadow: 0px 5px 0px 0px rgba(43, 191, 104, 1);
 +
    ;
 +
    box-shadow: 0px 5px 0px 0px rgba(43, 191, 104, 1);
 +
    ;
 +
    transform: translateY(5px);
 
}
 
}
 +
 +
.panel {
 +
border: none;
 +
}
 +
 +
  
 
<!-- #sideMenu .mainMenu_toggle {
 
<!-- #sideMenu .mainMenu_toggle {
Line 76: Line 116:
  
 
.jumbotron {
 
.jumbotron {
     background-image: url(https://static.igem.org/mediawiki/2016/4/42/Uppsala_jumbotron_header.jpeg);
+
     background-image: url(https://static.igem.org/mediawiki/2016/d/da/T--Uppsala--main_lab_blurry.png);
    height: 700px;
+
    /*background-image: url(https://static.igem.org/mediawiki/2016/4/42/Uppsala_jumbotron_header.jpeg); */
 
     background-size: cover;
 
     background-size: cover;
 +
}
 +
 +
.jumbotron img {
 +
    height: 60%;
 +
    width: 60%;
 +
}
 +
 +
#header img {
 +
    height: 25%;
 +
    width: 25%;
 
}
 
}
  
 
.jumbotron h1 {
 
.jumbotron h1 {
    border: 10px solid ghostwhite !important;
 
 
     margin-left: 50px;
 
     margin-left: 50px;
 
     margin-right: 50px;
 
     margin-right: 50px;
 
     padding-bottom: 40px;
 
     padding-bottom: 40px;
 +
}
 +
 +
.jumbotron h2 {
 +
    margin: 0px;
 +
    color: white !important;
 
}
 
}
  
 
.nav {
 
.nav {
     border-bottom: 3px ghostwhite solid;
+
     margin-bottom: 50px;
 
}
 
}
  
 
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
 
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
 
       margin: 0 0 0 0;
 
       margin: 0 0 0 0;
 +
}
 +
 +
.team-content {
 +
border-top: 1px solid #eee;
 +
padding: 30px 30px 30px 30px;
 +
}
 +
 +
.nav-tabs {
 +
border-bottom: none;
 
}
 
}
  
Line 107: Line 170:
 
.nav>li>a:focus,
 
.nav>li>a:focus,
 
.nav>li a:hover {
 
.nav>li a:hover {
     background: #7ee2a8;
+
     background: #2ecd70;
 
     color: whitesmoke;
 
     color: whitesmoke;
 
}
 
}
Line 114: Line 177:
 
     background: #7ee2a8;
 
     background: #7ee2a8;
 
     color: whitesmoke;
 
     color: whitesmoke;
    -webkit-box-shadow: inset 3px 3px 0px 0px rgba(37,163,89,0.3);
 
    -moz-box-shadow: inset 5px 5px 0px 0px rgba(37,163,89,0.3);
 
    box-shadow: inset 3px 3px 0px 0px rgba(37,163,89,0.3);
 
 
}
 
}
  
Line 129: Line 189:
 
}
 
}
  
 
.nav-tabs {
 
    margin-bottom: 3;
 
}
 
  
 
footer {
 
footer {
Line 251: Line 307:
 
   margin-bottom: 0;
 
   margin-bottom: 0;
 
}
 
}
 +
 +
/*
 +
* Blog posts
 +
*/
 +
 +
.blog-post {
 +
  margin-bottom: 60px;
 +
}
 +
.blog-post-title {
 +
  margin-bottom: 5px;
 +
  font-size: 40px;
 +
}
 +
.blog-post-meta {
 +
  margin-bottom: 20px;
 +
  color: #999;
 +
}
 +
  
 
html body div.
 
html body div.
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 12:05, 19 October 2016