Difference between revisions of "Team:Tianjin/Resources/CSS:default"

(Created page with "body, html { font-size: 100%; padding: 0; margin: 0;} Reset: *, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-b...")
 
 
Line 1: Line 1:
body, html { font-size: 100%; padding: 0; margin: 0;}
+
body, html
 +
{
 +
    font-size: 100%;
 +
    padding: 0;
 +
    margin: 0;
 +
}
  
 
/* Reset */
 
/* Reset */
 
*,
 
*,
 
*:after,
 
*:after,
*:before {
+
*:before
-webkit-box-sizing: border-box;
+
{
-moz-box-sizing: border-box;
+
    -webkit-box-sizing: border-box;
box-sizing: border-box;
+
    -moz-box-sizing: border-box;
 +
    box-sizing: border-box;
 
}
 
}
  
 
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
 
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
 
.clearfix:before,
 
.clearfix:before,
.clearfix:after {
+
.clearfix:after
content: " ";
+
{
display: table;
+
    content: " ";
 +
    display: table;
 +
}
 +
 
 +
.clearfix:after
 +
{
 +
    clear: both;
 +
}
 +
 
 +
body
 +
{
 +
    background: #494A5F;
 +
    color: #D5D6E2;
 +
    font-weight: 500;
 +
    font-size: 1.05em;
 +
    font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
 
}
 
}
  
.clearfix:after {
+
a
clear: both;
+
{
 +
    color: #2fa0ec;
 +
    text-decoration: none;
 +
    outline: none;
 
}
 
}
  
body{
+
a:hover,a:focus
background: #494A5F;
+
{
color: #D5D6E2;
+
    color: #74777b;
font-weight: 500;
+
font-size: 1.05em;
+
font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
+
 
}
 
}
a{color: #2fa0ec;text-decoration: none;outline: none;}
 
a:hover,a:focus{color:#74777b;}
 

Latest revision as of 08:22, 29 August 2017

body, html {

   font-size: 100%;
   padding: 0;
   margin: 0;

}

/* Reset */

  • ,
    after,
    before

{

   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;

}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */ .clearfix:before, .clearfix:after {

   content: " ";
   display: table;

}

.clearfix:after {

   clear: both;

}

body {

   background: #494A5F;
   color: #D5D6E2;
   font-weight: 500;
   font-size: 1.05em;
   font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;

}

a {

   color: #2fa0ec;
   text-decoration: none;
   outline: none;

}

a:hover,a:focus {

   color: #74777b;

}