Team:TAS Taipei/Templates/cssResources
From 2014hs.igem.org
(Difference between revisions)
Awesomesauce (Talk | contribs) m |
m |
||
Line 2: | Line 2: | ||
<style> | <style> | ||
body { | body { | ||
- | + | background-color:#fffaf0; | |
- | + | background-image:url("http://subtlepatterns.com/patterns/cubes.png"); | |
- | + | <!-- http://subtlepatterns.com/patterns/cubes.png --> | |
+ | <!-- http://subtlepatterns.com/patterns/ricepaper_v3.png --> | ||
+ | background-repeat:repeat; | ||
+ | <!-- background-size:cover; --> | ||
} | } | ||
- | + | #top { | |
- | + | height:40%; | |
- | + | width:100%; | |
+ | display: block; | ||
} | } | ||
- | + | #topSpace { | |
- | + | width:100%; | |
- | + | ||
- | + | ||
} | } | ||
- | + | .imageContainer { | |
- | . | + | float:right; |
- | + | ||
- | + | ||
} | } | ||
- | + | #homeTitleContainer { | |
- | + | <!-- height: 50%; --> | |
- | + | padding: 0% 0% 0% 0%; | |
- | + | ||
} | } | ||
- | + | #homeTitleTextBox { | |
- | # | + | text-align:center; |
- | + | margin: auto auto; | |
- | + | font-size:200px; | |
+ | font-family: 'Abel', sans-serif; | ||
+ | width:100%; | ||
+ | color:#595959; | ||
+ | margin:-40px 0px 0px 0px; | ||
+ | transition: color 0.25s ease; | ||
+ | <!-- -webkit-transform: scale(1, 1.25); --> | ||
+ | <!-- color:#92c988; --> | ||
} | } | ||
- | + | #homeTitleTextBox:hover { | |
- | + | color:#1a1a1a; | |
- | + | <!-- color:#9fd596; --> | |
- | + | } | |
- | + | #bactoImg { | |
- | + | width:45px; | |
- | + | height: auto; | |
- | + | } | |
- | + | .titleLetter { | |
- | + | margin-right: -13px; | |
- | + | margin-left: -13px; | |
- | + | } | |
- | + | #bottom { | |
- | + | height:56%; | |
- | + | width:100%; | |
- | + | } | |
- | + | #bottomList { | |
- | + | list-style-type:none; | |
- | + | display:flex; | |
- | + | } | |
- | + | #bottomList li { | |
- | + | display:inline-block; | |
- | + | width:33%; | |
- | + | height:100%; | |
- | + | } | |
- | + | #menuItems { | |
- | + | padding:0px 0px 0px 0px; | |
- | + | } | |
- | + | #vertMenu li{ | |
- | + | list-style-type:none; | |
- | + | height:auto; | |
- | + | padding:2px 15px 2px 15px; | |
- | + | margin:4px 10px 30.5px 5px; | |
- | + | color:#242424; | |
+ | font-size:25px; | ||
+ | font-family: 'Abel', sans-serif; | ||
+ | <!-- font-family: 'Iceland', cursive; --> | ||
+ | transition: background-color 0.25s ease; | ||
+ | background-color:#3f8a42; | ||
+ | #92c988; dark green | ||
+ | #89abee; dark blue | ||
+ | text-decoration:none; | ||
+ | text-align:center; | ||
+ | border-radius:1px; | ||
+ | <!-- #242424 --> | ||
+ | <!-- padding:10px 25px 10px 25px; --> | ||
+ | } | ||
+ | #vertMenu li:hover{ | ||
+ | background-color:#42a146; | ||
+ | #9fd596; light green | ||
+ | #9cbaf4; light blue | ||
+ | } | ||
+ | #vertMenu a{ | ||
+ | text-decoration:none; | ||
+ | color:black; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#slideShow { | #slideShow { | ||
+ | <!-- height:50%; --> | ||
+ | <!-- margin-bottom:-198.5px; --> | ||
} | } | ||
- | + | <!-- Begin css for slideshow --> | |
#slides { | #slides { | ||
- | + | display: none | |
} | } | ||
#slides .slidesjs-navigation { | #slides .slidesjs-navigation { | ||
- | + | margin-top:3px; | |
} | } | ||
#slides .slidesjs-previous { | #slides .slidesjs-previous { | ||
- | + | margin-right: 5px; | |
- | + | float: left; | |
} | } | ||
#slides .slidesjs-next { | #slides .slidesjs-next { | ||
- | + | margin-right: 5px; | |
- | + | float: left; | |
} | } | ||
.slidesjs-pagination { | .slidesjs-pagination { | ||
- | + | margin: 6px 0 0; | |
- | + | float: right; | |
- | + | list-style: none; | |
} | } | ||
.slidesjs-pagination li { | .slidesjs-pagination li { | ||
- | + | float: left; | |
- | + | margin: 0 1px; | |
} | } | ||
.slidesjs-pagination li a { | .slidesjs-pagination li a { | ||
- | + | display: block; | |
- | + | width: 13px; | |
- | + | height: 0; | |
- | + | padding-top: 13px; | |
- | + | background-image: url(https://lh6.googleusercontent.com/-vtyezdODYvE/U0S2xNtE8TI/AAAAAAAAAJU/KkHRW1n1iQ4/w13-h39-no/pagination.png); | |
- | + | background-position: 0 0; | |
- | + | float: left; | |
- | + | overflow: hidden; | |
} | } | ||
.slidesjs-pagination li a.active, | .slidesjs-pagination li a.active, | ||
.slidesjs-pagination li a:hover.active { | .slidesjs-pagination li a:hover.active { | ||
- | + | background-position: 0 -13px | |
} | } | ||
.slidesjs-pagination li a:hover { | .slidesjs-pagination li a:hover { | ||
- | + | background-position: 0 -26px | |
} | } | ||
#slides a:link, | #slides a:link, | ||
#slides a:visited { | #slides a:visited { | ||
- | + | color: #333 | |
} | } | ||
#slides a:hover, | #slides a:hover, | ||
#slides a:active { | #slides a:active { | ||
- | + | color: #9e2020 | |
} | } | ||
.navbar { | .navbar { | ||
- | + | overflow: hidden | |
} | } | ||
.slideContainer { | .slideContainer { | ||
- | + | margin: 0 auto | |
} | } | ||
+ | <!-- End css for slideshow --> | ||
#projIntroContainer { | #projIntroContainer { | ||
- | + | padding:0px 0px 0px 0px; | |
- | + | text-align:center; | |
+ | |||
+ | } | ||
+ | #projIntro { | ||
+ | margin-top: -8px; | ||
+ | padding-top: 0px; | ||
+ | text-align:justify; | ||
+ | padding-right: 40px; | ||
+ | font-size:18px; | ||
+ | font-family: 'Lato', sans-serif; | ||
+ | font-weight: 400; | ||
+ | <!-- font-family: 'Poiret One', cursive; --> | ||
} | } | ||
- | # | + | @keyframes boxShadowIn |
- | + | { | |
- | + | from {box-shadow:0px 0px 0px #ffffff;} | |
- | + | to {box-shadow:10px 10px 5px #888888;} | |
- | padding-right: | + | } |
- | font-size: | + | /*Safari and Chrome:*/ |
- | font- | + | @-webkit-keyframes boxShadowIn |
+ | { | ||
+ | from {box-shadow:0px 0px 0px #ffffff;} | ||
+ | to {box-shadow:10px 10px 5px #888888;} | ||
+ | } | ||
+ | @keyframes boxShadowOut | ||
+ | { | ||
+ | from {box-shadow:10px 10px 5px #888888;} | ||
+ | to {box-shadow:0px 0px 0px #ffffff;} | ||
+ | } | ||
+ | /*Safari and Chrome:*/ | ||
+ | @-webkit-keyframes boxShadowOut | ||
+ | { | ||
+ | from {box-shadow:10px 10px 5px #888888;} | ||
+ | to {box-shadow:0px 0px 0px #ffffff;} | ||
+ | } | ||
+ | @keyframes textShadowIn | ||
+ | { | ||
+ | from {text-shadow:0px 0px 0px #ffffff;} | ||
+ | to {text-shadow:10px 10px 5px #888888;color:#ffffff;} | ||
+ | } | ||
+ | |||
+ | /*Safari and Chrome:*/ | ||
+ | @-webkit-keyframes textShadowIn | ||
+ | { | ||
+ | from {text-shadow:0px 0px 0px #ffffff;} | ||
+ | to {text-shadow:10px 10px 5px #888888;color:#ffffff;} | ||
+ | } | ||
+ | @keyframes textShadowOut | ||
+ | { | ||
+ | from {text-shadow:10px 10px 5px #888888;color:#ffffff;} | ||
+ | to {text-shadow:0px 0px 0px #ffffff;} | ||
+ | } | ||
+ | |||
+ | /*Safari and Chrome:*/ | ||
+ | @-webkit-keyframes textShadowOut | ||
+ | { | ||
+ | from {text-shadow:10px 10px 5px #888888;color:#ffffff;} | ||
+ | to {text-shadow:0px 0px 0px #ffffff;} | ||
+ | } | ||
+ | |||
+ | /* For tablets & smart phones */ | ||
+ | @media (max-width: 767px) { | ||
+ | body { | ||
+ | padding-left: 20px; | ||
+ | padding-right: 20px; | ||
+ | } | ||
+ | .slideContainer { | ||
+ | width: auto; | ||
+ | position:relative; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /* For smartphones */ | ||
+ | @media (max-width: 480px) { | ||
+ | .slideContainer { | ||
+ | width: auto; | ||
+ | } | ||
+ | #homeTitleTextBox { | ||
+ | font-size:10px; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /* For smaller displays like laptops */ | ||
+ | @media (min-width: 768px) and (max-width: 979px) { | ||
+ | .slideContainer { | ||
+ | width: 600px; | ||
+ | } | ||
+ | #homeTitleTextBox { | ||
+ | font-size:90px; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /* For larger displays */ | ||
+ | @media (min-width: 1200px) { | ||
+ | .slideContainer { | ||
+ | width: 600px; | ||
+ | } | ||
+ | #homeTitleTextBox { | ||
+ | font-size:200px; | ||
+ | } | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 06:51, 14 May 2014