User:Zocky/wysawyg.css
From Wikipedia
Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror:: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences.
body, #wwEditor
{
font-family:arial, sans-serif;
margin:8px;
font-size:13px;
}
body *
{
line-height:20px;
}
wa { display:inline;}
ww, wb
{
font-family:monospace;
font-weight:bold;
color:#888;
white-space:pre;
}
ww:first-child
{
padding-left:2px;
}
ww:last-child
{
padding-right:2px;
}
wp > wa
{
font-family:monospace;
font-weight:bold;
color:red;
}
wt > wa {
margin-left:16px;
text-indent:-12px;
display:block;
padding:0px 12px;
border-left:grey solid 1px;
border-right:grey solid 1px;
border-top:#aaa dotted 1px;
}
wt > wa:last-child {
border-bottom:grey solid 1px;
padding-bottom:2px;
}
wt > wa:first-child
{
color:darkred;
margin:0;
font-family:monospace;
font-weight:bold;
border:grey solid 1px;
border-bottom:none 0px;
padding:0px 2px 3px 2px;
display:inline;
}
wt > wa:first-child + wa
{
border-top:grey solid 1px;
padding-top:2px;
}
wt > wa:only-child
{
color:darkred;
font-family:monospace;
font-weight:bold;
border:grey solid 1px;
border-bottom:none 0px;
padding:0px 2px;
display:inline;
position:auto;
top:auto;
border:solid 1px grey;
}
wt > wa > ww:first-child + waa
{
color:darkred;
font-family:monospace;
font-weight:bold;
}
wl[c=int] > wa:last-child {
color:blue;
font-weight:normal;
}
wl[c=int]> wa:first-child
{
font-family:monospace;
font-weight:bold;
color:#888;
}
wl[c=int] > wa:only-child
{
font-family:inherit;
font-weight:normal;
color:blue;
top:0;
}
wl[c=int] wl
{
background:red
}
wl[c=img]
{
color:navy;
background:#adf;
text-decoration:none;
border:darkgreen solid 1px;
padding:2px 2px;
font-family:monospace;
font-weight:bold;
}
wl[c=img]> wa:first-child
{
color:navy;
font-family:monospace;
font-weight:bold;
;
}
wh1
{
font-size:24px;
border-bottom:solid 1px grey;
font-weight:normal;
margin:0.8em 0;
}
wh2
{
font-size:19px;
border-bottom:solid 1px grey;
font-weight:normal;
margin:0.8em 0;
}
wh3
{
font-size:17px;
font-weight:bold;
padding:0.8em 0;
}
wh4
{
font-weight:bold;
padding:0.8em 0;
}
wr
{
display:table;
text-style:normal;
margin:0.2em 0;
}
wr > ww:first-child
{
display:table-cell;
padding: 0 5px;
color:teal;
letter-spacing:6px;
}
wr > wrr
{
display:block;
}
wr > wrr[c=;]
{
font-weight:bold;
}
wr + br
{
display:none;
}
body wt > wa,
body wt wt wt > wa,
body wt wt wt wt wt > wa,
body wt wt wt wt wt wt wt > wa,
body wt wt wt wt wt wt wt wt wt > wa
{
background:#eed;
}
body wt wt > wa,
body wt wt wt wt > wa,
body wt wt wt wt wt wt > wa,
body wt wt wt wt wt wt wt wt > wa,
body wt wt wt wt wt wt wt wt wt wt > wa
{
background:#fff;
}
wx > wxx:first-child
{
font-family:monospace;
font-weight:bold;
color:#888;
}
wx > wxx:last-child {
font-family:inherit;
top:0;
color: #46b;
font-weight:normal;
;
background: url(http://en.wikipedia.org/skins/monobook/external.png) center right no-repeat;
padding-right: 13px;
}
wh
{
font-family:monospace;
font-weight:normal;
color:darkgreen;
}
wh > whs
{
color:green;
font-weight:normal;
}
wh > whs:last-child
{
background:red!important;
}
wpr
{
font-family:monospace;
white-space:pre;
background:#ddf;
border: dashed navy 1px;
border-bottom:none;
display:table;
width:100%;
}
wpr + br
{
display:none;
}
wpr + br + wpr
{
border-top:none;
}
ww[c=b]
{
white-space:pre;
}
ww[c=b]:after
{
content:"\A";
}
whr
{
font-family:monospace;
font-weight:bold;
color:#888;
white-space:pre;
border-bottom:groove 2px silver;
display:table;
width:100%;
margin-bottom:8px;
}
whr + br
{
display:none;
}
wc
{
background:#ffa;
}

