Template:Team:BNU-China/CSS/main
From 2014.igem.org
(Difference between revisions)
(112 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<head> | <head> | ||
<style> | <style> | ||
- | |||
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear, .center {display: none;} /*-- hides default wiki settings --*/ | #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear, .center {display: none;} /*-- hides default wiki settings --*/ | ||
Line 44: | Line 43: | ||
.low_version{ | .low_version{ | ||
z-index:-1; | z-index:-1; | ||
+ | animation:show 30s; | ||
+ | -moz-animation:show 30s; /* Firefox */ | ||
+ | -webkit-animation:show 30s; /* Safari and Chrome */ | ||
+ | -o-animation:show 30s; /* Opera */ | ||
+ | } | ||
+ | @keyframes show | ||
+ | { | ||
+ | from {color:black;} | ||
+ | to {color:#F00;} | ||
} | } | ||
.low_version p{ | .low_version p{ | ||
font-size:15px; | font-size:15px; | ||
- | + | } | |
Line 143: | Line 151: | ||
background: #1a1a1a; | background: #1a1a1a; | ||
color: #4d4d4d; | color: #4d4d4d; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 14px; | font-size: 14px; | ||
} | } | ||
Line 149: | Line 157: | ||
font-size: 14px; | font-size: 14px; | ||
line-height: 20px; | line-height: 20px; | ||
+ | margin-top:5px; | ||
+ | margin-bottom: 5px; | ||
} | } | ||
a { | a { | ||
- | color: # | + | color: #EA7E73; |
text-decoration: none; | text-decoration: none; | ||
-webkit-transition:all 200ms ease-in; | -webkit-transition:all 200ms ease-in; | ||
Line 157: | Line 167: | ||
} | } | ||
a:hover { | a:hover { | ||
- | color: # | + | color: #999889#999889; |
} | } | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
font-family: 'Museo500'; | font-family: 'Museo500'; | ||
- | color: # | + | color: #EA7E73; |
font-weight: normal; | font-weight: normal; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
Line 168: | Line 178: | ||
font-size: 22px; | font-size: 22px; | ||
line-height: 26px; | line-height: 26px; | ||
+ | text-align: center; | ||
} | } | ||
h2 { | h2 { | ||
Line 202: | Line 213: | ||
} | } | ||
ol { | ol { | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 14px; | font-size: 14px; | ||
list-style: decimal; | list-style: decimal; | ||
Line 213: | Line 224: | ||
} | } | ||
.intro { | .intro { | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 21px; | font-size: 21px; | ||
line-height: 31px; | line-height: 31px; | ||
Line 220: | Line 231: | ||
} | } | ||
blockquote { | blockquote { | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 18px; | font-size: 18px; | ||
font-weight: normal; | font-weight: normal; | ||
Line 259: | Line 270: | ||
} | } | ||
.lite1 { | .lite1 { | ||
- | color: # | + | color: #EA7E73; |
} | } | ||
.lite2 { | .lite2 { | ||
- | border-bottom: 1px dotted # | + | border-bottom: 1px dotted #EA7E73; |
} | } | ||
a.button { | a.button { | ||
- | background: #5499c3 | + | background: #5499c3; |
border: none; | border: none; | ||
- | |||
-webkit-border-radius: 3px; | -webkit-border-radius: 3px; | ||
-moz-border-radius: 3px; | -moz-border-radius: 3px; | ||
border-radius: 3px; | border-radius: 3px; | ||
color: #fff; | color: #fff; | ||
- | font-family: | + | font-family:Georgia, "Times New Roman", Times, serif; |
font-size: 14px; | font-size: 14px; | ||
padding: 6px 15px 6px 15px; | padding: 6px 15px 6px 15px; | ||
Line 281: | Line 291: | ||
-moz-transition:all 200ms ease-in; | -moz-transition:all 200ms ease-in; | ||
} | } | ||
+ | |||
+ | .fig { | ||
+ | background-color: rgba(226,210,197,0.5); | ||
+ | font-size:12px; | ||
+ | padding: 8px 20px 8px 20px; | ||
+ | border-radius: 0.5em 0.5em 0.5em 0.5em; | ||
+ | } | ||
+ | |||
/* Webkit Fix */ | /* Webkit Fix */ | ||
@media screen and (-webkit-min-device-pixel-ratio:0) { | @media screen and (-webkit-min-device-pixel-ratio:0) { | ||
Line 329: | Line 347: | ||
a.button.red:hover { | a.button.red:hover { | ||
color: #fff; | color: #fff; | ||
- | background-color: # | + | background-color: #EA7E73; |
} | } | ||
Line 393: | Line 411: | ||
} | } | ||
#header { | #header { | ||
- | padding: | + | padding: 0 0 0 0; |
display: block; | display: block; | ||
overflow: hidden; | overflow: hidden; | ||
Line 400: | Line 418: | ||
.logo { | .logo { | ||
float: left; | float: left; | ||
+ | margin-top: 10px; | ||
+ | margin-bottom: 20px; | ||
} | } | ||
.social { | .social { | ||
Line 459: | Line 479: | ||
padding: 0; | padding: 0; | ||
background: none; | background: none; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-style: normal; | font-style: normal; | ||
font-size: 14px; | font-size: 14px; | ||
Line 478: | Line 498: | ||
ul.latest-posts li span.date { | ul.latest-posts li span.date { | ||
float: left; | float: left; | ||
- | font-family: | + | font-family:Georgia, "Times New Roman", Times, serif; |
padding-right: 15px; | padding-right: 15px; | ||
padding-top: 2px; | padding-top: 2px; | ||
Line 522: | Line 542: | ||
.menu { | .menu { | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
list-style: none; | list-style: none; | ||
font-weight: bold; | font-weight: bold; | ||
Line 537: | Line 557: | ||
margin: 0; | margin: 0; | ||
list-style-type: none; | list-style-type: none; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-style: normal; | font-style: normal; | ||
letter-spacing: normal; | letter-spacing: normal; | ||
Line 550: | Line 570: | ||
.menu ul li a { | .menu ul li a { | ||
display: block; | display: block; | ||
- | |||
text-decoration: none; | text-decoration: none; | ||
display:block; | display:block; | ||
line-height: 1; | line-height: 1; | ||
border-right: 1px solid #b4b4b4; | border-right: 1px solid #b4b4b4; | ||
- | font-size: | + | font-size: 15px; |
} | } | ||
Line 567: | Line 586: | ||
} | } | ||
.menu ul li a:link, .menu ul li a:visited { | .menu ul li a:link, .menu ul li a:visited { | ||
- | color: # | + | color: #EA7E73; |
} | } | ||
.menu ul li a.active { | .menu ul li a.active { | ||
- | color: # | + | color: #EA7E73; |
} | } | ||
.menu ul li a.selected { | .menu ul li a.selected { | ||
background: #fff; | background: #fff; | ||
- | color: # | + | color: #EA7E73; |
} | } | ||
.menu ul li a:hover { | .menu ul li a:hover { | ||
background: rgba(255,255,255,0.8); | background: rgba(255,255,255,0.8); | ||
- | color: # | + | color: #999889; |
} | } | ||
.menu ul li ul { | .menu ul li ul { | ||
Line 632: | Line 651: | ||
} | } | ||
.quote em { | .quote em { | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-style: normal; | font-style: normal; | ||
} | } | ||
Line 660: | Line 679: | ||
.showcase-content-container { | .showcase-content-container { | ||
background-color: #000; | background-color: #000; | ||
+ | border-radius: 0.5em 0.5em 0.5em 0.5em; | ||
} | } | ||
.showcase-arrow-previous, .showcase-arrow-next { | .showcase-arrow-previous, .showcase-arrow-next { | ||
Line 713: | Line 733: | ||
position: absolute; | position: absolute; | ||
bottom: 10px; | bottom: 10px; | ||
- | |||
display: none; | display: none; | ||
width: auto; | width: auto; | ||
- | + | background-color: rgba(255,255,255,0.3) | |
} | } | ||
.showcase-onepage .showcase-content { | .showcase-onepage .showcase-content { | ||
Line 851: | Line 870: | ||
.one-half { | .one-half { | ||
- | width: | + | width:46%; |
} | } | ||
.one-third { | .one-third { | ||
width:30.66%; | width:30.66%; | ||
} | } | ||
- | .two-third { | + | .two-third p{ |
- | + | padding-top: 20px; | |
} | } | ||
.one-fourth { | .one-fourth { | ||
width:22%; | width:22%; | ||
} | } | ||
- | .one-fourth img{width: | + | .one-fourth img{width:35% !important;} |
.three-fourth { | .three-fourth { | ||
width:74%; | width:74%; | ||
Line 919: | Line 938: | ||
.carousel .jcarousel-item img { | .carousel .jcarousel-item img { | ||
padding: 0; | padding: 0; | ||
+ | border-radius: 0.5em 0.5em 0.5em; | ||
+ | } | ||
+ | .carousel .jcarousel-item img { | ||
+ | border-radius: 0.5em 0.5em 0.5em !important; | ||
} | } | ||
.carousel .jcarousel-container { | .carousel .jcarousel-container { | ||
Line 996: | Line 1,019: | ||
} | } | ||
.forms fieldset { | .forms fieldset { | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 14px; | font-size: 14px; | ||
} | } | ||
Line 1,031: | Line 1,054: | ||
padding: 0 10px; | padding: 0 10px; | ||
color: #4d4d4d; | color: #4d4d4d; | ||
- | font-family: | + | font-family:Georgia, "Times New Roman", Times, serif; |
font-size: 13px; | font-size: 13px; | ||
display: inline; | display: inline; | ||
Line 1,047: | Line 1,070: | ||
resize: none; | resize: none; | ||
color: #4d4d4d; | color: #4d4d4d; | ||
- | font-family: | + | font-family:Georgia, "Times New Roman", Times, serif; |
font-size: 13px; | font-size: 13px; | ||
padding: 5px 10px; | padding: 5px 10px; | ||
Line 1,068: | Line 1,091: | ||
border-radius: 3px; | border-radius: 3px; | ||
color: #e2e2e2; | color: #e2e2e2; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 14px; | font-size: 14px; | ||
padding: 0 20px 1px 20px; | padding: 0 20px 1px 20px; | ||
Line 1,095: | Line 1,118: | ||
width: 80px; | width: 80px; | ||
padding-top: 5px; | padding-top: 5px; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 13px; | font-size: 13px; | ||
} | } | ||
Line 1,130: | Line 1,153: | ||
border-radius: 3px; | border-radius: 3px; | ||
color: #e2e2e2; | color: #e2e2e2; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 14px; | font-size: 14px; | ||
padding: 0 20px 1px 20px; | padding: 0 20px 1px 20px; | ||
Line 1,151: | Line 1,174: | ||
text-align: right; | text-align: right; | ||
padding-top: 10px; | padding-top: 10px; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 13px; | font-size: 13px; | ||
} | } | ||
Line 1,224: | Line 1,247: | ||
.box h4 { | .box h4 { | ||
padding:10px 0 0; | padding:10px 0 0; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
} | } | ||
.box p { | .box p { | ||
padding: 0; | padding: 0; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
} | } | ||
#filtering-nav { | #filtering-nav { | ||
Line 1,243: | Line 1,266: | ||
padding: 0 20px 0 0; | padding: 0 20px 0 0; | ||
font-style: normal; | font-style: normal; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
text-transform: uppercase; | text-transform: uppercase; | ||
font-size: 13px; | font-size: 13px; | ||
Line 1,294: | Line 1,317: | ||
.overlay { | .overlay { | ||
background-color: rgba(15, 15, 15, 0.4); | background-color: rgba(15, 15, 15, 0.4); | ||
+ | border-radius: 0.5em 0.5em 0.5em 0.5em; | ||
+ | color: #FFF1BF; | ||
+ | font-size: 20px; | ||
} | } | ||
/*-----------------------------------------------------------------------------------*/ | /*-----------------------------------------------------------------------------------*/ | ||
Line 1,341: | Line 1,367: | ||
border-right: 1px solid #454545; | border-right: 1px solid #454545; | ||
float: left; | float: left; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
} | } | ||
.post-date .day { | .post-date .day { | ||
Line 1,379: | Line 1,405: | ||
} | } | ||
.post-meta { | .post-meta { | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 12px; | font-size: 12px; | ||
height: 13px; | height: 13px; | ||
Line 1,400: | Line 1,426: | ||
padding-top: 5px; | padding-top: 5px; | ||
display: block; | display: block; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-size: 12px; | font-size: 12px; | ||
height: 16px; | height: 16px; | ||
Line 1,408: | Line 1,434: | ||
} | } | ||
.post-meta a:hover, .tags a:hover { | .post-meta a:hover, .tags a:hover { | ||
- | color: # | + | color: #999889; |
} | } | ||
a.more { | a.more { | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
cursor: pointer; | cursor: pointer; | ||
} | } | ||
Line 1,431: | Line 1,457: | ||
background: none; | background: none; | ||
padding: 0; | padding: 0; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
} | } | ||
.page-navi ul li a { | .page-navi ul li a { | ||
Line 1,467: | Line 1,493: | ||
height: 24px; | height: 24px; | ||
font-size: 13px; | font-size: 13px; | ||
- | font-family: | + | font-family:Georgia, "Times New Roman", Times, serif; |
-webkit-border-radius: 5px; | -webkit-border-radius: 5px; | ||
-moz-border-radius: 5px; | -moz-border-radius: 5px; | ||
Line 1,493: | Line 1,519: | ||
.tag-list ul li a:hover { | .tag-list ul li a:hover { | ||
- | color: # | + | color: #999889; |
} | } | ||
.cat-list ul li { | .cat-list ul li { | ||
Line 1,517: | Line 1,543: | ||
} | } | ||
.cat-list ul li a:hover { | .cat-list ul li a:hover { | ||
- | color: # | + | color: #999889; |
} | } | ||
ul.ads { | ul.ads { | ||
Line 1,569: | Line 1,595: | ||
.toggle { | .toggle { | ||
width: 100%; | width: 100%; | ||
- | |||
clear:both; | clear:both; | ||
} | } | ||
Line 1,595: | Line 1,620: | ||
-moz-border-radius: 5px; | -moz-border-radius: 5px; | ||
border-radius: 5px; | border-radius: 5px; | ||
+ | font-size: 18px; | ||
} | } | ||
h2.trigger.active { | h2.trigger.active { | ||
- | color: # | + | color: #EA7E73; |
} | } | ||
h2.trigger:hover { | h2.trigger:hover { | ||
- | color: # | + | color: #999889; |
} | } | ||
.togglebox { | .togglebox { | ||
width:80%; | width:80%; | ||
height: auto; | height: auto; | ||
- | background-color: # | + | background-color: #FFF1BF; |
overflow: hidden; | overflow: hidden; | ||
margin: 10px 0; | margin: 10px 0; | ||
border: 1px solid #dedede; | border: 1px solid #dedede; | ||
- | -webkit-border-radius: | + | -webkit-border-radius: 10px; |
- | -moz-border-radius: | + | -moz-border-radius: 10px; |
- | border-radius: | + | border-radius: 10px; |
} | } | ||
.togglebox div { | .togglebox div { | ||
- | padding: | + | padding: 60px; |
} | } | ||
.togglebox p { | .togglebox p { | ||
Line 1,649: | Line 1,675: | ||
background: none; | background: none; | ||
padding: 0; | padding: 0; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
} | } | ||
ul.tabs li a { | ul.tabs li a { | ||
Line 1,672: | Line 1,698: | ||
text-shadow: none; | text-shadow: none; | ||
text-decoration: none; | text-decoration: none; | ||
- | color: # | + | color: #999889; |
} | } | ||
ul.tabs li a { | ul.tabs li a { | ||
Line 1,679: | Line 1,705: | ||
ul.tabs li a:hover { | ul.tabs li a:hover { | ||
text-decoration: none; | text-decoration: none; | ||
- | color: # | + | color: #999889; |
} | } | ||
ul.tabs li.active a { | ul.tabs li.active a { | ||
- | border: 1px solid # | + | border: 1px solid #FFF1BF; |
- | color: # | + | color: #EA7E73; |
- | background-color: # | + | background-color: #FFF1BF; |
} | } | ||
.tab_container { | .tab_container { | ||
Line 1,691: | Line 1,717: | ||
float: left; | float: left; | ||
width: 99%; | width: 99%; | ||
- | border: | + | border-bottom: 2px solid rgba(254, 240, 190, 1); |
- | + | ||
margin-top: 10px; | margin-top: 10px; | ||
- | |||
- | |||
- | |||
} | } | ||
.tab_content { | .tab_content { | ||
Line 1,765: | Line 1,787: | ||
display: block; | display: block; | ||
font-size: 14px; | font-size: 14px; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-style: normal; | font-style: normal; | ||
color: #6e6e6e; | color: #6e6e6e; | ||
Line 1,772: | Line 1,794: | ||
padding-left: 3px; | padding-left: 3px; | ||
line-height: 18px; | line-height: 18px; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
font-style: normal; | font-style: normal; | ||
} | } | ||
Line 1,808: | Line 1,830: | ||
#comments { | #comments { | ||
width: 590px; | width: 590px; | ||
+ | margin-left:10%; | ||
+ | margin-top:30px; | ||
} | } | ||
.full-width #comments { | .full-width #comments { | ||
Line 1,827: | Line 1,851: | ||
padding: 25px 0 26px 0; | padding: 25px 0 26px 0; | ||
border-bottom: 1px solid #454545; | border-bottom: 1px solid #454545; | ||
- | font-family: | + | font-family: Georgia, "Times New Roman", Times, serif; |
} | } | ||
#comments .user { | #comments .user { | ||
Line 1,834: | Line 1,858: | ||
} | } | ||
.avatar { | .avatar { | ||
- | width: | + | width: 100px; |
- | height: | + | height: 100px; |
float:left; | float:left; | ||
display:block; | display:block; | ||
+ | margin-left:-30px; | ||
} | } | ||
#comments .message .info .date { | #comments .message .info .date { | ||
Line 1,889: | Line 1,914: | ||
} | } | ||
#comments ol.commentlist ul.children ul li .message { | #comments ol.commentlist ul.children ul li .message { | ||
- | width: | + | width:80%; |
} | } | ||
#comments ol.commentlist ul.children ul ul li .message { | #comments ol.commentlist ul.children ul ul li .message { | ||
Line 1,936: | Line 1,961: | ||
margin-top: 40px; | margin-top: 40px; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
Line 1,951: | Line 1,971: | ||
position:fixed; | position:fixed; | ||
z-index:10000; | z-index:10000; | ||
- | + | transition: all 0.9s ease-in-out 0.1s; | |
- | + | ||
cursor:pointer; | cursor:pointer; | ||
+ | opacity: 0.9; | ||
} | } | ||
#navigation:hover{ | #navigation:hover{ | ||
- | + | background-image:url('https://static.igem.org/mediawiki/2014/6/6a/Bnu_bktn2.png'); | |
- | + | transition: all 0.9s ease-in-out 0.1s; | |
- | + | ||
} | } | ||
#navigation:hover img { | #navigation:hover img { | ||
- | + | opacity:0; | |
} | } | ||
+ | |||
+ | .thanks{ | ||
+ | text-shadow:1px 1px 8px rgba(68, 62, 62, 0.6); | ||
+ | color:rgba(63, 100, 206, 1); | ||
+ | font-size: x-large; | ||
+ | } | ||
+ | |||
+ | .maps { | ||
+ | background: rgba(254, 240, 190, 1) !important; | ||
+ | } | ||
+ | |||
+ | .maps:hover * { | ||
+ | background: rgba(254, 240, 190, 0.1) !important; | ||
+ | } | ||
+ | |||
+ | .map_list { | ||
+ | margin-left:10%; | ||
+ | margin-bottom:100px; | ||
+ | } | ||
+ | .map_list *{ | ||
+ | background:none !important; | ||
+ | } | ||
+ | |||
+ | .map_list ul { | ||
+ | font-size: 15px; | ||
+ | } | ||
+ | |||
+ | .member hr { | ||
+ | margin: 1em 0 .5em 0em !important; | ||
+ | height:2px; | ||
+ | } | ||
+ | |||
+ | #copyright p { | ||
+ | color: #EA7E73; | ||
+ | } | ||
+ | |||
Latest revision as of 22:36, 17 October 2014