etc/isabelle.css
author wenzelm
Sun, 19 Jun 2016 22:51:42 +0200
changeset 63316 dff40165618c
parent 62813 3e001fe6f16a
child 63683 87c6158f4ef4
permissions -rw-r--r--
misc tuning and modernization;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37040
23b0b9986019 observe additional isabelle-jedit.css for component and user;
wenzelm
parents: 34131
diff changeset
     1
/* style file for Isabelle XHTML/XML output */
14542
f4fa346a0b46 use css in generated web pages
kleing
parents:
diff changeset
     2
61374
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
     3
@font-face {
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
     4
  font-family: 'IsabelleText';
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
     5
  src: url('IsabelleText.ttf') format('truetype');
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
     6
}
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
     7
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
     8
@font-face {
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
     9
  font-family: 'IsabelleText';
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    10
  src: url('IsabelleTextBold.ttf') format('truetype');
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    11
  font-weight: bold;
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    12
}
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    13
14542
f4fa346a0b46 use css in generated web pages
kleing
parents:
diff changeset
    14
body { background-color: #FFFFFF; }
f4fa346a0b46 use css in generated web pages
kleing
parents:
diff changeset
    15
f4fa346a0b46 use css in generated web pages
kleing
parents:
diff changeset
    16
.head     { background-color: #FFFFFF; }
61374
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    17
.source   {
62812
ce22e5c3d4ce more robust display of bidirectional Unicode text: enforce left-to-right;
wenzelm
parents: 61374
diff changeset
    18
  direction: ltr; unicode-bidi: bidi-override;
61374
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    19
  background-color: #FFFFFF;
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    20
  padding: 10px;
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    21
  font-family: IsabelleText;
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    22
  line-height: 120%;
b3c665940d62 server-side fonts;
wenzelm
parents: 59125
diff changeset
    23
}
14542
f4fa346a0b46 use css in generated web pages
kleing
parents:
diff changeset
    24
59120
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    25
.theories { background-color: #FFFFFF; padding: 10px; }
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    26
.sessions { background-color: #FFFFFF; padding: 10px; }
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
43592
e67d104c0c50 HTML: render control symbols more like Isabelle/Scala/jEdit;
wenzelm
parents: 43552
diff changeset
    34
.hidden         { font-size: 1px; visibility: hidden; }
33985
1d33e85a3fa9 added markup for hidden text;
wenzelm
parents: 29320
diff changeset
    35
43550
b416425c7ad0 tuned color, to avoid confusion with type variables;
wenzelm
parents: 43549
diff changeset
    36
.binding        { color: #336655; }
43549
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    37
.tfree          { color: #A020F0; }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    38
.tvar           { color: #A020F0; }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    39
.free           { color: blue; }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    40
.skolem         { color: #D2691E; }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    41
.bound          { color: green; }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    42
.var            { color: #00009B; }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    43
.numeral        { }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    44
.literal        { font-weight: bold; }
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    45
.delimiter      { }
59120
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    46
.inner_string   { 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; }
29320
ee08a739ad52 updated rendering of inner token markup;
wenzelm
parents: 27848
diff changeset
    49
43549
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    50
.bold           { font-weight: bold; }
29320
ee08a739ad52 updated rendering of inner token markup;
wenzelm
parents: 27848
diff changeset
    51
59121
8ea2748241da more jEdit colors;
wenzelm
parents: 59120
diff changeset
    52
.keyword1       { color: #006699; font-weight: bold; }
8ea2748241da more jEdit colors;
wenzelm
parents: 59120
diff changeset
    53
.keyword2       { color: #009966; font-weight: bold; }
59123
e68e44836d04 imitate command markup and rendering of Isabelle/jEdit in HTML output;
wenzelm
parents: 59121
diff changeset
    54
.keyword3       { color: #0099FF; font-weight: bold; }
43549
bb4cff2ff556 discontinued generic XML markup -- this is for XHTML with <span/> elements;
wenzelm
parents: 43548
diff changeset
    55
.operator       { }
59120
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    56
.string         { color: #FF00CC; }
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    57
.alt_string     { color: #CC00CC; }
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    58
.verbatim       { color: #6600CC; }
55033
8e8243975860 support for nested text cartouches;
wenzelm
parents: 49554
diff changeset
    59
.cartouche      { color: #CC6600; }
59120
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 55033
diff changeset
    60
.comment        { color: #CC0000; }
59125
ee19c92ae8b4 more explicit markup for improper commands;
wenzelm
parents: 59123
diff changeset
    61
.improper       { color: #FF5050; }
48751
dc3bbdda4bc8 more visible markup of malformed input as "bad";
wenzelm
parents: 46865
diff changeset
    62
.bad            { background-color: #FF6A6A; }
27848
eda38d6e55da removed obsolete theorems;
wenzelm
parents: 23792
diff changeset
    63