etc/isabelle.css
author wenzelm
Tue, 05 Dec 2017 15:29:37 +0100
changeset 67138 82283d52b4d6
parent 66076 8bd8750a2f9b
child 67255 f1f983484878
permissions -rw-r--r--
system option for default command tags;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
65837
9ee6a8d4499b style for <dl> that is reminiscent of LaTeX;
wenzelm
parents: 65089
diff changeset
     1
/* standard document markup */
9ee6a8d4499b style for <dl> that is reminiscent of LaTeX;
wenzelm
parents: 65089
diff changeset
     2
9ee6a8d4499b style for <dl> that is reminiscent of LaTeX;
wenzelm
parents: 65089
diff changeset
     3
dt {
9ee6a8d4499b style for <dl> that is reminiscent of LaTeX;
wenzelm
parents: 65089
diff changeset
     4
  float: left;
9ee6a8d4499b style for <dl> that is reminiscent of LaTeX;
wenzelm
parents: 65089
diff changeset
     5
  clear: left;
9ee6a8d4499b style for <dl> that is reminiscent of LaTeX;
wenzelm
parents: 65089
diff changeset
     6
  padding-right: 0.5em;
9ee6a8d4499b style for <dl> that is reminiscent of LaTeX;
wenzelm
parents: 65089
diff changeset
     7
  font-weight: bold;
9ee6a8d4499b style for <dl> that is reminiscent of LaTeX;
wenzelm
parents: 65089
diff changeset
     8
}
9ee6a8d4499b style for <dl> that is reminiscent of LaTeX;
wenzelm
parents: 65089
diff changeset
     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
f4fa346a0b46 use css in generated web pages
kleing
parents:
diff changeset
    14
f4fa346a0b46 use css in generated web pages
kleing
parents:
diff changeset
    15
.head     { background-color: #FFFFFF; }
61374
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    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
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    18
  background-color: #FFFFFF;
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    19
  padding: 10px;
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    20
  font-family: IsabelleText;
66076
8bd8750a2f9b avoid overlapping line background, notably for "quoted";
wenzelm
parents: 66075
diff changeset
    21
  line-height: 147%;
61374
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    22
}
14542
f4fa346a0b46 use css in generated web pages
kleing
parents:
diff changeset
    23
59120
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    24
.theories { background-color: #FFFFFF; padding: 10px; }
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    25
.sessions { background-color: #FFFFFF; padding: 10px; }
14542
f4fa346a0b46 use css in generated web pages
kleing
parents:
diff changeset
    26
27848
eda38d6e55da removed obsolete theorems;
wenzelm
parents: 23792
diff changeset
    27
.name     { font-style: italic; }
eda38d6e55da removed obsolete theorems;
wenzelm
parents: 23792
diff changeset
    28
.filename { font-family: fixed; }
23716
e6a5959b5a01 added some markup for outer syntax;
wenzelm
parents: 23612
diff changeset
    29
27848
eda38d6e55da removed obsolete theorems;
wenzelm
parents: 23792
diff changeset
    30
33985
1d33e85a3fa9 added markup for hidden text;
wenzelm
parents: 29320
diff changeset
    31
/* basic syntax markup */
27848
eda38d6e55da removed obsolete theorems;
wenzelm
parents: 23792
diff changeset
    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); }
33985
1d33e85a3fa9 added markup for hidden text;
wenzelm
parents: 29320
diff changeset
    34
43550
b416425c7ad0 tuned color, to avoid confusion with type variables;
wenzelm
parents: 43549
diff changeset
    35
