Jump to content

User:Crissov/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.2;}
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% /*<= 100-25-2·2.25*/; margin-left: 25% /*>= 20+2·2.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:first-child,
dd+dd {margin-top: 0}
/* Make Talk pages with long, nested discussion better readable: */
dl dl dt {width: 5%; padding: 0.2em 1%}
dl dl dd {width: 89.75% /*<= 100-7.5-2.25*/; margin-left: 7.5% /*>= 5+2·1*/; margin-right: 0}
dl dl>*  {border-top-width: 0; border-left: thin solid;}

/*
.center {margin: 1em auto;}
table.pretty {border-collapse: collapse; border-spacing: 0.1em; border-style: double; margin: 1em 1em 1em 0;}
.pretty tr {border-top: thin solid}
.pretty th {border:     thin solid}
*/

table {border-collapse: collapse; margin: 1em; border-style: solid;}
caption {font-weight: bold; font-size: large; background: #DDD; color: #000}
/*thead, tfoot, tbody {border-style: dashed}*/
tr {border-top: thin solid}
th {border: thin 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; text-align: ",";
  min-height: 1em; padding: 0.25em;
}
tr>td[align="right"],
tr[align="right"]>td             {text-align: right; text-align: ",";}
tr[align="right"]>[align="left"] {text-align: left;}
#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*/0.1em; font-size: 1ex; /*position: relative;
 vertical-align: inherit*/}
/*sub {bottom: -0.5ex | top: 0.5ex}
sup {bottom: 0.5ex}*/
/*
[align="right"]+* {clear: right}
[align="left"]+*  {clear: left}
*/
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}

:link:hover, :visited:hover {color: blue; text-decoration: underline}

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;
}

h1, h2, h3, h4, h5, h6, ul, ol, dl {
  clear: left;
}
hr {
  clear: both;
}

@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}