Difference between revisions of "Team:AHUT China/style.css"

(Created page with "! normalize.css v3.0.2 | MIT License | git.io/normalize: /** * 1. Set default font family to sans-serif. * 2. Prevent iOS text size adjust after orientation change, withou...")
 
Line 1: Line 1:
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
+
<html>
 +
<style type="text/css">
 +
/* CSS Document */
  
/**
 
* 1. Set default font family to sans-serif.
 
* 2. Prevent iOS text size adjust after orientation change, without disabling
 
*    user zoom.
 
*/
 
  
html {
+
html, body, div, span, applet, object, iframe,
  font-family: sans-serif; /* 1 */
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  -ms-text-size-adjust: 100%; /* 2 */
+
a, abbr, acronym, address, big, cite, code,
  -webkit-text-size-adjust: 100%; /* 2 */
+
del, dfn, em, font, img, ins, kbd, q, s, samp,
 +
small, strike, strong, sub, sup, tt, var,
 +
b, u, i, center,
 +
dl, dt, dd, ol, ul, li,
 +
fieldset, form, label, legend,
 +
table, caption, tbody, tfoot, thead, tr, th, td {
 +
background: transparent;
 +
border: 0;
 +
margin: 0;
 +
padding: 0;
 +
vertical-align: baseline;
 
}
 
}
 
/**
 
* Remove default margin.
 
*/
 
 
 
body {
 
body {
  margin: 0;
+
line-height: 1;
 
}
 
}
 
+
h1, h2, h3, h4, h5, h6 {
/* HTML5 display definitions
+
clear: both;
  ========================================================================== */
+
font-weight: normal;
 
+
/**
+
* Correct `block` display not defined for any HTML5 element in IE 8/9.
+
* Correct `block` display not defined for `details` or `summary` in IE 10/11
+
* and Firefox.
+
* Correct `block` display not defined for `main` in IE 11.
+
*/
+
 
+
article,
+
aside,
+
details,
+
figcaption,
+
figure,
+
footer,
+
header,
+
hgroup,
+
main,
+
menu,
+
nav,
+
section,
+
summary {
+
  display: block;
+
 
}
 
}
 
+
ol, ul {
/**
+
list-style: none;
* 1. Correct `inline-block` display not defined in IE 8/9.
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
+
*/
+
 
+
audio,
+
canvas,
+
progress,
+
video {
+
  display: inline-block; /* 1 */
+
  vertical-align: baseline; /* 2 */
+
 
}
 
}
 
+
blockquote {
/**
+
quotes: none;
* Prevent modern browsers from displaying `audio` without controls.
+
* Remove excess height in iOS 5 devices.
+
*/
+
 
+
audio:not([controls]) {
+
  display: none;
+
  height: 0;
+
 
}
 
}
 
+
blockquote:before, blockquote:after {
/**
+
content: '';
* Address `[hidden]` styling not present in IE 8/9/10.
+
content: none;
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
+
*/
+
 
+
[hidden],
+
template {
+
  display: none;
+
 
}
 
}
 
+
del {
/* Links
+
text-decoration: line-through;
  ========================================================================== */
+
 
+
/**
+
* Remove the gray background color from active links in IE 10.
+
*/
+
 
+
a {
+
  background-color: transparent;
+
 
}
 
}
 
+
/* tables still need 'cellspacing="0"' in the markup */
/**
+
table {
* Improve readability when focused and also mouse hovered in all browsers.
+
border-collapse: collapse;
*/
+
border-spacing: 0;
 
+
a:active,
+
a:hover {
+
  outline: 0;
+
 
}
 
}
 
+
a img {
/* Text-level semantics
+
border: none;
  ========================================================================== */
+
 
+
/**
+
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
+
*/
+
 
+
abbr[title] {
+
  border-bottom: 1px dotted;
+
 
}
 
}
  
/**
+
/* =index
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
+
-------------------------------------------------------------- */
*/
+
#index_main{
 
