User:Crissov/standard.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
This user script seems to have a documentation page at User:Crissov/standard. |
/* /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}