Difference between revisions of "Team:Tianjin/Experiment/css/style.css"

 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
html, body {
+
/* General Blueprint Style */
margin: 0;
+
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
padding: 0;
+
@font-face {
}
+
font-family: 'bpicons';
 
+
src:url('../fonts/bpicons/bpicons.eot');
body {
+
src:url('../fonts/bpicons/bpicons.eot?#iefix') format('embedded-opentype'),
background: #F2F2F2;
+
url('../fonts/bpicons/bpicons.woff') format('woff'),
font-family: Arial;
+
url('../fonts/bpicons/bpicons.ttf') format('truetype'),
font-size: 13px;
+
url('../fonts/bpicons/bpicons.svg#bpicons') format('svg');
line-height: 1.6;
+
color: #444;
+
}
+
 
+
#content {
+
width: 360px;
+
margin: 30px auto;
+
padding: 20px 60px;
+
border: 1px solid #D2D2D2;
+
-moz-box-shadow: 0 0 30px #CCC;
+
-webkit-box-shadow: 0 0 30px #CCC;
+
box-shadow: 0 0 30px #CCC;
+
height:900px;
+
background: #FFF;
+
background: -webkit-gradient(linear, left top, left 15, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
+
background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 15px);
+
}
+
#content a img{ width:79px; height:79px;}
+
 
+
h1 {
+
margin: 0;
+
font-size: 30px;
+
 
font-weight: normal;
 
font-weight: normal;
font-family: "Museo 700", Arial;
+
font-style: normal;
}
+
} /* Made with http://icomoon.io/ download by http://www.codefans.net*/
  
h1 em {
+
*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
font-size: 50%;
+
body, html { font-size: 100%; padding: 0; margin: 0;}
letter-spacing: -0.05em;
+
}
+
  
h2 {
+
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
margin: 0;
+
.clearfix:before, .clearfix:after { content: " "; display: table; }
}
+
.clearfix:after { clear: both; }
  
hr {
+
body {
border: none;
+
    font-family: 'Lato', Calibri, Arial, sans-serif;
height: 1px; line-height: 1px;
+
    color: #47a3da;
background: #D8D8D8;
+
margin-bottom: 20px;
+
padding: 0;
+
}
+
 
+
p {
+
margin: 0;
+
padding-bottom: 14px;
+
 
}
 
}
  
 
a {
 
a {
outline: none;
+
color: #f0f0f0;
 +
text-decoration: none;
 
}
 
}
  
a img {
+
a:hover {
border: 1px solid #BBB;
+
color: #000;
padding: 2px;
+
margin: 10px 30px 10px 0;
+
vertical-align: top;
+
 
}
 
}
  
ul {
+
.main{
margin: -7px 0 24px 0;
+
width: 90%;
 +
max-width: 69em;
 +
margin: 0 auto;
 +
padding: 0 1.875em 3.125em 1.875em;
 
}
 
}
  
Line 74: Line 43:
  
  
 +
@font-face {
 +
font-family: 'ecoico';
 +
src:url('../fonts/timelineicons/ecoico.eot');
 +
src:url('../fonts/timelineicons/ecoico.eot?#iefix') format('embedded-opentype'),
 +
url('../fonts/timelineicons/ecoico.woff') format('woff'),
 +
url('../fonts/timelineicons/ecoico.ttf') format('truetype'),
 +
url('../fonts/timelineicons/ecoico.svg#ecoico') format('svg');
 +
font-weight: normal;
 +
font-style: normal;
 +
} /* Made with http://icomoon.io/ */
  
 +
.cbp_tmtimeline {
 +
margin: 30px 0 0 0;
 +
padding: 0;
 +
list-style: none;
 +
position: relative;
 +
}
  
 
+
/* The line */
 
+
.cbp_tmtimeline:before {
/*
+
content: '';
* FancyBox - jQuery Plugin
+
* Simple and fancy lightbox alternative
+
*
+
* Examples and documentation at: http://fancybox.net
+
*
+
* Copyright (c) 2008 - 2010 Janis Skarnelis
+
*
+
* Version: 1.3.1 (05/03/2010)
+
* Requires: jQuery v1.3+
+
*
+
* Dual licensed under the MIT and GPL licenses:
+
*  http://www.opensource.org/licenses/mit-license.php
+
*  http://www.gnu.org/licenses/gpl.html
+
*/
+
 
+
#fancybox-loading {
+
position: fixed;
+
top: 50%;
+
left: 50%;
+
height: 40px;
+
width: 40px;
+
margin-top: -20px;
+
margin-left: -20px;
+
cursor: pointer;
+
overflow: hidden;
+
z-index: 1104;
+
display: none;
+
}
+
 