+
position:relative;
b,
+
z-index:5;
strong {
+
background:url(https://static.igem.org/mediawiki/2015/f/f3/AHUT_CHINA_2015_index_bg_none.jpg) top repeat-x;
  font-weight: bold;
+
background-position: center;
 +
-webkit-background-size: cover;
 +
-moz-background-size: cover;
 +
-o-background-size: cover;
 +
background-size: cover;
 +
background-color:#f0eee5;
 
}
 
}
 
+
#index_content {
/**
+
width:100%;
* Address styling not present in Safari and Chrome.
+
margin:0 auto;
*/
+
 
+
dfn {
+
  font-style: italic;
+
 
}
 
}
  
/**
+
#index_block1{
* Address variable `h1` font-size and margin within `section` and `article`
+
height:533px;
* contexts in Firefox 4+, Safari, and Chrome.
+
width:100%;
*/
+
background:url(https://static.igem.org/mediawiki/2015/e/ed/AHUT_CHINA_2015_index_bg1.jpg) no-repeat fixed center ;
 
+
background-position: center;
h1 {
+
-webkit-background-size: cover;
  font-size: 2em;
+
-moz-background-size: cover;
  margin: 0.67em 0;
+
-o-background-size: cover;
 +
background-size: cover;
 +
}
 +
#index_block2{
 +
height:550px;
 +
width:100%;
 +
background-color:#faf8f7;
 +
background-position: center;
 +
-webkit-background-size: cover;
 +
-moz-background-size: cover;
 +
-o-background-size: cover;
 +
background-size: cover;
 
}
 
}
 
+
#index_block3{
/**
+
height:539px;
* Address styling not present in IE 8/9.
+
width:100%;
*/
+
background-color:#ffffff;
 
+
background-position: center;
mark {
+
-webkit-background-size: cover;
  background: #ff0;
+
-moz-background-size: cover;
  color: #000;
+
-o-background-size: cover;
 +
background-size: cover;
 
}
 
}
 
+
#index_block4{
/**
+
height:520px;
* Address inconsistent and variable font size in all browsers.
+
width:100%;
*/
+
background:url(https://static.igem.org/mediawiki/2015/4/41/AHUT_CHINA_2015_index_bg2.jpg) no-repeat fixed center ;
 
+
background-position: center;
small {
+
-webkit-background-size: cover;
  font-size: 80%;
+
-moz-background-size: cover;
 +
-o-background-size: cover;
 +
background-size: cover;
 
}
 
}
 
+
#top_navi {
/**
+
width:100%;
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
+
height:52px;
*/
+
position:fixed;
 
+
top:0;
sub,
+
left:0;
sup {
+
z-index:11;
  font-size: 75%;
+
background:rgba(255,255,255,0.5);
  line-height: 0;
+
  position: relative;
+
  vertical-align: baseline;
+
 
}
 
}
  
sup {
+
#index_top_navi{
  top: -0.5em;
+
width:850px;
 +
height:52px;
 +
padding-left:110px;
 +
line-height:52px;
 +
margin:0 auto;
 +
background:url(https://static.igem.org/mediawiki/2015/2/24/AHUT_CHINA_2015_top_navi_bg.png) no-repeat;
 
}
 
}
  
sub {
+
#index_top_navi li {
  bottom: -0.25em;
+
float:left;
 +
margin:0 20px;
 +
line-height:52px;
 +
font-size:18px;
 +
 +
font-weight:500;
 
}
 
}
  
/* Embedded content
+
#index_top_navi li a {
  ========================================================================== */
+
color:#070905;
 
+
text-decoration:none;
/**
+
display:block;
* Remove border when inside `a` element in IE 8/9/10.
+
font-family:'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
*/
+
 
+
img {
+
  border: 0;
+
 
}
 
}
  
