-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnotebook.css
109 lines (93 loc) · 2.61 KB
/
notebook.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/*
PasHi style sheet. Style sheet that emulates a lined notebook. Source code is
highlighted using font styling only: all text is black. Errors are highlighted
using a yellow background.
Modify a copy of this file to use your own colours, borders etc.
This file works correctly regardless of the setting of the legacy-css command.
DO NOT EDIT THIS FILE: PasHi may overwrite any changes to this file. If you
need a modified version of the file, make a copy in a different directory or
with a different name and edit that.
Note that some older browsers, particularly IE <=7 and Safari <= 3, do not
support the CSS last-child pseudo class used in this style sheet.
*/
.code-pascal,
/* DEPRECATED */ .pas-source {
background-color: #ffffcc;
border: 1px silver solid;
}
.code-pascal pre,
/* DEPRECATED */ .pas-source pre {
font-family: "Courier New", monospace;
font-size: 9pt;
margin: 0;
}
.code-pascal pre.line,
.code-pascal pre.odd-line,
.code-pascal pre.even-line,
/* DEPRECATED */ .pas-source pre.line,
/* DEPRECATED */ .pas-source pre.odd-line,
/* DEPRECATED */ .pas-source pre.even-line {
border-bottom: 1px silver dotted;
}
.code-pascal pre.line:last-child,
.code-pascal pre.odd-line:last-child,
.code-pascal pre.even-line:last-child,
/* DEPRECATED */ .pas-source pre.line:last-child,
/* DEPRECATED */ .pas-source pre.odd-line:last-child,
/* DEPRECATED */ .pas-source pre.even-line:last-child {
border-bottom: none;
}
.code-pascal pre.even-line,
/* DEPRECATED */ .pas-source pre.even-line {
background-color: #ffffee;
}
.code-pascal .linenum,
/* DEPRECATED */ .pas-source .linenum {
border-right: 1px silver dotted;
padding: 1px 6px 1px 4px;
margin-right: 0.75em;
color: gray;
background-color: transparent;
}
.code-pascal .comment,
/* DEPRECATED */ .pas-comment,
.code-pascal .preproc,
/* DEPRECATED */ .pas-preproc {
font-weight: normal;
font-style: italic;
text-decoration: none;
}
.code-pascal .kwd,
/* DEPRECATED */ .pas-kwd {
font-weight: bold;
font-style: normal;
text-decoration: none;
}
.code-pascal .ident,
.code-pascal .sym,
.code-pascal .str,
.code-pascal .num,
.code-pascal .float,
.code-pascal .hex,
.code-pascal .asm,
/* DEPRECATED */ .pas-ident,
/* DEPRECATED */ .pas-sym,
/* DEPRECATED */ .pas-str,
/* DEPRECATED */ .pas-num,
/* DEPRECATED */ .pas-float,
/* DEPRECATED */ .pas-hex,
/* DEPRECATED */ .pas-asm {
font-weight: normal;
font-style: normal;
text-decoration: none;
}
.code-pascal .space,
/* DEPRECATED */ .pas-space {
}
.code-pascal .err,
/* DEPRECATED */ .pas-err {
font-weight: normal;
font-style: normal;
text-decoration: none;
background-color: yellow;
}