+
* html #fancybox-loading { /* IE6 */
+
position: absolute;
+
margin-top: 0;
+
}
+
 
+
#fancybox-loading div {
+
 
position: absolute;
 
position: absolute;
 
top: 0;
 
top: 0;
left: 0;
 
width: 40px;
 
height: 480px;
 
background-image: url('fancybox.png');
 
}
 
 
#fancybox-overlay {
 
position: fixed;
 
top: 0;
 
left: 0;
 
 
bottom: 0;
 
bottom: 0;
right: 0;
+
width: 10px;
background: #000;
+
background: #afdcf8;
z-index: 1100;
+
left: 20%;
display: none;
+
margin-left: -10px;
 
}
 
}
  
* html #fancybox-overlay { /* IE6 */
+
.cbp_tmtimeline > li {
position: absolute;
+
width: 100%; height:800px;
+
 
+
}
+
 
+
#fancybox-tmp {
+
padding: 0;
+
margin: 0;
+
border: 0;
+
overflow: auto;
+
display: none;
+
}
+
 
+
#fancybox-wrap {
+
position: absolute;
+
top: 0;
+
left: 0;
+
margin: 0;
+
padding: 20px;
+
z-index: 1101;
+
display: none;
+
}
+
 
+
#fancybox-outer {
+
 
position: relative;
 
position: relative;
width: 100%;
 
height: 100%;
 
background: #FFF;
 
 
}
 
}
  
#fancybox-inner {
+
/* The date/time */
 +
.cbp_tmtimeline > li .cbp_tmtime {
 +
display: block;
 +
width: 25%;
 +
padding-right: 100px;
 
position: absolute;
 
position: absolute;
top: 0;
 
left: 0;
 
width: 1px;
 
height: 1px;
 
padding: 0;
 
margin: 0;
 
outline: none;
 
overflow: hidden;
 
 
}
 
}
  
#fancybox-hide-sel-frame {
+
.cbp_tmtimeline > li .cbp_tmtime span {
position: absolute;
+
display: block;
top: 0;
+
text-align: right;
left: 0;
+
width: 100%;
+
height: 100%;
+
background: transparent;
+
 
}
 
}
  
#fancybox-close {
+
.cbp_tmtimeline > li .cbp_tmtime span:first-child {
position: absolute;
+
font-size: 0.9em;
top: -15px;
+
color: #bdd0db;
right: -15px;
+
width: 30px;
+
height: 30px;
+
background-image: url('fancybox.png');
+
background-position: -40px 0px;
+
cursor: pointer;
+
z-index: 1103;
+
display: none;
+
 
}
 
}
  
#fancybox_error {
+
.cbp_tmtimeline > li .cbp_tmtime span:last-child {
color: #444;
+
font-size: 2.9em;
font: normal 12px/20px Arial;
+
color: #3594cb;
padding: 7px;
+
margin: 0;
+
 
}
 
}
  
#fancybox-content {
+
.cbp_tmtimeline > li:nth-child(odd) .cbp_tmtime span:last-child {
height: auto;
+
color: #6cbfee;
width: auto;
+
padding: 0;
+
margin: 0;
+
 
}
 
}
  
#fancybox-img {
+
/* Right content */
width: 100%;
+
.cbp_tmtimeline > li .cbp_tmlabel {
height: 100%;
+
margin: 0 0 15px 25%;
padding: 0;
+
background: #3594cb;
margin: 0;
+
color: #fff;
border: none;
+
padding: 2em;
outline: none;
+
font-size: 1.2em;
line-height: 0;
+
font-weight: 300;
vertical-align: top;
+
line-height: 1.4;
-ms-interpolation-mode: bicubic;
+
}
+
 
+
#fancybox-frame {
+
 
position: relative;
 
position: relative;
width: 100%;
+
border-radius: 5px;
height: 100%;
+
border: none;
+
display: block;
+
}
+
 
