~azzar1/unity/add-show-desktop-key

1442.1.28 by William Grant
Move the docutils CSS from tutorial.css to worksheet.css, which is only included in WorksheetView.
1
/*
2
:Author: Edward Loper, James Curran
3
:Copyright: This stylesheet has been placed in the public domain.
4
5
Stylesheet for use with Docutils.
6
7
This stylesheet defines new css classes used by NLTK.
8
9
It uses a Python syntax highlighting scheme that matches
10
the colour scheme used by IDLE, which makes it easier for
11
beginners to check they are typing things in correctly.
12
*/
13
14
/* Include the standard docutils stylesheet. */
15
@import url(default.css);
16
17
/* Custom inline roles */
18
span.placeholder    { font-style: italic; font-family: monospace; }
19
span.example        { font-style: italic; }
20
span.emphasis       { font-style: italic; }
21
span.termdef        { font-weight: bold; }
22
/*span.term           { font-style: italic; }*/
23
span.category       { font-variant: small-caps; }
24
span.feature        { font-variant: small-caps; }
25
span.fval           { font-style: italic; }
26
span.math           { font-style: italic; }
27
span.mathit         { font-style: italic; }
28
span.lex            { font-variant: small-caps; }
29
30
/* Python souce code listings */
31
span.pysrc-prompt   { color: #9b0000; }
32
span.pysrc-more     { color: #9b00ff; }
33
span.pysrc-keyword  { color: #e06000; }
34
span.pysrc-builtin  { color: #940094; }
35
span.pysrc-string   { color: #00aa00; }
36
span.pysrc-comment  { color: #ff0000; }
37
span.pysrc-output   { color: #0000ff; }
38
span.pysrc-except   { color: #ff0000; }
39
span.pysrc-defname  { color: #008080; }
40
41
42
/* Doctest blocks */
43
pre.doctest         { margin: 0; padding: 0; font-weight: bold; }
44
div.doctest         { margin: 0 1em 1em 1em; padding: 0; }
45
table.doctest       { margin: 0; padding: 0;
46
                      border-top: 1px solid gray;
47
                      border-bottom: 1px solid gray; }
48
pre.copy-notify     { margin: 0; padding: 0.2em; font-weight: bold;
49
                      background-color: #ffffff; }
50
51
/* Python source listings */
52
div.pylisting       { margin: 0 1em 1em 1em; padding: 0; }
53
table.pylisting     { margin: 0; padding: 0;
54
                      border-top: 1px solid gray; }
55
td.caption { border-top: 1px solid black; margin: 0; padding: 0; }
56
.caption-label { font-weight: bold;  }
57
td.caption p { margin: 0; padding: 0; font-style: normal;}
58
59
table tr td.codeblock { 
60
  padding: 0.2em ! important; margin: 0;
61
  border-left: 1px solid gray;
62
  border-right: 2px solid gray;
63
  border-top: 0px solid gray;
64
  border-bottom: 1px solid gray;
65
  font-weight: bold; background-color: #eeffee;
66
}
67
68
table tr td.doctest  { 
69
  padding: 0.2em; margin: 0;
70
  border-left: 1px solid gray;
71
  border-right: 2px solid gray;
72
  border-top: 0px solid gray;
73
  border-bottom: 1px solid gray;
74
  font-weight: bold; background-color: #eeeeff;
75
}
76
77
td.codeblock table tr td.copybar {
78
    background: #40a060; border: 1px solid gray;
79
    font-family: monospace; padding: 0; margin: 0; }
80
td.doctest table tr td.copybar {
81
    background: #4060a0; border: 1px solid gray;
82
    font-family: monospace; padding: 0; margin: 0; }
83
84
td.pysrc { padding-left: 0.5em; }
85
86
img.callout { border-width: 0px; }
87
88
table.docutils {
89
    border-style: solid;
90
    border-width: 1px;
91
    margin-top: 6px;
92
    border-color: grey;
93
    border-collapse: collapse; }
94
95
table.docutils th {
96
    border-style: none;
97
    border-width: 1px;
98
    border-color: grey;
99
    padding: 0 .5em 0 .5em; }
100
101
table.docutils td {
102
    border-style: none;
103
    border-width: 1px;
104
    border-color: grey; 
105
    padding: 0 .5em 0 .5em; }
106
107
table.footnote td { padding: 0; }
108
table.footnote { border-width: 0; }
109
table.footnote td { border-width: 0; }
110
table.footnote th { border-width: 0; }
111
112
table.noborder { border-width: 0; }
113
114
table.example pre { margin-top: 4px; margin-bottom: 0; }
115
116
/* For figures & tables */
117
p.caption { margin-bottom: 0; }
118
div.figure { text-align: center; }
119
120
/* The index */
121
div.index { border: 1px solid black;
122
            background-color: #eeeeee; }
123
div.index h1 { padding-left: 0.5em; margin-top: 0.5ex;
124
               border-bottom: 1px solid black; }
125
ul.index { margin-left: 0.5em; padding-left: 0; }
126
li.index { list-style-type: none; }
127
p.index-heading { font-size: 120%; font-style: italic; margin: 0; }
128
li.index ul { margin-left: 2em; padding-left: 0; }
129
130
/* 'Note' callouts */
131
div.note
132
{
133
  padding: 4px;
134
  margin: 2px 5% 10px;
135
  font-style: normal;
136
  font-family: sans-serif;
137
  background-color: #b0c4de;
138
  -moz-border-radius: 10px;
139
}
140
141
div.note p.admonition-title
142
{
143
  font-weight: bold;
144
}
145
146
table.rst-example { border: 1px solid black; }
147
table.rst-example tbody tr td { background: #eeeeee; }
148
table.rst-example thead tr th { background: #c0ffff; }
149
td.rst-raw { width: 0; }
150
151
/* Used by nltk.org/doc/test: */
152
div.doctest-list { text-align: center; }
153
table.doctest-list { border: 1px solid black;
154
  margin-left: auto; margin-right: auto;
155
}
156
table.doctest-list tbody tr td { background: #eeeeee;
157
  border: 1px solid #cccccc; text-align: left; }
158
table.doctest-list thead tr th { background: #304050; color: #ffffff;
159
  border: 1px solid #000000;}
160
span.doctest-passed { color: #008000; }
161
span.doctest-failed { color: #800000; }