/**
+
#index_top_navi li:hover a {
* Correct overflow not hidden in IE 9/10/11.
+
color:#686868;
*/
+
transition: color 0.3s ease 0s;
 
+
svg:not(:root) {
+
  overflow: hidden;
+
 
}
 
}
  
/* Grouping content
+
/* =secondary
  ========================================================================== */
+
-------------------------------------------------------------- */
 
+
/**
+
* Address margin not present in IE 8/9 and Safari.
+
*/
+
  
figure {
+
#sec_top_navi{
  margin: 1em 40px;
+
width:960px;
 +
height:52px;
 +
line-height:52px;
 +
margin:0 auto;
 
}
 
}
 
+
#sec_top_logo{
/**
+
width:260px;
* Address differences between Firefox and other browsers.
+
*/
+
 
+
hr {
+
  -moz-box-sizing: content-box;
+
  box-sizing: content-box;
+
  height: 0;
+
 
}
 
}
 
+
#sec_top_logo img {
/**
+
margin:0 auto;
* Contain overflow in all browsers.
+
*/
+
 
+
pre {
+
  overflow: auto;
+
 
}
 
}
 
+
#sec_top_navi li {
/**
+
float:left;
* Address odd `em`-unit font size rendering in all browsers.
+
margin:0 10px;
*/
+
line-height:52px;
 
+
font-size:16px;
code,
+
font-weight:500;
kbd,
+
pre,
+
samp {
+
  font-family: monospace, monospace;
+
  font-size: 1em;
+
 
}
 
}
  
/* Forms
+
#sec_top_navi li a {
  ========================================================================== */
+
color:#070905;
 
+
text-decoration:none;
/**
+
display:block;
* Known limitation: by default, Chrome and Safari on OS X allow very limited
+
font-family:'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
* styling of `select`, unless a `border` property is set.
+
*/
+
 
+
/**
+
* 1. Correct color not being inherited.
+
*    Known issue: affects color of disabled elements.
+
* 2. Correct font properties not being inherited.
+
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
+
*/
+
 
+
button,
+
input,
+
optgroup,
+
select,
+
textarea {
+
  color: inherit; /* 1 */
+
  font: inherit; /* 2 */
+
  margin: 0; /* 3 */
+
 
}
 
}
  
/**
+
#sec_top_navi li:hover a {
* Address `overflow` set to `hidden` in IE 8/9/10/11.
+
color:#686868;
*/
+
transition: color 0.3s ease 0s;
 
+
button {
+
  overflow: visible;
+
 
}
 
}
 
+
.sec_block{
/**
+
width:100%;
* Address inconsistent `text-transform` inheritance for `button` and `select`.
+
background-position: center;
* All other form control elements do not inherit `text-transform` values.
+
-webkit-background-size: cover;
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
+
-moz-background-size: cover;
* Correct `select` style inheritance in Firefox.
+
-o-background-size: cover;
*/
+
background-size: cover;
 
+
button,
+
select {
+
  text-transform: none;
+
 
}
 
}
 
+
.sec_block_top{
/**
+
height:533px;
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
+
width:100%;
*    and `video` controls.
+
background:url(https://static.igem.org/mediawiki/2015/e/ed/AHUT_CHINA_2015_index_bg1.jpg) no-repeat fixed center ;
* 2. Correct inability to style clickable `input` types in iOS.
+
background-position: center;
* 3. Improve usability and consistency of cursor style between image-type
+
-webkit-background-size: cover;
*    `input` and others.
+
-moz-background-size: cover;
*/
+
-o-background-size: cover;
 
+
background-size: cover;
button,
+
html input[type="button"], /* 1 */
+
input[type="reset"],
+
input[type="submit"] {
+
  -webkit-appearance: button; /* 2 */
+
  cursor: pointer; /* 3 */
+
 
}
 
}
 +