+
#fancybox-title {
+
position: absolute;
+
bottom: 0;
+
left: 0;
+
font-family: Arial;
+
font-size: 12px;
+
z-index: 1102;
+
}
+
 
+
.fancybox-title-inside {
+
padding: 10px 0;
+
text-align: center;
+
color: #333;
+
}
+
 
+
.fancybox-title-outside {
+
padding-top: 5px;
+
color: #FFF;
+
text-align: center;
+
font-weight: bold;
+
}
+
 
+
.fancybox-title-over {
+
color: #FFF;
+
text-align: left;
+
}
+
 
+
#fancybox-title-over {
+
padding: 10px;
+
background-image: url('fancy_title_over.png');
+
display: block;
+
}
+
 
+
#fancybox-title-wrap {
+
display: inline-block;
+
}
+
 
+
#fancybox-title-wrap span {
+
height: 32px;
+
float: left;
+
}
+
 
+
#fancybox-title-left {
+
padding-left: 15px;
+
background-image: url('fancybox.png');
+
background-position: -40px -90px;
+
background-repeat: no-repeat;
+
 
}
 
}
  
#fancybox-title-main {
+
.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel {
font-weight: bold;
+
background: #6cbfee;
line-height: 29px;
+
background-image: url('fancybox-x.png');
+
background-position: 0px -40px;
+
color: #FFF;
+
 
}
 
}
  
#fancybox-title-right {
+
.cbp_tmtimeline > li .cbp_tmlabel h2 {  
padding-left: 15px;
+
margin-top: 0px;
background-image: url('fancybox.png');
+
padding: 0 0 10px 0;
background-position: -55px -90px;
+
border-bottom: 1px solid rgba(255,255,255,0.4);
background-repeat: no-repeat;
+
 
}
 
}
  
#fancybox-left, #fancybox-right {
+
/* The triangle */
 +
.cbp_tmtimeline > li .cbp_tmlabel:after {
 +
right: 100%;
 +
border: solid transparent;
 +
content: " ";
 +
height: 0;
 +
width: 0;
 
position: absolute;
 
position: absolute;
bottom: 0px;
+
pointer-events: none;
height: 100%;
+
border-right-color: #3594cb;
width: 35%;
+
border-width: 10px;
cursor: pointer;
+
top: 10px;
outline: none;
+
background-image: url('blank.gif');
+
z-index: 1102;
+
display: none;
+
 
}
 
}
  
#fancybox-left {
+
.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
left: 0px;
+
border-right-color: #6cbfee;
 
}
 
}
  
#fancybox-right {
+
/* The icons */
right: 0px;
+
.cbp_tmtimeline > li .cbp_tmicon {
}
+
width: 40px;
 
+
height: 40px;
#fancybox-left-ico, #fancybox-right-ico {
+
font-family: 'ecoico';
 +
speak: none;
 +
font-style: normal;
 +
font-weight: normal;
 +
font-variant: normal;
 +
text-transform: none;
 +
font-size: 1.4em;
 +
line-height: 40px;
 +
-webkit-font-smoothing: antialiased;
 
position: absolute;
 
position: absolute;
top: 50%;
+
color: #fff;
left: -9999px;
+
background: #46a4da;
width: 30px;
+
border-radius: 50%;
height: 30px;
+
box-shadow: 0 0 0 8px #afdcf8;
margin-top: -15px;
+
text-align: center;
cursor: pointer;
+
left: 20%;
z-index: 1102;
+
top: 0;
display: block;
+
margin: 0 0 0 -25px;
 
}
 
}
  
#fancybox-left-ico {
+
.cbp_tmicon-phone:before {
background-image: url('fancybox.png');
+
content: "\e000";
background-position: -40px -30px;
+
 
}
 
}
  
#fancybox-right-ico {
+
.cbp_tmicon-screen:before {
background-image: url('fancybox.png');
+
content: "\e001";
background-position: -40px -60px;
+
 
}
 
}
  
#fancybox-left:hover, #fancybox-right:hover {
+
.cbp_tmicon-mail:before {
visibility: visible;   /* IE6 */
+
content: "\e002";
 
}
 
}
  
#fancybox-left:hover span {
+
.cbp_tmicon-earth:before {
left: 20px;
+
content: "\e003";
 
}
 
}
  
