| author | wenzelm |
| Sun, 12 Jan 2025 22:16:17 +0100 | |
| changeset 81800 | 353db84fa71b |
| parent 81566 | f207acb03ccb |
| permissions | -rw-r--r-- |
| 65837 | 1 |
/* standard document markup */ |
2 |
||
3 |
dt {
|
|
4 |
float: left; |
|
5 |
clear: left; |
|
6 |
padding-right: 0.5em; |
|
7 |
font-weight: bold; |
|
8 |
} |
|
9 |
||
|
66039
a2b8c3d31037
explicit foreground color, for the sake of dark theme in VSCode;
wenzelm
parents:
66000
diff
changeset
|
10 |
body {
|
|
a2b8c3d31037
explicit foreground color, for the sake of dark theme in VSCode;
wenzelm
parents:
66000
diff
changeset
|
11 |
color: #000000; |
|
a2b8c3d31037
explicit foreground color, for the sake of dark theme in VSCode;
wenzelm
parents:
66000
diff
changeset
|
12 |
background-color: #FFFFFF; |
|
a2b8c3d31037
explicit foreground color, for the sake of dark theme in VSCode;
wenzelm
parents:
66000
diff
changeset
|
13 |
} |
| 14542 | 14 |
|
15 |
.head { background-color: #FFFFFF; }
|
|
| 61374 | 16 |
.source {
|
|
62812
ce22e5c3d4ce
more robust display of bidirectional Unicode text: enforce left-to-right;
wenzelm
parents:
61374
diff
changeset
|
17 |
direction: ltr; unicode-bidi: bidi-override; |
| 61374 | 18 |
background-color: #FFFFFF; |
19 |
padding: 10px; |
|
|
69343
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
67336
diff
changeset
|
20 |
font-family: "Isabelle DejaVu Sans Mono", monospace; |
| 61374 | 21 |
} |
| 14542 | 22 |
|
| 72962 | 23 |
.contents { background-color: #FFFFFF; padding: 10px; }
|
| 59120 | 24 |
.sessions { background-color: #FFFFFF; padding: 10px; }
|
|
69343
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
67336
diff
changeset
|
25 |
.document { white-space: normal; font-family: "Isabelle DejaVu Serif", serif; }
|
| 14542 | 26 |
|
| 27848 | 27 |
.name { font-style: italic; }
|
|
69343
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
67336
diff
changeset
|
28 |
.filename { font-family: "Isabelle DejaVu Sans Mono", monospace; }
|
| 23716 | 29 |
|
| 27848 | 30 |
|
| 33985 | 31 |
/* basic syntax markup */ |
| 27848 | 32 |
|
|
63683
87c6158f4ef4
more robust HTML rendering of hidden control symbols: Vacuous font bypasses minimal font-size restrictions of common browsers, transparent colour imitates hidden visibility while copy-paste still works;
wenzelm
parents:
62813
diff
changeset
|
33 |
.hidden { font-family: Vacuous; font-size: 1%; color: rgba(255,255,255,0); }
|
|
67255
f1f983484878
HTML rendering of \<^control> as in Isabelle/jEdit;
wenzelm
parents:
66076
diff
changeset
|
34 |
.control { font-weight: bold; font-style: italic; }
|
| 33985 | 35 |
|
|
43550
b416425c7ad0
tuned color, to avoid confusion with type variables;
wenzelm
parents:
43549
diff
changeset
|
36 |
.binding { color: #336655; }
|
| 81566 | 37 |
.tclass { }
|
38 |
.tconst { }
|
|
|
43549
bb4cff2ff556
discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents:
43548
diff
changeset
|
39 |
.tfree { color: #A020F0; }
|
|
bb4cff2ff556
discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents:
43548
diff
changeset
|
40 |
.tvar { color: #A020F0; }
|
| 81566 | 41 |
.const { }
|
| 66044 | 42 |
.free { color: #0000FF; }
|
|
43549
bb4cff2ff556
discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents:
43548
diff
changeset
|
43 |
.skolem { color: #D2691E; }
|
| 66044 | 44 |
.bound { color: #008000; }
|
|
43549
bb4cff2ff556
discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents:
43548
diff
changeset
|
45 |
.var { color: #00009B; }
|
|
bb4cff2ff556
discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents:
43548
diff
changeset
|
46 |
.numeral { }
|
|
bb4cff2ff556
discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents:
43548
diff
changeset
|
47 |
.literal { font-weight: bold; }
|
|
bb4cff2ff556
discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents:
43548
diff
changeset
|
48 |
.delimiter { }
|
| 66044 | 49 |
.inner_numeral { color: #FF0000; }
|
50 |
.inner_quoted { color: #FF00CC; }
|
|
| 55033 | 51 |
.inner_cartouche { color: #CC6600; }
|
| 69351 | 52 |
.comment1 { color: #CC0000; }
|
53 |
.comment2 { color: #FF8400; }
|
|
54 |
.comment3 { color: #6600CC; }
|
|
| 66044 | 55 |
.dynamic { color: #7BA428; }
|
56 |
.class_parameter_color { color: #D2691E; }
|
|
| 29320 | 57 |
|
|
43549
bb4cff2ff556
discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents:
43548
diff
changeset
|
58 |
.bold { font-weight: bold; }
|
| 29320 | 59 |
|
| 66044 | 60 |
.main { color: #000000; }
|
61 |
.command { font-weight: bold; }
|
|
62 |
.keyword { font-weight: bold; }
|
|
63 |
.keyword1 { color: #006699; }
|
|
64 |
.keyword2 { color: #009966; }
|
|
65 |
.keyword3 { color: #0099FF; }
|
|
66 |
.quasi_keyword { color: #9966FF; }
|
|
67 |
.operator { color: #323232; }
|
|
| 59120 | 68 |
.string { color: #FF00CC; }
|
69 |
.alt_string { color: #CC00CC; }
|
|
70 |
.verbatim { color: #6600CC; }
|
|
| 55033 | 71 |
.cartouche { color: #CC6600; }
|
| 59120 | 72 |
.comment { color: #CC0000; }
|
| 59125 | 73 |
.improper { color: #FF5050; }
|
| 69972 | 74 |
.antiquote { color: #6600CC; }
|
75 |
.raw_text { color: #6600CC; }
|
|
76 |
.plain_text { color: #CC6600; }
|
|
| 48751 | 77 |
.bad { background-color: #FF6A6A; }
|
| 66075 | 78 |
.quoted { background-color: rgba(139,139,139,0.05); }
|
79 |
.antiquoted { background-color: rgba(255,200,50,0.1); }
|
|
| 65891 | 80 |
|
81 |
||
82 |
/* message background */ |
|
83 |
||
84 |
.writeln_message { background-color: #F0F0F0; }
|
|
85 |
.information_message { background-color: #DCEAF3; }
|
|
86 |
.tracing_message { background-color: #F0F8FF; }
|
|
87 |
.warning_message { background-color: #EEE8AA; }
|
|
88 |
.legacy_message { background-color: #EEE8AA; }
|
|
89 |
.error_message { background-color: #FFC1C1; }
|
|
| 65939 | 90 |
|
91 |
||
92 |
/* message underline */ |
|
93 |
||
94 |
.writeln { border-bottom: 1px dotted #C0C0C0; }
|
|
95 |
.information { border-bottom: 1px dotted #C1DFEE; }
|
|
96 |
.warning { border-bottom: 1px dotted #FF8C00; }
|
|
97 |
.legacy { border-bottom: 1px dotted #FF8C00; }
|
|
98 |
.error { border-bottom: 1px dotted #B22222; }
|
|
99 |
||
100 |
||
101 |
/* tooltips */ |
|
102 |
||
103 |
.writeln { position: relative; display: inline-block; }
|
|
104 |
.information { position: relative; display: inline-block; }
|
|
105 |
.warning { position: relative; display: inline-block; }
|
|
106 |
.legacy { position: relative; display: inline-block; }
|
|
107 |
.error { position: relative; display: inline-block; }
|
|
108 |
||
109 |
.writeln:hover .tooltip { visibility: visible; }
|
|
110 |
.information:hover .tooltip { visibility: visible; }
|
|
111 |
.warning:hover .tooltip { visibility: visible; }
|
|
112 |
.legacy:hover .tooltip { visibility: visible; }
|
|
113 |
.error:hover .tooltip { visibility: visible; }
|
|
114 |
||
115 |
.tooltip {
|
|
| 65947 | 116 |
top: -0.5ex; |
117 |
left: 5em; |
|
| 65939 | 118 |
visibility: hidden; |
| 65982 | 119 |
width: 50em; |
| 65939 | 120 |
border: 1px solid #808080; |
| 65941 | 121 |
padding: 1px 1px; |
| 65939 | 122 |
background-color: #FFFFE9; |
123 |
position: absolute; |
|
124 |
z-index: 1; |
|
125 |
} |
|
| 65945 | 126 |
|
127 |
.tooltip pre { margin: 1px; white-space: pre-wrap; }
|
|
| 74679 | 128 |
|
129 |
||
130 |
/* formal entities */ |
|
131 |
||
132 |
.entity_def {
|
|
133 |
color: inherit; |
|
134 |
text-decoration: inherit; |
|
135 |
} |
|
136 |
||
137 |
.entity_def:hover {
|
|
138 |
color: inherit; |
|
139 |
text-decoration: inherit; |
|
140 |
background-color: rgba(50,50,50,20%); |
|
141 |
} |
|
142 |
||
143 |
.entity_ref {
|
|
144 |
color: inherit; |
|
145 |
text-decoration: inherit; |
|
146 |
border: 0.5px solid rgba(0,0,0,0); |
|
147 |
} |
|
148 |
||
149 |
.entity_ref:hover {
|
|
150 |
color: inherit; |
|
151 |
text-decoration: inherit; |
|
152 |
background-color: rgba(50,50,50,20%); |
|
153 |
border: 0.5px solid black; |
|
154 |
} |