Difference between revisions of "Template:HSNU-TAIPEI/main"

 
(28 intermediate revisions by the same user not shown)
Line 30: Line 30:
 
h1, h2, h3, h4, h5, h6 {
 
h1, h2, h3, h4, h5, h6 {
 
   border: none;
 
   border: none;
   color: #00455d;
+
   color: #584b4f;
 
}
 
}
  
Line 67: Line 67:
 
top: 14px;
 
top: 14px;
  
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3b8ed6+0,3c80d8+100&0.95+0,0.95+100 */
+
background: #584b4f;
background: -moz-linear-gradient(-45deg,  hsla(208,65%,54%,0.95) 0%, hsla(214,67%,54%,0.95) 100%); /* FF3.6+ */
+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,hsla(208,65%,54%,0.95)), color-stop(100%,hsla(214,67%,54%,0.95))); /* Chrome,Safari4+ */
+
background: -webkit-linear-gradient(-45deg,  hsla(208,65%,54%,0.95) 0%,hsla(214,67%,54%,0.95) 100%); /* Chrome10+,Safari5.1+ */
+
background: -o-linear-gradient(-45deg,  hsla(208,65%,54%,0.95) 0%,hsla(214,67%,54%,0.95) 100%); /* Opera 11.10+ */
+
background: -ms-linear-gradient(-45deg,  hsla(208,65%,54%,0.95) 0%,hsla(214,67%,54%,0.95) 100%); /* IE10+ */
+
background: linear-gradient(135deg,  hsla(208,65%,54%,0.95) 0%,hsla(214,67%,54%,0.95) 100%); /* W3C */
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f23b8ed6', endColorstr='#f23c80d8',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
+
 
+
 
+
  
 
}
 
}
Line 106: Line 97:
 
float: left;
 
float: left;
 
width: 25%;
 
width: 25%;
 +
}
 +
 +
.logo::before {
 +
    content: "";
 +
    background: url('https://static.igem.org/mediawiki/2015/2/2f/HSNU-TAIPEI_logo.png') no-repeat;
 +
    width: 100px;
 +
    height: 100px;
 +
    -webkit-background-size: contain;
 +
  -moz-background-size: contain;
 +
  -o-background-size: contain;
 +
  background-size: contain;
 +
  display: inline-block;
 +
  display: none;
 
}
 
}
  
 
.logo a {
 
.logo a {
display: block;
+
display: inline-block;
 
width: 180px;
 
width: 180px;
 
margin-top: 28px;
 
margin-top: 28px;
 
         font-size: 32px;
 
         font-size: 32px;
         color: #002c44;
+
         color: #efeae1;
 +
        vertical-align: top;
 
}
 
}
  
Line 146: Line 151:
 
         margin: -8px;
 
         margin: -8px;
 
         padding: 10px 12px;
 
         padding: 10px 12px;
         border: 3px solid #0168d2;
+
         border: 3px solid #42383B;
         color: #003e6f !important;
+
         color: #faf6ec !important;
 
         border-radius: 5px;
 
         border-radius: 5px;
 
}
 
}
Line 173: Line 178:
 
z-index: 100;
 
z-index: 100;
 
         font-size: 32px;
 
         font-size: 32px;
         color: #fff;
+
         color: #584b4f;
 
}
 
}
  
Line 187: Line 192:
 
font-family: Helvetica, sans-serif;
 
font-family: Helvetica, sans-serif;
 
font-weight: 600;
 
font-weight: 600;
color: #0a4175;
+
color: #efeae1;
 
}
 
}
  
Line 195: Line 200:
 
width: 100%;
 
width: 100%;
 
height: 100%;
 
height: 100%;
background: rgba(39, 137, 152, 0.95);
+
background: rgba(239, 234, 225, 0.95);
 
top: 12px;
 
top: 12px;
 
right: 0;
 
right: 0;
Line 203: Line 208:
 
         overflow-y: auto;
 
         overflow-y: auto;
 
margin: 0 !important;
 
margin: 0 !important;
 +
        padding-top: 10px !important;
 
}
 
}
  
Line 215: Line 221:
 
height: 100%;
 
height: 100%;
 
margin: 0;
 
margin: 0;
padding: 30px;
+
padding: 20px 30px;
 
font-size: 150%;
 
font-size: 150%;
color: #fff;
+
color: #584b4f;
 
}
 
}
  
Line 237: Line 243:
 
.mc-container {
 
.mc-container {
 
width: 100%;
 
width: 100%;
         background: #f8fcff;
+
         background: #faf6ec;
 
         padding: 20px;
 
         padding: 20px;
         color: #005d86;
+
         color: #66595c;
 
         min-height: 120vh;
 
         min-height: 120vh;
 
}
 
}
Line 248: Line 254:
 
text-align: center;
 
text-align: center;
 
font-size: 48px;
 
font-size: 48px;
         color: #00455d;
+
         color: #584b4f;
 
         line-height: 1.2;
 
         line-height: 1.2;
 +
        font-weight: bold;
 
}
 
}
  
