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