X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/800bf2e0f78452d2e2297aee41c5f62a9e2ef471..334b91188c1c1f51bac85114cda18f5359a22af9:/base.css diff --git a/base.css b/base.css index 7e9168a..fcf1e55 100644 --- a/base.css +++ b/base.css @@ -17,6 +17,12 @@ a:active, a:hover { /* common sections */ +h1 { + background-image: -moz-repeating-linear-gradient(top left -75deg, + rgba(255,0,0,.5), rgba(255,0,0,0) 1ex, + rgba(255,0,0,0) 2ex, rgba(255,0,0,.5) 3ex + ); +} h1, h2 { font-size: 200%; margin: 0; @@ -79,6 +85,17 @@ ul { text-align: left; } +dl > dt { + float: left; + width: 50%; + text-align: right; +} +dl > dd { + text-align: left; + padding-left: 1em; + overflow: hidden; +} + /* "keyboard" (list of keys) */ ul#rows {margin-top: -5ex} /* top (esc) row fits besides header */ @@ -246,6 +263,7 @@ table.dimap { .diinfo { -moz-column-width: 24em; + column-width: 24em; } .diinfo > div { overflow: hidden; @@ -283,6 +301,7 @@ table.dimap { #digraphs .Xz {color: #D00} /* proposed */ .Lm, .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */ +.X > span {background: #888} /* invisible contents */ /* letter scripts */ .Armenian, @@ -314,7 +333,6 @@ table.dimap { .Mn {background: #ACC} /* modifier */ .Cc, .Cf {color: #666; background: #BBB} /* control */ .Zs {background: #ACB} /* space */ -.Zs span {background: #EEE} .Co {background: #DCC} /* private */ .Xi, .Cs {background: #CCC} /* invalid */ .Xd {color: #844} /* deprecated */ @@ -368,6 +386,7 @@ table.dimap { /* hover effects */ .u-di, .X:hover {cursor: help} +.X:hover > span {background: #FFF} /* whitespace marker */ .Greek:hover, .Armenian:hover {background: #FA8} .Cyrillic:hover {background: #FB7} .Latin:hover {background: #EE4} @@ -397,6 +416,7 @@ table.dimap { .Xa:hover {outline: 1px solid #0F0} /* ascii */ .Xl:hover {outline: 1px solid #0C0} /* latin1 */ .Xz:hover {outline: 1px solid #F00} /* proposed */ +.l0:hover {background: #888} .l1:hover {background: #F88} .l2:hover {background: #FC8} .l3:hover {background: #FF8} @@ -526,9 +546,11 @@ dl.legend dt { margin: 0 0 1px; /* distinct keys */ height: auto; /* not key-height */ padding: 2px 0; + width: auto; /* not center-aligned */ } dl.legend dd { margin: 3px 0.4em 0; /* align text (add dt border+padding height) */ + padding: 0; } dl.legend-options dt {