.sec_p {
 +
width:960px;
 +
font-size:16px;
 +
line-height:28px;
 +
padding-top:10px;
 +
padding-bottom:10px;
 +
color:#676767;
 +
margin:0 auto;
 +
text-align:justify;
  
/**
 
* Re-set default cursor for disabled elements.
 
*/
 
 
button[disabled],
 
html input[disabled] {
 
  cursor: default;
 
 
}
 
}
 
+
.sec_fig {
/**
+
text-align:center;  
* Remove inner padding and border in Firefox 4+.
+
margin-top:20px;
*/
+
 
+
button::-moz-focus-inner,
+
input::-moz-focus-inner {
+
  border: 0;
+
  padding: 0;
+
 
}
 
}
 
+
.sec_title{
/**
+
width:100%;
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
+
height:100px;
* the UA stylesheet.
+
line-height:100px;
*/
+
text-align:center;
 
+
background-color:#3A3A3A;
input {
+
color:#efefef;
  line-height: normal;
+
font-size:42px;
 
}
 
}
 
+
.sec_paragraph_title{
/**
+
font-size:32px;
* It's recommended that you don't attempt to style these elements.
+
color:#000;
* Firefox's implementation doesn't respect box-sizing, padding, or width.
+
line-height:40px;
*
+
text-align:left;
* 1. Address box sizing set to `content-box` in IE 8/9/10.
+
* 2. Remove excess padding in IE 8/9/10.
+
*/
+
 
+
input[type="checkbox"],
+
input[type="radio"] {
+
  box-sizing: border-box; /* 1 */
+
  padding: 0; /* 2 */
+
 
}
 
}
 
+
.sec_fig_title{
/**
+
width:100%;
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
+
text-align:center;
* `font-size` values of the `input`, it causes the cursor style of the
+
color:#676767;
* decrement button to change from `default` to `text`.
+
font-size:14px;
*/
+
line-height:24px;
 
+
margin-top:10px;
input[type="number"]::-webkit-inner-spin-button,
+
input[type="number"]::-webkit-outer-spin-button {
+
  height: auto;
+
 
}
 
}
 
+
.sec_table {
/**
+
border:2px solid #676767;
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
+
color:#676767;
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
+
font-size:16px;
*    (include `-moz` to future-proof).
+
margin:0 auto;
*/
+
margin-top:15px;
 
+
margin-bottom:15px;
input[type="search"] {
+
text-align:center;
  -webkit-appearance: textfield; /* 1 */
+
  -moz-box-sizing: content-box;
+
  -webkit-box-sizing: content-box; /* 2 */
+
  box-sizing: content-box;
+
 
}
 
}
 
+
.sec_table tr,.sec_table tr td{
/**
+
border:2px solid #676767;
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
+
color:#676767;
* Safari (but not Chrome) clips the cancel button when the search input has
+
font-size:16px;
* padding (and `textfield` appearance).
+
}
*/
+
.sec_table tr{
 
+
height:30px;
input[type="search"]::-webkit-search-cancel-button,
+
line-height:30px;
input[type="search"]::-webkit-search-decoration {
+
}
  -webkit-appearance: none;
+
.sec_table tr td {
 +
padding-left:10px;
 
}
 
}
  
/**
 
* Define consistent border, margin, and padding.
 
*/
 
  
fieldset {
+
/* =foot
  border: 1px solid #c0c0c0;
+
-------------------------------------------------------------- */
  margin: 0 2px;
+
#footer{
  padding: 0.35em 0.625em 0.75em;
+
height:230px;
 +
width:100%;
 +
color:#ccc;
 +
font-size:12px;
 +
position:relative;
 +
z-index:3;
 +
background-color:#3c3e3f;
 
}
 
}
  
/**
+
#footer .conent{
  * 1. Correct `color` not being inherited in IE 8/9/10/11.
+
width:960px;
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
+
position:fixed;
*/
+
left:50%;
 
+
bottom:0;
legend {
+
margin-left:-480px;
  border: 0; /* 1 */
+
z-index:2;
  padding: 0; /* 2 */
+
}
 +
