Difference between revisions of "Template:SSTi-SZGD"

 
(22 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
<style type="text/css">
 
<style type="text/css">
  
*{ margin:0; padding:0}
+
html{ font-size: 62.5%; font-family: "Arial","Helvetica","sans-serif"; margin: auto; background: white;}
html{ font-size: 62.5%; font-family: "MicroSoft YaHei", "sans-serif"; /*"sans-serif"是设备默认的字体*/ margin: 0; padding:0; background: white;}
+
body{ min-width: 1200px; margin:0; padding:0;}
+
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,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: 1.2;
 
}
 
}
#home_logo, #sideMenu,#bars_item,#top_title { display:none; }
+
#sideMenu, #top_title, .patrollink  {display:none;}
+
/*  before after*/
#content { width:100%; padding:0px;  margin-top:-10px; margin-left:0px;}
+
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
 
+
/*所有的标签和伪类 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 35: Line 31:
 
}
 
}
  
/*各浏览器显示不同,去掉边框等默认样式*/
+
/*bower style*/
 
fieldset, img, input, button {
 
fieldset, img, input, button {
 
    border: none;
 
    border: none;
Line 43: Line 39:
 
ul, ol {
 
ul, ol {
 
    list-style: none;
 
    list-style: none;
    line-height: normal;
+
     
 
}
 
}
  
Line 50: Line 46:
 
}
 
}
  
a{ text-decoration: none;}
+
a:hover{ text-decoration: none;}
  
 
input, textarea {
 
input, textarea {
 
    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 69: Line 64:
 
}
 
}
  
/*清除浮动*/
+
/*cls float*/
 
.clearfix:before, .clearfix:after {
 
.clearfix:before, .clearfix:after {
 
    content: "";
 
    content: "";
Line 81: Line 76:
 
}
 
}
  
/*废物利用*/
+
/*use*/
 
s, i, em {
 
s, i, em {
 
    font-style: normal;
 
    font-style: normal;
 
    text-decoration: none;
 
    text-decoration: none;
 
}
 
}
 +
 +
/*igem*/
 +
body{ min-width: 1024px; position: relative;}
 +
#home_logo, #sideMenu,#bars_item,#top_title { display:none; }
 +
#sideMenu, #top_title, .patrollink  {display:none;}
 +
#content { width:100%; padding:0px;  margin-top:-10px; margin-left:0px;}
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 +
#top_menu_inside ul li{ line-height: 1.5em;}
 +
  
 
</style>
 
</style>

Latest revision as of 01:45, 27 October 2017