#fancybox-right:hover span {
+
/* Example Media Queries */
left: auto;
+
@media screen and (max-width: 65.375em) {
right: 20px;
+
}
+
  
.fancy-bg {
+
.cbp_tmtimeline > li .cbp_tmtime span:last-child {
position: absolute;
+
font-size: 1.5em;
padding: 0;
+
}
margin: 0;
+
border: 0;
+
width: 20px;
+
height: 20px;
+
z-index: 1001;
+
 
}
 
}
  
#fancy-bg-n {
+
@media screen and (max-width: 47.2em) {
top: -20px;
+
.cbp_tmtimeline:before {
left: 0;
+
display: none;
width: 100%;
+
}
background-image: url('fancybox-x.png');
+
}
+
  
#fancy-bg-ne {
+
.cbp_tmtimeline > li .cbp_tmtime {
top: -20px;
+
width: 100%;
right: -20px;
+
position: relative;
background-image: url('fancybox.png');
+
padding: 0 0 20px 0;
background-position: -40px -162px;
+
}
}
+
  
#fancy-bg-e {
+
.cbp_tmtimeline > li .cbp_tmtime span {
top: 0;
+
text-align: left;
right: -20px;
+
}
height: 100%;
+
background-image: url('fancybox-y.png');
+
background-position: -20px 0px;
+
}
+
  
#fancy-bg-se {
+
.cbp_tmtimeline > li .cbp_tmlabel {
bottom: -20px;
+
margin: 0 0 30px 0;
right: -20px;
+
padding: 1em;
background-image: url('fancybox.png');
+
font-weight: 400;
background-position: -40px -182px;  
+
font-size: 95%;
}
+
}
  
#fancy-bg-s {
+
.cbp_tmtimeline > li .cbp_tmlabel:after {
bottom: -20px;
+
right: auto;
left: 0;
+
left: 20px;
width: 100%;
+
border-right-color: transparent;
background-image: url('fancybox-x.png');
+
border-bottom-color: #3594cb;
background-position: 0px -20px;
+
top: -20px;
}
+
}
  
#fancy-bg-sw {
+
.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
bottom: -20px;
+
border-right-color: transparent;
left: -20px;
+
border-bottom-color: #6cbfee;
background-image: url('fancybox.png');
+
}
background-position: -40px -142px;
+
}
+
  
#fancy-bg-w {
+
.cbp_tmtimeline > li .cbp_tmicon {
top: 0;
+
position: relative;
left: -20px;
+
float: right;
height: 100%;
+
left: auto;
background-image: url('fancybox-y.png');
+
margin: -55px 5px 0 0px;
 +
}
 
}
 
}
 
#fancy-bg-nw {
 
top: -20px;
 
left: -20px;
 
background-image: url('fancybox.png');
 
background-position: -40px -122px;
 
}
 
 
/* IE */
 
 
#fancybox-loading.fancybox-ie div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
 
.fancybox-ie #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }
 
 
.fancybox-ie #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
 
.fancybox-ie #fancybox-title-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
 
.fancybox-ie #fancybox-title-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
 
.fancybox-ie #fancybox-title-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }
 
 
.fancybox-ie #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
 
.fancybox-ie #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }
 
 
.fancybox-ie .fancy-bg { background: transparent !important; }
 
 
.fancybox-ie #fancy-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
 
.fancybox-ie #fancy-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
 
.fancybox-ie #fancy-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
 
.fancybox-ie #fancy-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
 
.fancybox-ie #fancy-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
 
.fancybox-ie #fancy-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
 
.fancybox-ie #fancy-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
 
.fancybox-ie #fancy-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
 

Latest revision as of 02:53, 17 October 2016

/* General Blueprint Style */ @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700); @font-face { font-family: 'bpicons'; src:url('../fonts/bpicons/bpicons.eot'); src:url('../fonts/bpicons/bpicons.eot?#iefix') format('embedded-opentype'), url('../fonts/bpicons/bpicons.woff') format('woff'), url('../fonts/bpicons/bpicons.ttf') format('truetype'), url('../fonts/bpicons/bpicons.svg#bpicons') format('svg'); font-weight: normal; font-style: normal; } /* Made with http://icomoon.io/ download by http://www.codefans.net*/

  • , *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body, html { font-size: 100%; padding: 0; margin: 0;}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */ .clearfix:before, .clearfix:after { content: " "; display: table; } .clearfix:after { clear: both; }

