Debian Codegraph @

tools/unicode_comparison/html/styles.html

raw
1 {{ define "styles" }}
2
3 html { overflow-y: scroll; }
4
5 table { width: 100%; border-collapse:collapse; }
6
7 tr, th { border: 2px solid white; background-color: gray; font-size: 18px; }
8
9 tr, td { border: 2px solid white; font-size: 16px; }
10
11 tbody tr { display: none; margin:0; padding:0; }
12
13 td { padding: 0px; }
14 td div { font-size: 0px; }
15 div span { font-size: 16px; }
16
17 div.invisible { display: none; }
18
19 span.span_whitespace { background-color: blue; opacity: 0.75; }
20 span.span_grapheme { background-color: yellow; opacity: 0.75; }
21
22 span.span_softBreak {border-left: 2px solid red; }
23 span.span_hardBreak { border-left: 2px solid coral; }
24 span.span_word { border-left: 2px solid darkturquoise; }
25 span.span_control { border-left: 2px solid green; }
26
27 input[type='button'] {
28 border: 0;
29 background-color: lightsteelblue;
30 cursor: pointer;
31 width: 100%;
32 height: 100%;
33 display: block;
34 box-shadow: none;
35 margin:0;
36 padding:0;
37 font-size: 16px;
38 }
39
40 input[type='button'].grapheme { background-color: palegoldenrod; color: black; }
41 input[type='button'].softBreak { background-color: lightpink; color: black; }
42 input[type='button'].hardBreak { background-color: peachpuff; color: black; }
43 input[type='button'].word { background-color: lightcyan; color: black; }
44 input[type='button'].control { background-color: palegreen; color: green; }
45 input[type='button'].whitespace { background-color: lavender; color: purple; }
46 input[type='button'].inactive { opacity: 0.25; }
47 input[type='button'].disabled { color: gray; background-color: lightgray; text-decoration: line-through; }
48
49 selected { background-color: yellow; }
50
51 td.results1 { color: black; }
52 td.results2 { color: darkgray; }
53 td.results { font-style: italic; text-align: right; }
54
55 span.underlined { text-decoration: underline; }
56 span.regular { foreground-color: gray; }
57
58 tr.l1, tr.open { display: table-row; }
59
60 tr.l1 { background: #bbb; }
61 tr.l2 { background: #ccc; }
62 tr.l3 { background: #ddd; }
63 tr.l4 { background: #eee; }
64 tr.l5 { background: #fff; }
65
66 tr td:first-of-type {
67 position: relative;
68 padding-left: 0.2em;
69 }
70
71 tr td a {
72 color: inherit;
73 text-decoration: inherit;
74 position: absolute;
75 left: 0.25em;
76 }
77
78 tr td:first-of-type { padding-left: 1em; }
79
80 td.one_line { display: flex; flex-direction: row; }
81
82 {{ end }}