.binding        { color: #336655; }
43549
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    36
.tfree          { color: #A020F0; }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    37
.tvar           { color: #A020F0; }
66044
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    38
.free           { color: #0000FF; }
43549
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    39
.skolem         { color: #D2691E; }
66044
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    40
.bound          { color: #008000; }
43549
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    41
.var            { color: #00009B; }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    42
.numeral        { }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    43
.literal        { font-weight: bold; }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    44
.delimiter      { }
66044
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    45
.inner_numeral  { color: #FF0000; }
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    46
.inner_quoted   { color: #FF00CC; }
55033
8e8243975860 support for nested text cartouches;
wenzelm
parents: 49554
diff changeset
    47
.inner_cartouche { color: #CC6600; }
59120
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    48
.inner_comment  { color: #CC0000; }
66044
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    49
.dynamic        { color: #7BA428; }
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    50
.class_parameter_color { color: #D2691E; }
29320
ee08a739ad52 updated rendering of inner token markup;
wenzelm
parents: 27848
diff changeset
    51
43549
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    52
.bold           { font-weight: bold; }
29320
ee08a739ad52 updated rendering of inner token markup;
wenzelm
parents: 27848
diff changeset
    53
66044
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    54
.main           { color: #000000; }
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    55
.command        { font-weight: bold; }
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    56
.keyword        { font-weight: bold; }
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    57
.keyword1       { color: #006699; }
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    58
.keyword2       { color: #009966; }
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    59
.keyword3       { color: #0099FF; }
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    60
.quasi_keyword  { color: #9966FF; }
bd7516709051 more HTML rendering as in Isabelle/jEdit;
wenzelm
parents: 66039
diff changeset
    61
.operator       { color: #323232; }
59120
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    62
.string         { color: #FF00CC; }
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    63
.alt_string     { color: #CC00CC; }
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    64
.verbatim       { color: #6600CC; }
55033
8e8243975860 support for nested text cartouches;
wenzelm
parents: 49554
diff changeset
    65
.cartouche      { color: #CC6600; }
59120
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    66
.comment        { color: #CC0000; }
59125
ee19c92ae8b4 more explicit markup for improper commands;
wenzelm
parents: 59123
diff changeset
    67
.improper       { color: #FF5050; }
48751
dc3bbdda4bc8 more visible markup of malformed input as "bad";
wenzelm
parents: 46865
diff changeset
    68
.bad            { background-color: #FF6A6A; }
66075
408a5325379c tuned rendering;
wenzelm
parents: 66044
diff changeset
    69
.quoted         { background-color: rgba(139,139,139,0.05); }
408a5325379c tuned rendering;
wenzelm
parents: 66044
diff changeset
    70
.antiquoted     { background-color: rgba(255,200,50,0.1); }
65891
586911118317 HTML rendering based on Isabelle/jEdit colors;
wenzelm
parents: 65837
diff changeset
    71
586911118317 HTML rendering based on Isabelle/jEdit colors;
wenzelm
parents: 65837
diff changeset
    72
586911118317 HTML rendering based on Isabelle/jEdit colors;
wenzelm
parents: 65837
diff changeset
    73
/* message background */
586911118317 HTML rendering based on Isabelle/jEdit colors;
wenzelm
parents: 65837
diff changeset
    74
586911118317 HTML rendering based on Isabelle/jEdit colors;
wenzelm
parents: 65837
diff changeset
    75
.writeln_message      { background-color: #F0F0F0; }
586911118317 HTML rendering based on Isabelle/jEdit colors;
wenzelm
parents: 65837
diff changeset
    76
.information_message  { background-color: #DCEAF3; }
586911118317 HTML rendering based on Isabelle/jEdit colors;
wenzelm
parents: 65837
diff changeset
    77
.tracing_message      { background-color: #F0F8FF; }
586911118317 HTML rendering based on Isabelle/jEdit colors;
wenzelm
parents: 65837
diff changeset
    78
.warning_message      { background-color: #EEE8AA; }
586911118317 HTML rendering based on Isabelle/jEdit colors;
wenzelm
parents: 65837
diff changeset
    79
.legacy_message       { background-color: #EEE8AA; }
586911118317 HTML rendering based on Isabelle/jEdit colors;
wenzelm
parents: 65837
diff changeset
    80
.error_message        { background-color: #FFC1C1; }
65939
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    81
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    82
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    83
/* message underline */
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    84
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    85
.writeln { border-bottom: 1px dotted #C0C0C0; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    86
.information { border-bottom: 1px dotted #C1DFEE; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    87
.warning { border-bottom: 1px dotted #FF8C00; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    88
.legacy { border-bottom: 1px dotted #FF8C00; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    89
.error { border-bottom: 1px dotted #B22222; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    90
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    91
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    92
/* tooltips */
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    93
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    94
.writeln { position: relative; display: inline-block; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    95
.information { position: relative; display: inline-block; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    96
.warning { position: relative; display: inline-block; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    97
.legacy { position: relative; display: inline-block; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    98
.error { position: relative; display: inline-block; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
    99
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   100
.writeln:hover .tooltip { visibility: visible; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   101
.information:hover .tooltip { visibility: visible; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   102
.warning:hover .tooltip { visibility: visible; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   103
.legacy:hover .tooltip { visibility: visible; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   104
.error:hover .tooltip { visibility: visible; }
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   105
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   106
.tooltip {
65947
223fd19ac6b3 tuned layout;
wenzelm
parents: 65945
diff changeset
   107
  top: -0.5ex;
223fd19ac6b3 tuned layout;
wenzelm
parents: 65945
diff changeset
   108
  left: 5em;
65939
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   109
  visibility: hidden;
65982
5b8fafde7d64 tuned layout;
wenzelm
parents: 65947
diff changeset
   110
  width: 50em;
65939
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   111
  border: 1px solid #808080;
65941
316c30b60ebc tuned layout;
wenzelm
parents: 65939
diff changeset
   112
  padding: 1px 1px;
65939
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   113
  background-color: #FFFFE9;
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   114
  position: absolute;
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   115
  z-index: 1;
9fb044904a4d support for message underline and tooltips;
wenzelm
parents: 65891
diff changeset
   116
}
65945
35652d0834f4 tuned signature;
wenzelm
parents: 65941
diff changeset
   117
35652d0834f4 tuned signature;
wenzelm
parents: 65941
diff changeset
   118
.tooltip pre { margin: 1px; white-space: pre-wrap; }