Difference between revisions of "Team:EPF Lausanne/Test/css"
(112 intermediate revisions by the same user not shown) | |||
Line 32: | Line 32: | ||
font-family: 'Open Sans', sans-serif; | font-family: 'Open Sans', sans-serif; | ||
background-color: rgba(16,151,151,0.01); | background-color: rgba(16,151,151,0.01); | ||
− | + | height=100%; | |
} | } | ||
a { | a { | ||
Line 55: | Line 55: | ||
h6, | h6, | ||
p { border-bottom: none;} | p { border-bottom: none;} | ||
+ | |||
+ | .prot-section figure { | ||
+ | border: 1px solid black; | ||
+ | padding: 5px; | ||
+ | } | ||
+ | .interlab-part { | ||
+ | background-color: rgba(16, 151, 152, 0.15); | ||
+ | border-radius: 10px; | ||
+ | } | ||
+ | .interlab-part h2 { | ||
+ | color: black !important; | ||
+ | border-bottom: none !important; | ||
+ | } | ||
+ | .interlab-part img { | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | display: block; | ||
+ | } | ||
+ | .interlab-part p { | ||
+ | text-align: center !important; | ||
+ | } | ||
+ | .interlab-text figure{ | ||
+ | border: none !important; | ||
+ | } | ||
+ | /* ========================================================================== | ||
+ | Human practices | ||
+ | ========================================================================== */ | ||
+ | .human-part p { | ||
+ | text-align: justify; | ||
+ | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Header | Header | ||
Line 61: | Line 91: | ||
display: block; | display: block; | ||
min-width: 100%; | min-width: 100%; | ||
+ | left: -22px; | ||
} | } | ||
.navbar { | .navbar { | ||
Line 82: | Line 113: | ||
vertical-align: middle; | vertical-align: middle; | ||
color: white; | color: white; | ||
− | |||
} | } | ||
.navbar-nav > li:hover { | .navbar-nav > li:hover { | ||
Line 113: | Line 143: | ||
overflow: auto; | overflow: auto; | ||
} | } | ||
+ | /* ========================================================================== | ||
+ | Practices | ||
+ | ========================================================================== */ | ||
+ | .shift { | ||
+ | margin-left: 25%; | ||
+ | } | ||
+ | /* ========================================================================== | ||
+ | Parts | ||
+ | ========================================================================== */ | ||
+ | .parts a > h3 { | ||
+ | color: #109798; | ||
+ | } | ||
+ | .parts a > h3:hover { | ||
+ | color: #981110; | ||
+ | } | ||
+ | |||
/* ========================================================================== | /* ========================================================================== | ||
Home-page | Home-page | ||
========================================================================== */ | ========================================================================== */ | ||
+ | #carousel-home { | ||
+ | padding-top: 30px; | ||
+ | box-shadow: 0px 10px 5px #888888; | ||
+ | } | ||
+ | .carousel-inner { | ||
+ | text-align: center; | ||
+ | } | ||
+ | .carousel-control.left, | ||
+ | .carousel-control.right { | ||
+ | background-image: none; | ||
+ | } | ||
+ | .carousel-control .icon-next, | ||
+ | .carousel-control .icon-prev { | ||
+ | color: black; | ||
+ | } | ||
+ | |||
+ | #Tour-section { | ||
+ | padding-top: 30px; | ||
+ | text-align: center; | ||
+ | } | ||
#Welcome-section { | #Welcome-section { | ||
text-align: center; | text-align: center; | ||
Line 193: | Line 259: | ||
background: url('https://static.igem.org/mediawiki/2015/9/94/EPF_Lausanne_Banner_DNA.png.png') no-repeat top center; | background: url('https://static.igem.org/mediawiki/2015/9/94/EPF_Lausanne_Banner_DNA.png.png') no-repeat top center; | ||
background-size: cover; | background-size: cover; | ||
+ | } | ||
+ | /* ========================================================================== | ||
+ | Button | ||
+ | ========================================================================== */ | ||
+ | .btn { | ||
+ | padding: 14px 24px; | ||
+ | border: 0 none; | ||
+ | font-weight: 700; | ||
+ | letter-spacing: 1px; | ||
+ | text-transform: uppercase; | ||
+ | } | ||
+ | |||
+ | .btn:focus, .btn:active:focus, .btn.active:focus { | ||
+ | outline: 0 none; | ||
+ | } | ||
+ | |||
+ | .btn-primary { | ||
+ | background: #0099cc; | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | |||
+ | .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { | ||
+ | background: #33a6cc; | ||
+ | } | ||
+ | |||
+ | .btn-primary:active, .btn-primary.active { | ||
+ | background: transparent; | ||
+ | box-shadow: none; | ||
+ | } | ||
+ | .btn.outline { | ||
+ | background: none; | ||
+ | padding: 12px 22px; | ||
+ | } | ||
+ | .btn-primary.outline { | ||
+ | border: 2px solid #0099cc; | ||
+ | color: #0099cc; | ||
+ | } | ||
+ | .btn-primary.outline:hover, .btn-primary.outline:focus, .btn-primary.outline:active, .btn-primary.outline.active, .open > .dropdown-toggle.btn-primary { | ||
+ | color: #33a6cc; | ||
+ | border-color: #33a6cc; | ||
+ | } | ||
+ | .btn-primary.outline:active, .btn-primary.outline.active { | ||
+ | border-color: #007299; | ||
+ | color: #007299; | ||
+ | box-shadow: none; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Line 198: | Line 309: | ||
========================================================================== */ | ========================================================================== */ | ||
.background-section h3 { | .background-section h3 { | ||
− | font-weight: | + | font-weight: 500; |
+ | font-size: 30px; | ||
+ | color: #0E6261; | ||
+ | } | ||
+ | .background-section h4 { | ||
+ | border-bottom: solid 1px; | ||
+ | } | ||
+ | .background-section b { | ||
+ | color: #0E6261; | ||
+ | } | ||
+ | .background-section table { | ||
+ | color:#303030; | ||
+ | font-size:12px; | ||
+ | background:#eaebec; | ||
+ | border:#ccc 1px solid; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | |||
+ | -moz-border-radius:3px; | ||
+ | -webkit-border-radius:3px; | ||
+ | border-radius:3px; | ||
+ | |||
+ | -moz-box-shadow: 0 1px 2px #d1d1d1; | ||
+ | -webkit-box-shadow: 0 1px 2px #d1d1d1; | ||
+ | box-shadow: 0 1px 2px #d1d1d1; | ||
+ | } | ||
+ | .background-section table th { | ||
+ | color:#fff; | ||
+ | text-shadow: 0.5px 0.5px 0px #999999; | ||
+ | |||
+ | padding:5px 5px 2px 5px; | ||
+ | border-top:1px solid #fafafa; | ||
+ | border-bottom:1px solid #e0e0e0; | ||
+ | |||
+ | background: rgba(16,151,151,0.6); | ||
+ | background: -webkit-gradient(linear, left top, left bottom, from(rgba(16,151,153,0.6)), to(rgba(16,151,144,0.6))); | ||
+ | background: -moz-linear-gradient(top, rgba(16,151,153,0.6), rgba(16,151,144,0.5)); | ||
+ | } | ||
+ | .background-section table th { | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .background-section table tr:first-child th:first-child { | ||
+ | -moz-border-radius-topleft:3px; | ||
+ | -webkit-border-top-left-radius:3px; | ||
+ | border-top-left-radius:3px; | ||
+ | } | ||
+ | |||
+ | .background-section table tr:first-child th:last-child { | ||
+ | -moz-border-radius-topright:3px; | ||
+ | -webkit-border-top-right-radius:3px; | ||
+ | border-top-right-radius:3px; | ||
+ | } | ||
+ | .background-section table tr { | ||
+ | text-align: center; | ||
+ | } | ||
+ | .background-section table td:first-child { | ||
+ | text-align: center; | ||
+ | } | ||
+ | .background-section table td { | ||
+ | border-top: 1px solid #ffffff; | ||
+ | border-bottom:1px solid #e0e0e0; | ||
+ | border-left: 1px solid #e0e0e0; | ||
+ | |||
+ | background: #fafafa; | ||
+ | background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa)); | ||
+ | background: -moz-linear-gradient(top, #fbfbfb, #fafafa); | ||
+ | } | ||
+ | .background-section table tr.even td { | ||
+ | background: #f6f6f6; | ||
+ | background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6)); | ||
+ | background: -moz-linear-gradient(top, #f8f8f8, #f6f6f6); | ||
+ | } | ||
+ | .background-section table tr:last-child td { | ||
+ | border-bottom:0; | ||
+ | } | ||
+ | .background-section table tr:last-child td:first-child { | ||
+ | -moz-border-radius-bottomleft:3px; | ||
+ | -webkit-border-bottom-left-radius:3px; | ||
+ | border-bottom-left-radius:3px; | ||
+ | } | ||
+ | .background-section table tr:last-child td:last-child { | ||
+ | -moz-border-radius-bottomright:3px; | ||
+ | -webkit-border-bottom-right-radius:3px; | ||
+ | border-bottom-right-radius:3px; | ||
+ | } | ||
+ | |||
+ | .background-section table tr:hover td { | ||
+ | background: #f2f2f2; | ||
+ | background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0)); | ||
+ | background: -moz-linear-gradient(top, #f2f2f2, #f0f0f0); | ||
+ | } | ||
+ | |||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Line 238: | Line 441: | ||
width: 100%; | width: 100%; | ||
padding: 60px 0px; | padding: 60px 0px; | ||
− | |||
} | } | ||
.classy-bar h3 { | .classy-bar h3 { | ||
position: relative; | position: relative; | ||
− | color: | + | color: #032222; |
font-size: 34px; | font-size: 34px; | ||
font-weight: 800; | font-weight: 800; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
top: -20px; | top: -20px; | ||
+ | margin-top: 50px; | ||
+ | letter-spacing: 6px; | ||
} | } | ||
.classy-bar h2 { | .classy-bar h2 { | ||
position: relative; | position: relative; | ||
− | color: | + | color: #032222; |
font-size: 34px; | font-size: 34px; | ||
font-weight: 800; | font-weight: 800; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
top: -20px; | top: -20px; | ||
+ | margin-top: 50px; | ||
+ | letter-spacing: 6px; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Line 261: | Line 467: | ||
.prot-section h1 { | .prot-section h1 { | ||
text-align: center; | text-align: center; | ||
− | |||
font-weight: 600; | font-weight: 600; | ||
font-size: 26px; | font-size: 26px; | ||
Line 268: | Line 473: | ||
} | } | ||
.prot-section h2 { | .prot-section h2 { | ||
− | |||
color: #333333; | color: #333333; | ||
font-weight: 400; | font-weight: 400; | ||
− | |||
− | |||
} | } | ||
.prot-section h3 { | .prot-section h3 { | ||
Line 280: | Line 482: | ||
font-size: 24px; | font-size: 24px; | ||
color: #981110; | color: #981110; | ||
+ | } | ||
+ | .prot-section ol{ | ||
+ | padding-bottom: 20px; | ||
} | } | ||
.prot-section .panel { | .prot-section .panel { | ||
Line 295: | Line 500: | ||
} | } | ||
.prot-section p { | .prot-section p { | ||
+ | padding: 20px; | ||
text-align: justify; | text-align: justify; | ||
font-size: 16px; | font-size: 16px; | ||
Line 325: | Line 531: | ||
} | } | ||
ul.affix-bottom { | ul.affix-bottom { | ||
− | |||
position: absolute; | position: absolute; | ||
− | |||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Line 622: | Line 826: | ||
bottom: 0; | bottom: 0; | ||
background-color: #EBEBEB | background-color: #EBEBEB | ||
− | |||
− | |||
− | |||
} | } | ||
#footer-right { | #footer-right { | ||
− | padding-top: | + | padding-top: 30px; |
} | } | ||
#footer-right h3 { | #footer-right h3 { | ||
Line 634: | Line 835: | ||
} | } | ||
#footer-right p { | #footer-right p { | ||
− | |||
− | |||
− | |||
− | |||
margin-left: 23%; | margin-left: 23%; | ||
} | } | ||
Line 645: | Line 842: | ||
} | } | ||
− | + | /*<!-- TABLE -->*/ | |
− | <!-- TABLE --> | + | |
table a:link { | table a:link { | ||
color: #707070 ; | color: #707070 ; | ||
Line 755: | Line 951: | ||
<!-- Latest compiled and minified JavaScript --> | <!-- Latest compiled and minified JavaScript --> | ||
+ | <script src="http://code.jquery.com/jquery.js"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> | ||
+ | |||
</head> | </head> | ||
</html> | </html> |
Latest revision as of 20:14, 16 September 2015