Team:SJTU-BioX-Shanghai/article.css

From 2014.igem.org

(Difference between revisions)
 
(24 intermediate revisions not shown)
Line 1: Line 1:
   @charset "UTF-8";  
   @charset "UTF-8";  
/* CSS Document */
/* CSS Document */
-
<link href='http://fonts.googleapis.com/css?family=Rancho|Open+Sans:600italic,400' rel='stylesheet' type='text/css'>
+
article {
-
 
+
  margin: 3% 15%;
-
  body {
+
}  
-
  margin: 0;
+
article p {
-
  padding: 0;
+
  padding-left:100px;
-
  box-sizing: border-box;
+
  padding-right:8%;
-
  }
+
  font-family:OpenSans-Regular, sans-serif;
-
 
+
  text-align: justify;
-
/* @group overview */
+
  text-indent: 5em;
-
 
+
  word-spacing: 1.8em;
-
  .overview  {
+
  -moz-column-count: 2;
-
  background-color: #edecec;
+
  -moz-column-gap: 2em;
-
  background-image: url('../img/back.png');
+
  column-count: 2;
-
  background-repeat: repeat;
+
  column-gap: 2em;
-
  -webkit-columns: 2;
+
  -webkit-column-count: 2;
-
  -moz-columns: 2;
+
  -webkit-column-gap: 2em;
-
  column-fill: balance;
+
-
  -webkit-column-gap: 2em;
+
-
  -moz-column-gap: 2em;
+
-
  column-gap: 2em;
+
-
  text-align: justify;
+
-
  padding: 3% 8%;
+
-
  font-family: 'Open Sans','Comic Sans MS',cursive,sans-serif;
+
-
  line-height: 1.7em;
+
-
  }
+
-
  .overview h2{
+
-
  color: #17c4bb;
+
-
  text-shadow: 0px 0px 6px #FFFFFF;
+
-
  margin: 6px 3px 2px 3px ;
+
-
  }
+
-
  .overview ol{
+
-
  margin-bottom: 1em;
+
-
  list-style-type: disc;
+
-
  }
+
-
 
+
-
/* @end */
+
-
  .fixed  {
+
-
  position: fixed;
+
-
  top: 0;
+
-
  }
+
-
  .right {
+
-
  float: right;
+
-
  }
+
-
  article  {
+
-
  padding: 3% 8%;
+
-
  }
+
-
  article p  {
+
-
  font-family:'Open Sans','Comic Sans MS',cursive,sans-serif;
+
-
  text-align: justify;
+
-
  text-indent: 3em;
+
-
  font-size:1.5em;
+
-
  word-spacing: 0.2em;
+
-
  -moz-columns: 2;
+
-
  -moz-column-gap: 2em;
+
-
  -webkit-column-count: 2;
+
-
  -webkit-column-gap: 2em;
+
-
  }
+
-
 
+
-
  h2  {
+
-
  font-family: 'Rancho', Gadget, sans-serif;
+
-
  font-size: 3em;
+
-
  margin: 20px 3px 2px 10px;
+
-
  }
+
-
  @media screen and (max-width: 55.6875em) {
+
-
  article p {
+
-
-webkit-column-count: 1;
+
-
}
+
-
  .overview {
+
-
-webkit-column-count: 1;
+
-
}
+
}
}
 +
article h2 {
 +
  font-family: Rancho, sans-serif;
 +
  word-spacing:2 em;
 +
  }

Latest revision as of 01:40, 17 October 2014

 @charset "UTF-8"; 

/* CSS Document */ article {

  margin: 3% 15%;

} article p {

  padding-left:100px;
  padding-right:8%;
  font-family:OpenSans-Regular, sans-serif;
  text-align: justify;
  text-indent: 5em;
  word-spacing: 1.8em;
  -moz-column-count: 2;
  -moz-column-gap: 2em;
  column-count: 2;
  column-gap: 2em;
  -webkit-column-count: 2;
  -webkit-column-gap: 2em;

} article h2 {

  font-family: Rancho, sans-serif;
  word-spacing:2 em;
  }