Jump to content

User:Rumun999/standard.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* /w/index.php?title=User:Crissov/standard.css&action=raw&ctype=text/css */

dl {line-height: 1.2em;}
dt, dd {border-top: 0.1em solid gray; margin: 0.2em 0; padding: 0.2em 2.25%;}
dt {width: 20%; font-weight: bolder}
dd {width: 70%; margin-left: 25%; margin-top: -2.0em;}
dt+dd {margin-top: -1.9em} /* That is the negative value of
    line-height(dd) + padding-top(dd) + border-top-width(dd) +
  + margin-bottom(dt) + border-bottom-width(dt) + padding-bottom(dt)
  = 1.2em + 0.2em + 0.1em + 0.2em + 0.0em + 0.2em = 1.9em */
dd+dd, dd:first-child {margin-top: 0}

table {border-collapse: collapse;}
caption {font-weight: bold; font-size: large; background: #DDD; color: #000}
tr {border-top: thin/*0.1em*/ solid}
@media screen, projection {
 tr:first-child>th,
 tr>th:first-child {background-color: silver; color: black}
}
tr:first-child>th {text-align: center;}
tr>th:first-child {text-align: left;}
th, td {
  vertical-align: top; text-align: left;
  min-height: 1em; /*border: thin solid;*/
}
#article tbody>tr:hover,
#article tbody>tr:hover>* {
  background-color: silver; color: black
}

p, dt, dd, li, td, th, address, blockquote {
  min-width: 6ex; max-width: 80ex;
}

sup, sub {line-height: 1ex; font-size: 1ex; position: relative;
 vertical-align: inherit}
sub {bottom: -0.5ex/*top: 0.5ex*/}
sup {bottom: 0.5ex}

pre {font: 0.95em/1.15 monospace !important; white-space: pre-wrap; background: #CDE;}

code {color: navy}
var  {color: green}

.printfooter, #editpage-copywarn {display: none}

h1[id]:hover:after, h2[id]:hover:after, h3[id]:hover:after,
h4[id]:hover:after, h5[id]:hover:after, h6[id]:hover:after/*,
ul[id]:hover:before, ol[id]:hover:before, dl[id]:hover:before,
table[id]:before*/ {content: " #" attr(id)}

:link:hover, :visited:hover {color: blue}

textarea,       input[text]       {background-color: #EEE}
textarea:focus, input[text]:focus {background-color: #FFF}

p, li, dt, dd,
h1, h2, h3, h4, h5, h6,
blockquote, pre, address,
textarea, input[type="text"], input[type="password"] {
  cursor: text !important;
}

@media projection, print {
 h1, h2, h3, h4, h5, h6, table {
  page-break-before: always;
  page-break-after: avoid;
 }
 h1+h2, h2+h3, h3+h4, h4+h5, h5+h6,
 h1+table, h2+table, h3+table, h4+table, h5+table, h6+table {
  page-break-before: avoid;
 }
 ul, ol, dl {
  page-break-inside: avoid;
 }
 p, li, blockquote {
   page-break-inside: avoid;
 }

 .subtitle {display: none}
}

#topbar, #footer, #quickbar {font-size: smaller}
#article                    {font-size: medium}

     body[onload]    #quickbar {display: none !important}
html body[onload=""] #quickbar {display: block !important}