Template:Team:BNU-China/CSS/main
From 2014.igem.org
(Difference between revisions)
Line 48: | Line 48: | ||
font-size:15px; | font-size:15px; | ||
color:#F00;} | color:#F00;} | ||
+ | |||
+ | |||
+ | /*-----------------------------------------------------------------------------------*/ | ||
+ | /* RESET | ||
+ | /*-----------------------------------------------------------------------------------*/ | ||
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend { | html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend { | ||
Line 193: | Line 198: | ||
} | } | ||
ul li { | ul li { | ||
- | background: transparent url( | + | background: transparent url(style/images/bullet.png) center left no-repeat; |
padding-left: 15px; | padding-left: 15px; | ||
} | } | ||
Line 220: | Line 225: | ||
line-height: 25px; | line-height: 25px; | ||
padding-left: 30px; | padding-left: 30px; | ||
- | background: transparent url( | + | background: transparent url(style/images/quote.png) no-repeat left 7px; |
} | } | ||
.hr2 { | .hr2 { | ||
Line 238: | Line 243: | ||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
- | |||
p .center { | p .center { | ||
text-align: center; | text-align: center; | ||
Line 245: | Line 249: | ||
} | } | ||
img { | img { | ||
- | |||
display: block; | display: block; | ||
} | } | ||
Line 263: | Line 266: | ||
} | } | ||
a.button { | a.button { | ||
- | background: #5499c3 url( | + | background: #5499c3 url(style/images/button.png) repeat-x; |
border: none; | border: none; | ||
height: 15px; | height: 15px; | ||
Line 349: | Line 352: | ||
display: block; | display: block; | ||
clear: both; | clear: both; | ||
- | background: url( | + | background: url(style/images/codebg.jpg) repeat; |
line-height: 20px; | line-height: 20px; | ||
font-size: 12px; | font-size: 12px; | ||
Line 434: | Line 437: | ||
font-size: 12px; | font-size: 12px; | ||
text-align: center; | text-align: center; | ||
- | |||
} | } | ||
#footer { | #footer { | ||
Line 502: | Line 504: | ||
padding: 0; | padding: 0; | ||
} | } | ||
- | + | ul.flickr li { | |
- | . | + | padding: 0; |
- | + | background: none; | |
- | + | display: inline-block; | |
+ | background-color: #fff; | ||
+ | padding: 0; | ||
+ | margin: 0 8px 8px 0; | ||
} | } | ||
+ | ul.flickr li img { | ||
+ | width: 58px; | ||
+ | height: 58px; | ||
+ | padding: 0; | ||
+ | } | ||
+ | /*-----------------------------------------------------------------------------------*/ | ||
+ | /* MENU | ||
+ | /*-----------------------------------------------------------------------------------*/ | ||
.menu { | .menu { | ||
- | font-family: | + | font-family: 'Museo500'; |
list-style: none; | list-style: none; | ||
- | font-weight: | + | font-weight: normal; |
width: 960px; | width: 960px; | ||
padding: 0; | padding: 0; | ||
Line 564: | Line 577: | ||
} | } | ||
.menu ul li a:hover { | .menu ul li a:hover { | ||
- | background: | + | background: #fff; |
color: #4d87ab; | color: #4d87ab; | ||
} | } | ||
Line 572: | Line 585: | ||
display: none; | display: none; | ||
visibility: hidden; | visibility: hidden; | ||
- | width: | + | width: 180px; |
padding: 0; | padding: 0; | ||
- | |||
- | |||
} | } | ||
.menu ul li ul li { | .menu ul li ul li { | ||
Line 581: | Line 592: | ||
float: none; | float: none; | ||
padding: 0 17px; | padding: 0 17px; | ||
+ | background-color: #fff; | ||
} | } | ||
.menu ul li ul li:first-child a { | .menu ul li ul li:first-child a { | ||
Line 605: | Line 617: | ||
} | } | ||
.quote blockquote { | .quote blockquote { | ||
- | background: #FFF url( | + | background: #FFF url(style/images/quote.png) no-repeat 15px 15px; |
padding: 15px 15px 15px 40px; | padding: 15px 15px 15px 40px; | ||
-webkit-border-radius: 5px; | -webkit-border-radius: 5px; | ||
Line 622: | Line 634: | ||
#piecemaker { | #piecemaker { | ||
margin-top: -30px; | margin-top: -30px; | ||
- | }/*-----------------------------------------------------------------------------------*/ | + | } |
+ | /*-----------------------------------------------------------------------------------*/ | ||
/* SHOWCASE | /* SHOWCASE | ||
/*-----------------------------------------------------------------------------------*/ | /*-----------------------------------------------------------------------------------*/ | ||
Line 649: | Line 662: | ||
top: 50%; | top: 50%; | ||
margin-top: -9px; | margin-top: -9px; | ||
- | background: url(' | + | background: url('style/images/arrows.png'); |
width: 25px; | width: 25px; | ||
height: 25px; | height: 25px; | ||
Line 689: | Line 702: | ||
text-align: left; | text-align: left; | ||
padding: 5px 8px; | padding: 5px 8px; | ||
- | background-image: url( | + | background-image: url(style/images/white-opacity-80.png); |
} | } | ||
.showcase-caption { | .showcase-caption { | ||
Line 700: | Line 713: | ||
display: none; | display: none; | ||
width: auto; | width: auto; | ||
- | background-image: url( | + | background-image: url(style/images/white-opacity-80.png); |
} | } | ||
.showcase-onepage .showcase-content { | .showcase-onepage .showcase-content { | ||
Line 719: | Line 732: | ||
text-indent: -99999px; | text-indent: -99999px; | ||
display: inline-block; | display: inline-block; | ||
- | background: url(' | + | background: url('style/images/navs.png'); |
} | } | ||
.showcase-button-wrapper span:hover, .showcase-button-wrapper span.active { | .showcase-button-wrapper span:hover, .showcase-button-wrapper span.active { | ||
Line 841: | Line 854: | ||
} | } | ||
.two-third { | .two-third { | ||
- | } | + | width:65.33%; |
+ | } | ||
.one-fourth { | .one-fourth { | ||
- | width:22% | + | width:22%; |
} | } | ||
- | |||
.three-fourth { | .three-fourth { | ||
width:74%; | width:74%; | ||
Line 923: | Line 936: | ||
} | } | ||
#prev, #next { | #prev, #next { | ||
- | background: transparent url( | + | background: transparent url(style/images/car-arrow.png) no-repeat; |
width: 21px; | width: 21px; | ||
height: 21px; | height: 21px; | ||
Line 1,044: | Line 1,057: | ||
} | } | ||
.forms fieldset .btn-submit { | .forms fieldset .btn-submit { | ||
- | background: #5499c3 url( | + | background: #5499c3 url(style/images/button.png) repeat-x; |
border: none; | border: none; | ||
height: 27px; | height: 27px; | ||
Line 1,106: | Line 1,119: | ||
} | } | ||
#footer .forms fieldset .btn-submit { | #footer .forms fieldset .btn-submit { | ||
- | background: #5499c3 url( | + | background: #5499c3 url(style/images/button.png) repeat-x; |
border: none; | border: none; | ||
height: 27px; | height: 27px; | ||
Line 1,241: | Line 1,254: | ||
} | } | ||
#portfolio .items, #gallery .items { | #portfolio .items, #gallery .items { | ||
- | opacity: | + | opacity: 0; |
} | } | ||
/*-----------------------------------------------------------------------------------*/ | /*-----------------------------------------------------------------------------------*/ | ||
/* PORTFOLIO HOVER | /* PORTFOLIO HOVER | ||
/*-----------------------------------------------------------------------------------*/ | /*-----------------------------------------------------------------------------------*/ | ||
+ | |||
.box a, .carousel ul li { | .box a, .carousel ul li { | ||
Line 1,257: | Line 1,271: | ||
.play, .zoom, .details { | .play, .zoom, .details { | ||
position: absolute; | position: absolute; | ||
- | background: transparent url( | + | background: transparent url(style/images/icon-play.png) no-repeat center center; |
} | } | ||
.zoom { | .zoom { | ||
- | background-image: url( | + | background-image: url(style/images/icon-zoom.png); |
} | } | ||
.details { | .details { | ||
- | background-image: url( | + | background-image: url(style/images/icon-more.png); |
} | } | ||
.box a span, .carousel ul li a span { | .box a span, .carousel ul li a span { | ||
Line 1,367: | Line 1,381: | ||
} | } | ||
.comments { | .comments { | ||
- | background: transparent url( | + | background: transparent url(style/images/icon-comment.png) no-repeat left center; |
padding-left: 26px; | padding-left: 26px; | ||
margin-right: 10px; | margin-right: 10px; | ||
Line 1,373: | Line 1,387: | ||
} | } | ||
.categories { | .categories { | ||
- | background: transparent url( | + | background: transparent url(style/images/icon-category.png) no-repeat left center; |
padding-left: 22px; | padding-left: 22px; | ||
} | } | ||
.tags { | .tags { | ||
- | background: transparent url( | + | background: transparent url(style/images/icon-tag.png) no-repeat left center; |
padding-left: 30px; | padding-left: 30px; | ||
margin-top: 10px; | margin-top: 10px; | ||
Line 1,453: | Line 1,467: | ||
-moz-border-radius: 5px; | -moz-border-radius: 5px; | ||
border-radius: 5px; | border-radius: 5px; | ||
- | background: #FFF url( | + | background: #FFF url(style/images/search.png) 240px center no-repeat; |
} | } | ||
.tag-list ul li { | .tag-list ul li { | ||
Line 1,537: | Line 1,551: | ||
.service { | .service { | ||
- | background: transparent url( | + | background: transparent url(style/images/circle.png) no-repeat; |
width: 100px; | width: 100px; | ||
height: 100px; | height: 100px; | ||
Line 1,755: | Line 1,769: | ||
} | } | ||
.check-icon { | .check-icon { | ||
- | background: transparent url( | + | background: transparent url(style/images/check-table.png) no-repeat center left; |
width: 12px; | width: 12px; | ||
height: 10px; | height: 10px; | ||
} | } | ||
.cross { | .cross { | ||
- | background: transparent url( | + | background: transparent url(style/images/cross.png) no-repeat center left; |
width: 10px; | width: 10px; | ||
height: 10px; | height: 10px; | ||
Line 1,779: | Line 1,793: | ||
height: 100%; | height: 100%; | ||
z-index: 2; | z-index: 2; | ||
- | background: url(' | + | background: url('style/images/tile.png'); |
} | } | ||
/*-----------------------------------------------------------------------------------*/ | /*-----------------------------------------------------------------------------------*/ | ||
Line 1,914: | Line 1,928: | ||
.comment-form { | .comment-form { | ||
margin-top: 40px; | margin-top: 40px; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /*Navigation*/ | ||
+ | #navigation{ | ||
+ | width:150px; | ||
+ | height:150px; | ||
+ | border-radius:10em 0 0 0; | ||
+ | bottom:-50px; | ||
+ | right:-50px; | ||
+ | position:fixed; | ||
+ | z-index:10000; | ||
+ | background: rgb(0,120,250); | ||
+ | opacity:0.5; | ||
+ | transition: all 2s ease-in-out 0.1s; | ||
+ | } | ||
+ | #navigation:hover{ | ||
+ | bottom:0px; | ||
+ | right:0px; | ||
+ | opacity:1; | ||
+ | transition: all 0.5s ease-in-out; | ||
+ | cursor:pointer; | ||
} | } | ||
<!--[if IE 7]> | <!--[if IE 7]> |
Revision as of 23:13, 1 August 2014