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

Line 10: Line 10:
 
}
 
}
  
.navbar-right{
+
.navbar-right {
 
       margin-right:0px !important;
 
       margin-right:0px !important;
 
}
 
}
Line 44: Line 44:
 
     background-color: rgb(248, 250, 238); !important
 
     background-color: rgb(248, 250, 238); !important
 
}
 
}
 +
 
* {
 
* {
 
   -webkit-box-sizing: border-box;!important
 
   -webkit-box-sizing: border-box;!important
Line 52: Line 53:
 
body {
 
body {
 
         font-size: 14px; !important
 
         font-size: 14px; !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, ol, ul, li, fieldset, form, label, legend {
 +
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;
 
}
 
}

Revision as of 09:28, 14 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; }

.navbar-right {

      margin-right:0px !important;

}

  1. globalWrapper, #content {

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

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:14px; !important

}

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

}

  1. mw-content-text {
   background-color: rgb(248, 250, 238); !important

}

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

}

body {

       font-size: 14px; !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, ol, ul, li, fieldset, form, label, legend { 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; }