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

 
(32 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
position: fixed;
 
position: fixed;
 
margin-left: 0px;
 
margin-left: 0px;
}
 
 
.navbar-right{
 
      margin-right:0px !important;
 
 
}
 
}
  
Line 22: Line 18:
 
margin: 0px;
 
margin: 0px;
 
padding: 0px;
 
padding: 0px;
 +
}
 +
 +
.mw-content-ltr ul {
 +
      margin: 0;
 
}
 
}
  
Line 35: Line 35:
 
}
 
}
  
 +
#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 {
/*low_version*/
+
  font-synthesis: none;
.low_version{
+
list-style: decimal outside;
z-index:-1;
+
        animation:show 30s;
+
        -moz-animation:show 30s; /* Firefox */
+
        -webkit-animation:show 30s; /* Safari and Chrome */
+
        -o-animation:show 30s; /* Opera */
+
 
}
 
}
@keyframes show
+
 
{
+
.mw-content-ltr ol {
from {color:black;}
+
  margin: 0 0 10px 2em;
to {color:#F00;}
+
 
}
 
}
.low_version p{
 
font-size:15px;
 
}
 
  
 
/*-----------------------------------------------------------------------------------*/
 
/* RESET
 
/*-----------------------------------------------------------------------------------*/
 
  
 
* {
 
* {
Line 67: Line 67:
 
}
 
}
  
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, ol, ul, li, fieldset, form, label, legend {
+
 
 +
 
 +
 
 +
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;
 
margin:0;
 
padding:0;
 
padding:0;
Line 75: Line 79:
 
vertical-align:baseline;
 
vertical-align:baseline;
 
background:transparent
 
background:transparent
 
 
}
 
}
 
body {
 
body {
        font-size: 14px; !important
+
line-height:1
 
}
 
}
 
ol, ul {
 
ol, ul {
Line 149: Line 152:
 
input[type="submit"]:focus, input[type="button"]:focus {
 
input[type="submit"]:focus, input[type="button"]:focus {
 
outline : none;
 
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;

}