X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/3e9e4aa26dec25c4c0bc34c6f98139dcb74d25da..327c4c234570dabd716f92da15cf0ef716b9cb5d:/base.css diff --git a/base.css b/base.css index 4b3cac9..d05e452 100644 --- a/base.css +++ b/base.css @@ -82,9 +82,9 @@ ul { /* "keyboard" (list of keys) */ ul#rows {margin-top: -5ex} /* top (esc) row fits besides header */ -li.row1 {margin-left: 7em} /* row offsets relative to ~6em key width */ -li.row2 {margin-left: 8em} -li.row3 {margin-left: 10em} /* should actually align to next key on row0 */ +li.row2 {margin-left: 7em} /* row offsets relative to ~6em key width */ +li.row3 {margin-left: 8em} +li.row4 {margin-left: 10em} /* should actually align to next key on row0 */ /* ...however rows>=1 are shifted a bit, to make space */ li.row { @@ -323,17 +323,37 @@ table.dimap { .ccmap .Xr {opacity:.4} /* support levels */ -.l0 {background: #FDD} /* no, unsupported, other */ +.l1 {background: #FDD} /* no, unsupported, other */ .l2 {background: #FED} /* partial, restricted, unofficial */ /* default u-prop, u-bmp */ -.l4 {background: #FFD} /* almost, imperfect, common */ +.l3 {background: #FFD} /* almost, imperfect, common */ /* default u-di, u-lat1 */ -.l5 {background: #EFD} /* yes, supported, ubiquitous, native */ +.l4 {background: #EFD} /* yes, supported, ubiquitous, native */ /* default u-ascii */ -.l6 {background: #DFD} /* complete, perfect */ -.ex {background: #EEE} /* experimental, disfavoured */ +.l5 {background: #DFD} /* complete, perfect */ +.l0 {background: #EEE} /* unknown, omitted */ +.ex { color: #888} /* experimental, disfavoured */ .u-invalid {background: #BBB} /* invalid, impossible */ +.p0 {opacity: .6} +.p0.p {opacity: 1} +.p::after {content: '!'; color: #F00} +.p4::after {color: #C00} +.p3::after {color: #A00} +.p2::after {color: #800} +.p1::after, +.p0::after {color: #000} +.p09::after {opacity: .9} +.p08::after {opacity: .8} +.p07::after {opacity: .7} +.p06::after {opacity: .6} +.p05::after {opacity: .5} +.p04::after {opacity: .4} +.p03::after {opacity: .3} +.p02::after {opacity: .2} +.p01::after {opacity: .1} +.p00::after {display: none} + /* code syntax */ .sy-comment { color: #888 } .sy-constant { color: #008 } @@ -377,12 +397,11 @@ 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: #F88} +.l1:hover {background: #F88} .l2:hover {background: #FC8} -.l4:hover {background: #FF8} -.l5:hover {background: #CF8} -.l6:hover {background: #8F8} -.ex:hover {background: #BBB} +.l3:hover {background: #FF8} +.l4:hover {background: #CF8} +.l5:hover {background: #8F8} /* key type colorization */ @@ -534,6 +553,45 @@ ul.legend-set li { padding: 0 0.2em; } +/* page-specific */ + +#browser td > a { + text-decoration: none; +} +#browser tr .aside { + font-size: 80%; + overflow: hidden; + height: 0; + -webkit-transition: all 1s ease-in; + -o-transition: all 1s ease-in; + -moz-transition: all 1s ease-in; + transition: height 1s ease-in; +} +#browser tr .aside p { + margin: 1ex 0; +} +#browser tr.target .aside, +#browser tr:target .aside { + height: auto; +} +#browser td.X { + white-space: nowrap; /* some browsers break on dashes */ +} + +#browser tr:target > td:first-of-type, +#browser tr.focus > td:first-of-type { + background: inherit; +} +#browser tr.focus > td { + border-bottom-color: #000; +} + +form.aside { + position: absolute; + top: 3ex; + right: 1em; +} + /* printing hints */ @page {