body {

   font-family: 'Lato', Calibri, Arial, sans-serif;
   color: #47a3da;

}

a { color: #f0f0f0; text-decoration: none; }

a:hover { color: #000; }

.main{ width: 90%; max-width: 69em; margin: 0 auto; padding: 0 1.875em 3.125em 1.875em; }



@font-face { font-family: 'ecoico'; src:url('../fonts/timelineicons/ecoico.eot'); src:url('../fonts/timelineicons/ecoico.eot?#iefix') format('embedded-opentype'), url('../fonts/timelineicons/ecoico.woff') format('woff'), url('../fonts/timelineicons/ecoico.ttf') format('truetype'), url('../fonts/timelineicons/ecoico.svg#ecoico') format('svg'); font-weight: normal; font-style: normal; } /* Made with http://icomoon.io/ */

.cbp_tmtimeline { margin: 30px 0 0 0; padding: 0; list-style: none; position: relative; }

/* The line */ .cbp_tmtimeline:before { content: ; position: absolute; top: 0; bottom: 0; width: 10px; background: #afdcf8; left: 20%; margin-left: -10px; }

.cbp_tmtimeline > li { position: relative; }

/* The date/time */ .cbp_tmtimeline > li .cbp_tmtime { display: block; width: 25%; padding-right: 100px; position: absolute; }

.cbp_tmtimeline > li .cbp_tmtime span { display: block; text-align: right; }

.cbp_tmtimeline > li .cbp_tmtime span:first-child { font-size: 0.9em; color: #bdd0db; }

.cbp_tmtimeline > li .cbp_tmtime span:last-child { font-size: 2.9em; color: #3594cb; }

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmtime span:last-child { color: #6cbfee; }

/* Right content */ .cbp_tmtimeline > li .cbp_tmlabel { margin: 0 0 15px 25%; background: #3594cb; color: #fff; padding: 2em; font-size: 1.2em; font-weight: 300; line-height: 1.4; position: relative; border-radius: 5px; }

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel { background: #6cbfee; }

.cbp_tmtimeline > li .cbp_tmlabel h2 { margin-top: 0px; padding: 0 0 10px 0; border-bottom: 1px solid rgba(255,255,255,0.4); }

/* The triangle */ .cbp_tmtimeline > li .cbp_tmlabel:after { right: 100%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-right-color: #3594cb; border-width: 10px; top: 10px; }

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after { border-right-color: #6cbfee; }

/* The icons */ .cbp_tmtimeline > li .cbp_tmicon { width: 40px; height: 40px; font-family: 'ecoico'; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; font-size: 1.4em; line-height: 40px; -webkit-font-smoothing: antialiased; position: absolute; color: #fff; background: #46a4da; border-radius: 50%; box-shadow: 0 0 0 8px #afdcf8; text-align: center; left: 20%; top: 0; margin: 0 0 0 -25px; }

.cbp_tmicon-phone:before { content: "\e000"; }

.cbp_tmicon-screen:before { content: "\e001"; }

.cbp_tmicon-mail:before { content: "\e002"; }

.cbp_tmicon-earth:before { content: "\e003"; }

/* Example Media Queries */ @media screen and (max-width: 65.375em) {

.cbp_tmtimeline > li .cbp_tmtime span:last-child { font-size: 1.5em; } }

@media screen and (max-width: 47.2em) { .cbp_tmtimeline:before { display: none; }

.cbp_tmtimeline > li .cbp_tmtime { width: 100%; position: relative; padding: 0 0 20px 0; }

.cbp_tmtimeline > li .cbp_tmtime span { text-align: left; }

.cbp_tmtimeline > li .cbp_tmlabel { margin: 0 0 30px 0; padding: 1em; font-weight: 400; font-size: 95%; }

.cbp_tmtimeline > li .cbp_tmlabel:after { right: auto; left: 20px; border-right-color: transparent; border-bottom-color: #3594cb; top: -20px; }

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after { border-right-color: transparent; border-bottom-color: #6cbfee; }

.cbp_tmtimeline > li .cbp_tmicon { position: relative; float: right; left: auto; margin: -55px 5px 0 0px; } }