Line 316: Line 323:
 
font-size: 1.1em;
 
font-size: 1.1em;
 
         padding: 30px 0;
 
         padding: 30px 0;
 +
        color: #66595c;
 +
        font-weight: 300;
 
}
 
}
  
 
.article-title {
 
.article-title {
padding: 20px 10px 0;
+
padding: 20px 10px 0 0;
 
margin: 0 0 20px;
 
margin: 0 0 20px;
 
font-size: 1.5em;
 
font-size: 1.5em;
Line 325: Line 334:
  
 
.article-p {
 
.article-p {
         line-height: 1.4;
+
         line-height: 1.6;
margin: 20px;
+
margin: 20px 0;
 
         margin-top: 0;
 
         margin-top: 0;
 +
        color: #66595c;
 +
}
 +
 +
/* NORMALIZE */
 +
 +
.article-ul,
 +
.article-ol {
 +
margin: 0 !important;
 +
padding-left: 2em !important;
 +
}
 +
.article-p,
 +
.article-ul,
 +
.article-ol {
 +
        font-size: 20.8px;
 
}
 
}
  
Line 429: Line 452:
 
padding: 20px;
 
padding: 20px;
 
width: 100%;
 
width: 100%;
background: rgba(16, 35, 60, .95);
+
    color: #66595c;
 +
    background: #efeae1;
 
text-align: center;
 
text-align: center;
 
}
 
}
Line 524: Line 548:
 
.three-img .img-figure {
 
.three-img .img-figure {
 
   width: 100%;
 
   width: 100%;
 +
}
 +
 +
.table-note {
 +
    margin-bottom: 0 !important;
 +
    padding-bottom: 0 !important;
 +
}
 +
 +
.figure-note {
 +
    margin-top: 0 !important;
 +
    padding-top: 0 !important;
 +
}
 +
 +
/* TABLE */
 +
table {
 +
  border-collapse: collapse;
 +
}
 +
tr {
 +
  background: #f4f7f8;
 +
}
 +
thead th {
 +
  font-weight: 400;
 +
  background: #8a97a0;
 +
  color: #FFF;
 +
}
 +
th, td {
 +
  text-align: center;
 +
  padding: 5px;
 +
  font-weight: 300;
 +
}
 +
tr:nth-child(even) {
 +
  background: #e8eeef;
 +
}
 +
 +
#table-two-colspan {
 +
  padding-left: 40px;
 +
  text-align: left;
 
}
 
}
  
Line 537: Line 597:
 
.img-figure:not(:first-child) {
 
.img-figure:not(:first-child) {
 
         border-left: none;
 
         border-left: none;
}  
+
}
  
 
}
 
}
Line 555: Line 615:
  
 
         .article-title {
 
         .article-title {
        border-bottom: 2px solid #004065;
+
        border-bottom: 2px solid #584b4f;
 
         }
 
         }
 
          
 
          
Line 609: Line 669:
 
.side-nav ul {
 
.side-nav ul {
 
padding-left: 0;
 
padding-left: 0;
 +
        margin-left: 0;
 
}
 
}
  
Line 614: Line 675:
 
list-style: none;
 
list-style: none;
 
margin: 10px;
 
margin: 10px;
padding: 0;
+
padding: 1px;
         width: 101px;
+
         max-width: 120px;
 +
}
 +
 
 +
th, td {
 +
    padding: 20px 10px;
 +
}
 +
 
 +
#table-two-colspan {
 +
  padding-left: 80px;
 +
}
 +
.logo::before {
 +
    display: inline-block;
 
}
 
}
  
Line 645: Line 717:
  
 
.sub-nav {
 
.sub-nav {
  background: #025c8a;
+
  background: #efeae1;
 
}
 
}
  
Line 654: Line 726:
 
border-left: 10px solid transparent;
 
border-left: 10px solid transparent;
 
border-right: 10px solid transparent;
 
border-right: 10px solid transparent;
border-bottom: 10px solid #025c8a;
+
border-bottom: 10px solid #efeae1;
 
position: absolute;
 
position: absolute;
 
top: -10px;
 
top: -10px;
Line 670: Line 742:
 
left: auto;
 
left: auto;
 
overflow: visible;
 
overflow: visible;
 +
                padding-top: 0 !important;
 
}
 
}
  
Line 683: Line 756:
 
padding: 15px;
 
padding: 15px;
 
font-size: 100%;
 
font-size: 100%;
color: #fff;
+
color: #584b4f;
 
}
 
}
  
 
.open-nav a:active,
 
.open-nav a:active,
 
.open-nav a:hover {
 
.open-nav a:hover {
  background: #004a75;
+
  background: #FAF6DD;
 
}
 
}
  
Line 768: Line 841:
 
}
 
}
  
 +
#table-one,
 +
#table-two {
 +
    margin-left: 60px;
 +
}
 +
 +
.table-note {
 +
    padding-left: 60px;
 +
}
  
  

Latest revision as of 08:08, 5 November 2015