Difference between revisions of "Template:BNU-CHINA/CSS/reset"

 
(39 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
top: 0;
 
top: 0;
 
position: fixed;
 
position: fixed;
 
 
margin-left: 0px;
 
margin-left: 0px;
}
 
 
.navbar-right{
 
      margin-right:0px !important;
 
 
}
 
}
  
Line 23: Line 18:
 
margin: 0px;
 
margin: 0px;
 
padding: 0px;
 
padding: 0px;
 +
}
 +
 +
.mw-content-ltr ul {
 +
      margin: 0;
 
}
 
}
  
Line 34: Line 33:
 
#menubar:hover ul{
 
#menubar:hover ul{
 
         visibility: visible;
 
         visibility: visible;
 +
}
 +
 +
#mw-content-text {
 +
  font-size:16px;
 +
}
 +
 +
#mw-content-text>p {
 +
    margin:0; !important
 +
}
 +
#mw-content-text,body {
 +
    background-color: transparent;
 +
}
 +
 +
#bodyContent h1 {
 +
  margin: 0;
 +
  border: 0;
 +
}
 +
 +
#globalWrapper ol {
 +
  font-synthesis: none;
 +
list-style: decimal outside;
 +
}
 +
 +
.mw-content-ltr ol {
 +
  margin: 0 0 10px 2em;
 +
}
 +
 +
 +
* {
 +
  -webkit-box-sizing: border-box;!important
 +
    -moz-box-sizing: border-box;!important
 +
          box-sizing: border-box;!important
 +
}
 +
 +
 +
 +
 +
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, , fieldset, form, label, legend {
 +
        overflow: visible;
 +
margin:0;
 +
padding:0;
 +
border:0;
 +
outline:0;
 +
font-size:100%;
 +
vertical-align:baseline;
 +
background:transparent
 +
}
 +
body {
 +
line-height:1
 +
}
 +
ol, ul {
 +
list-style:none
 +
}
 +
blockquote, q {
 +
quotes:none
 +
}
 +
blockquote:before, blockquote:after, q:before, q:after {
 +
content:'';
 +
content:none
 +
}
 +
:focus {
 +
outline:0
 +
}
 +
ins {
 +
text-decoration:none
 +
}
 +
del {
 +
text-decoration:line-through
 +
}
 +
table {
 +
border-collapse:collapse;
 +
border-spacing:0
 +
}
 +
.clear {
 +
clear:both;
 +
display:block;
 +
overflow:hidden;
 +
visibility:hidden;
 +
width:0;
 +
height:0
 +
}
 +
.clearfix:after {
 +
clear:both;
 +
content:' ';
 +
display:block;
 +
font-size:0;
 +
line-height:0;
 +
visibility:hidden;
 +
width:0;
 +
height:0
 +
}
 +
.clearfix {
 +
display:inline-block
 +
}
 +
* html .clearfix {
 +
height:1%
 +
}
 +
.clearfix {
 +
display:block
 +
}
 +
th, td {
 +
margin:0;
 +
padding:0
 +
}
 +
table {
 +
border-collapse:collapse;
 +
border-spacing:0
 +
}
 +
.clear {
 +
clear: both;
 +
}
 +
br {
 +
line-height: 10px;
 +
}
 +
input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner {
 +
border : 0px;
 +
}
 +
input[type="submit"]:focus, input[type="button"]:focus {
 +
outline : none;
 +
}
 +
 +
 +
 +
#globalWrapper article ol {
 +
    font-family: 'Computer Modern Serif', serif;
 +
    font-weight: normal;
 +
    margin: 0 0 16px 1.5em;
 +
}
 +
 +
#globalWrapper article ol li {
 +
    font-family: 'Computer Modern Serif', serif;
 +
    font-weight: normal;
 +
}
 +
 +
#globalWrapper article ul {
 +
    font-family: 'Computer Modern Serif', serif;
 +
    font-weight: normal;
 +
    margin: 0 0 16px 1.5em;
 +
    list-style: square outside;
 +
}
 +
 +
#globalWrapper article ul li {
 +
    font-family: 'Computer Modern Serif', serif;
 +
    font-weight: normal;
 
}
 
}

Latest revision as of 12:45, 18 September 2015

  1. contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear, .center {display: none;} /*-- hides default wiki settings --*/
  1. top-section {

border: 0 none; height: 14px; z-index: 100; top: 0; position: fixed; margin-left: 0px; }


  1. globalWrapper, #content {

width: 100%; height: 100%; border: 0px; background-color: transparent; margin: 0px; padding: 0px; }

.mw-content-ltr ul {

      margin: 0;

}

html, body, .wrapper { height: 100%; background-color: transparent; }

  1. menubar ul{
       visibility: hidden;}
  1. menubar:hover ul{
       visibility: visible;

}

  1. mw-content-text {
  font-size:16px;

}

  1. mw-content-text>p {
   margin:0; !important

}

  1. mw-content-text,body {
   background-color: transparent; 

}

  1. bodyContent h1 {
  margin: 0;
  border: 0;

}

  1. globalWrapper ol {
  font-synthesis: none;

list-style: decimal outside; }

.mw-content-ltr ol {

  margin: 0 0 10px 2em;

}


  • {
 -webkit-box-sizing: border-box;!important
    -moz-box-sizing: border-box;!important
         box-sizing: border-box;!important

}



html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, , fieldset, form, label, legend {

       overflow: visible;

margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent } body { line-height:1 } ol, ul { list-style:none } blockquote, q { quotes:none } blockquote:before, blockquote:after, q:before, q:after { content:; content:none }

focus {

outline:0 } ins { text-decoration:none } del { text-decoration:line-through } table { border-collapse:collapse; border-spacing:0 } .clear { clear:both; display:block; overflow:hidden; visibility:hidden; width:0; height:0 } .clearfix:after { clear:both; content:' '; display:block; font-size:0; line-height:0; visibility:hidden; width:0; height:0 } .clearfix { display:inline-block }

  • html .clearfix {

height:1% } .clearfix { display:block } th, td { margin:0; padding:0 } table { border-collapse:collapse; border-spacing:0 } .clear { clear: both; } br { line-height: 10px; } input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner {

border : 0px;

} input[type="submit"]:focus, input[type="button"]:focus { outline : none; }


  1. globalWrapper article ol {
   font-family: 'Computer Modern Serif', serif;
   font-weight: normal;
   margin: 0 0 16px 1.5em;

}

  1. globalWrapper article ol li {
   font-family: 'Computer Modern Serif', serif;
   font-weight: normal;

}

  1. globalWrapper article ul {
   font-family: 'Computer Modern Serif', serif;
   font-weight: normal;
   margin: 0 0 16px 1.5em;
   list-style: square outside;

}

  1. globalWrapper article ul li {
   font-family: 'Computer Modern Serif', serif;
   font-weight: normal;

}