#im_logo_link{
 +
width:960px;
 +
height:49px;
 +
clear:both;
 +
padding:15px 0 16px 0;
 +
}
 +
#im_logo_link ul{
 +
height:49px;
 +
margin:0 auto;
 +
padding:0 304px;
 +
}
 +
#im_logo_link ul li{
 +
float:left;
 +
margin:0 20px;
 +
}
 +
#im_logo_link ul li a{
 +
width:48px;
 +
height:49px;
 +
display:block;
 +
}
 +
#twitter{
 +
background:url(images/AHUT_CHINA_2015_twitter.png);
 +
}
 +
#twitter:hover{
 +
background:url(images/AHUT_CHINA_2015_twitter_hover.png);
 +
}
 +
#youtube{
 +
background:url(images/AHUT_CHINA_2015_youtube.png);
 +
}
 +
#youtube:hover{
 +
background:url(images/AHUT_CHINA_2015_youtube_hover.png);
 +
}
 +
#webchat{
 +
background:url(images/AHUT_CHINA_2015_webchat.png);
 +
}
 +
#webchat:hover{
 +
background:url(images/AHUT_CHINA_2015_webchat_hover.png);
 +
}
 +
#qq{
 +
background:url(images/AHUT_CHINA_2015_qq.png);
 +
}
 +
#qq:hover{
 +
background:url(images/AHUT_CHINA_2015_qq_hover.png);
 +
}
 +
#foot_list {
 +
width:759px;
 +
height:175px;
 +
float:left;
 +
padding-top:5px;
 +
margin:0;
 +
}
 +
#foot_list  li{
 +
float:left;
 +
text-align:left;
 +
width:115px;
 +
margin-left:0;
 +
margin-right:10px;
 +
    line-height:18px;
 +
    display:block;
 +
    color:#FFF;
 +
    font-size:16px;
 +
text-decoration: none;
 +
font-family:Arial, Helvetica, sans-serif;
 +
}
 +
#foot_list  li ul li:first-child {
 +
font-size:20px;
 +
color:#b4b4b4;
 +
line-height:28px;
 
}
 
}
  
/**
+
#foot_list li ul li a {
  * Remove default vertical scrollbar in IE 8/9/10/11.
+
font-size:12px;
*/
+
color:#a1a1a1;
 
+
line-height:18px;
textarea {
+
text-decoration:none;
  overflow: auto;
+
 
}
 
}
  
/**
+
#foot_list li ul li a:hover {
* Don't inherit the `font-weight` (applied by a rule above).
+
color:#fff;
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
+
transition: color 0.3s ease 0s;
*/
+
 
+
optgroup {
+
  font-weight: bold;
+
 
}
 
}
  
/* Tables
 
  ========================================================================== */
 
  
/**
+
#foot_igem{
* Remove most spacing between table cells.
+
padding:38px 33px 24px 18px;
*/
+
float:right;
 
+
table {
+
  border-collapse: collapse;
+
  border-spacing: 0;
+
 
}
 
}
 
+
#foot_igem > a {
td,
+
width:150px;
th {
+
height:118px;
  padding: 0;
+
display:block;
 +
background-image:url(https://static.igem.org/mediawiki/2015/8/87/AHUT_CHINA_2015_index_igem_gray.jpg);
 +
}
 +
#foot_igem > a:hover {
 +
background-image:url(https://static.igem.org/mediawiki/2015/d/d8/AHUT_CHINA_2015_index_igem_origin.jpg);
 +
}
 +
#foot_copyright {
 +
clear:both;
 +
width:960px;
 +
line-height:36px;
 +
text-align:center;
 +
vertical-align:middle;
 +
color:#777777;
 +
font-size:12px;
 +
font-family:Arial, Helvetica, sans-serif;
 
}
 
}
 +
</style>
 +
</html>

Revision as of 08:43, 10 September 2015