Difference between revisions of "Template:SSTi-SZGD"

 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
<style type="text/css">
 
<style type="text/css">
  
html{ font-size: 62.5%; font-family: "MicroSoft YaHei", "sans-serif"; /*"sans-serif"是设备默认的字体*/ margin: 0; padding:0; background: white;}
+
html{ font-size: 62.5%; font-family: "Arial","Helvetica","sans-serif"; margin: auto; background: white;}
 
 
 
body,span,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
 
body,span,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
 
     margin:0;
 
     margin:0;
 
     padding:0;
 
     padding:0;
     line-height: normal;
+
     line-height: 1.2;
 
}
 
}
 
 
/*所有的标签和伪类 before after*/
+
/*  before after*/
 
*, ::before, ::after {
 
*, ::before, ::after {
 
    padding: 0;
 
    padding: 0;
 
    margin: 0;
 
    margin: 0;
    /*移动端特殊的设置*/
+
    /*phone*/
    -webkit-tap-highlight-color: transparent;  /*清除点击高亮效果*/
+
    -webkit-tap-highlight-color: transparent;   
    box-sizing: border-box; /*设置所有的盒子的宽度以边框开始计算*/
+
    box-sizing: border-box;  
    -webkit-box-sizing: border-box;/*兼容 webkit 浏览器内核厂商*/
+
    -webkit-box-sizing: border-box;
 
}
 
}
 
 
/*去除鼠标选中*/
+
/*mouse*/
 
.noselect {
 
.noselect {
 
    -webkit-touch-callout: none;
 
    -webkit-touch-callout: none;
Line 31: Line 31:
 
}
 
}
  
/*各浏览器显示不同,去掉边框等默认样式*/
+
/*bower style*/
 
fieldset, img, input, button {
 
fieldset, img, input, button {
 
    border: none;
 
    border: none;
Line 51: Line 51:
 
    border: none;
 
    border: none;
 
    outline: none;
 
    outline: none;
    resize: none; /*防止拖动 影响布局*/
+
    resize: none;  
    /*特殊的属性定义 清除浏览器给input自带的样式*/
+
    -webkit-appearance: none;  
    -webkit-appearance: none; /*将组件默认的样式设置为空*/
+
 
}
 
}
  
 
img {
 
img {
 
    vertical-align: middle;
 
    vertical-align: middle;
    display: block; /*清除img默认间隔*/
+
    display: block;
 
}
 
}
  
Line 65: Line 64:
 
}
 
}
  
/*清除浮动*/
+
/*cls float*/
 
.clearfix:before, .clearfix:after {
 
.clearfix:before, .clearfix:after {
 
    content: "";
 
    content: "";
Line 77: Line 76:
 
}
 
}
  
/*废物利用*/
+
/*use*/
 
s, i, em {
 
s, i, em {
 
    font-style: normal;
 
    font-style: normal;
Line 83: Line 82:
 
}
 
}
  
/*igem网站特殊设置*/
+
/*igem*/
body{ min-width: 1280px; min-height: 380px; position: relative;}
+
body{ min-width: 1024px; position: relative;}
 
#home_logo, #sideMenu,#bars_item,#top_title { display:none; }
 
#home_logo, #sideMenu,#bars_item,#top_title { display:none; }
 
#sideMenu, #top_title, .patrollink  {display:none;}
 
#sideMenu, #top_title, .patrollink  {display:none;}
Line 90: Line 89:
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
#top_menu_inside ul li{ line-height: 1.5em;}
 
#top_menu_inside ul li{ line-height: 1.5em;}
 +
  
 
</style>
 
</style>

Latest revision as of 01:45, 27 October 2017