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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/media/tutorial.css

  • Committer: William Grant
  • Date: 2009-12-17 05:37:21 UTC
  • mfrom: (1442.1.33 offering-home)
  • Revision ID: me@williamgrant.id.au-20091217053721-cesek4r55zbsyj4b
Replace the offering worksheets page with an offering index, including project information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    margin-left: 1.5em;
65
65
}
66
66
 
67
 
/* Cancel out the main stylesheet's h1 (the golden bar at the top).
68
 
 * Make it just look like the default (HTML4) style sheet's h1, but a bit
69
 
 * smaller.
70
 
 */
71
 
#ivle_padding h1 {
72
 
    background: none;
73
 
    margin: 0;
74
 
    padding: 0;
75
 
    margin: 0.67em 0;
76
 
    border: 0;
77
 
    font-weight: bolder;
78
 
    /* font-size: 2em; (standard) */
79
 
    font-size: 1.6em;
80
 
}
81
 
 
82
67
h1 a, h2 a {
83
68
    color: black;
84
69
    text-decoration: none;
99
84
    width: 20em;
100
85
}
101
86
 
102
 
/*
103
 
:Author: Edward Loper, James Curran
104
 
:Copyright: This stylesheet has been placed in the public domain.
105
 
 
106
 
Stylesheet for use with Docutils.
107
 
 
108
 
This stylesheet defines new css classes used by NLTK.
109
 
 
110
 
It uses a Python syntax highlighting scheme that matches
111
 
the colour scheme used by IDLE, which makes it easier for
112
 
beginners to check they are typing things in correctly.
113
 
*/
114
 
 
115
 
/* Include the standard docutils stylesheet. */
116
 
@import url(default.css);
117
 
 
118
 
/* Custom inline roles */
119
 
span.placeholder    { font-style: italic; font-family: monospace; }
120
 
span.example        { font-style: italic; }
121
 
span.emphasis       { font-style: italic; }
122
 
span.termdef        { font-weight: bold; }
123
 
/*span.term           { font-style: italic; }*/
124
 
span.category       { font-variant: small-caps; }
125
 
span.feature        { font-variant: small-caps; }
126
 
span.fval           { font-style: italic; }
127
 
span.math           { font-style: italic; }
128
 
span.mathit         { font-style: italic; }
129
 
span.lex            { font-variant: small-caps; }
130
 
 
131
 
/* Python souce code listings */
132
 
span.pysrc-prompt   { color: #9b0000; }
133
 
span.pysrc-more     { color: #9b00ff; }
134
 
span.pysrc-keyword  { color: #e06000; }
135
 
span.pysrc-builtin  { color: #940094; }
136
 
span.pysrc-string   { color: #00aa00; }
137
 
span.pysrc-comment  { color: #ff0000; }
138
 
span.pysrc-output   { color: #0000ff; }
139
 
span.pysrc-except   { color: #ff0000; }
140
 
span.pysrc-defname  { color: #008080; }
141
 
 
142
 
 
143
 
/* Doctest blocks */
144
 
pre.doctest         { margin: 0; padding: 0; font-weight: bold; }
145
 
div.doctest         { margin: 0 1em 1em 1em; padding: 0; }
146
 
table.doctest       { margin: 0; padding: 0;
147
 
                      border-top: 1px solid gray;
148
 
                      border-bottom: 1px solid gray; }
149
 
pre.copy-notify     { margin: 0; padding: 0.2em; font-weight: bold;
150
 
                      background-color: #ffffff; }
151
 
 
152
 
/* Python source listings */
153
 
div.pylisting       { margin: 0 1em 1em 1em; padding: 0; }
154
 
table.pylisting     { margin: 0; padding: 0;
155
 
                      border-top: 1px solid gray; }
156
 
td.caption { border-top: 1px solid black; margin: 0; padding: 0; }
157
 
.caption-label { font-weight: bold;  }
158
 
td.caption p { margin: 0; padding: 0; font-style: normal;}
159
 
 
160
 
table tr td.codeblock { 
161
 
  padding: 0.2em ! important; margin: 0;
162
 
  border-left: 1px solid gray;
163
 
  border-right: 2px solid gray;
164
 
  border-top: 0px solid gray;
165
 
  border-bottom: 1px solid gray;
166
 
  font-weight: bold; background-color: #eeffee;
167
 
}
168
 
 
169
 
table tr td.doctest  { 
170
 
  padding: 0.2em; margin: 0;
171
 
  border-left: 1px solid gray;
172
 
  border-right: 2px solid gray;
173
 
  border-top: 0px solid gray;
174
 
  border-bottom: 1px solid gray;
175
 
  font-weight: bold; background-color: #eeeeff;
176
 
}
177
 
 
178
 
td.codeblock table tr td.copybar {
179
 
    background: #40a060; border: 1px solid gray;
180
 
    font-family: monospace; padding: 0; margin: 0; }
181
 
td.doctest table tr td.copybar {
182
 
    background: #4060a0; border: 1px solid gray;
183
 
    font-family: monospace; padding: 0; margin: 0; }
184
 
 
185
 
td.pysrc { padding-left: 0.5em; }
186
 
 
187
 
img.callout { border-width: 0px; }
188
 
 
189
 
table.docutils {
190
 
    border-style: solid;
191
 
    border-width: 1px;
192
 
    margin-top: 6px;
193
 
    border-color: grey;
194
 
    border-collapse: collapse; }
195
 
 
196
 
table.docutils th {
197
 
    border-style: none;
198
 
    border-width: 1px;
199
 
    border-color: grey;
200
 
    padding: 0 .5em 0 .5em; }
201
 
 
202
 
table.docutils td {
203
 
    border-style: none;
204
 
    border-width: 1px;
205
 
    border-color: grey; 
206
 
    padding: 0 .5em 0 .5em; }
207
 
 
208
 
table.footnote td { padding: 0; }
209
 
table.footnote { border-width: 0; }
210
 
table.footnote td { border-width: 0; }
211
 
table.footnote th { border-width: 0; }
212
 
 
213
 
table.noborder { border-width: 0; }
214
 
 
215
 
table.example pre { margin-top: 4px; margin-bottom: 0; }
216
 
 
217
 
/* For figures & tables */
218
 
p.caption { margin-bottom: 0; }
219
 
div.figure { text-align: center; }
220
 
 
221
 
/* The index */
222
 
div.index { border: 1px solid black;
223
 
            background-color: #eeeeee; }
224
 
div.index h1 { padding-left: 0.5em; margin-top: 0.5ex;
225
 
               border-bottom: 1px solid black; }
226
 
ul.index { margin-left: 0.5em; padding-left: 0; }
227
 
li.index { list-style-type: none; }
228
 
p.index-heading { font-size: 120%; font-style: italic; margin: 0; }
229
 
li.index ul { margin-left: 2em; padding-left: 0; }
230
 
 
231
 
/* 'Note' callouts */
232
 
div.note
233
 
{
234
 
  padding: 4px;
235
 
  margin: 2px 5% 10px;
236
 
  font-style: normal;
237
 
  font-family: sans-serif;
238
 
  background-color: #b0c4de;
239
 
  -moz-border-radius: 10px;
240
 
}
241
 
 
242
 
div.note p.admonition-title
243
 
{
244
 
  font-weight: bold;
245
 
}
246
 
 
247
 
table.rst-example { border: 1px solid black; }
248
 
table.rst-example tbody tr td { background: #eeeeee; }
249
 
table.rst-example thead tr th { background: #c0ffff; }
250
 
td.rst-raw { width: 0; }
251
 
 
252
 
/* Used by nltk.org/doc/test: */
253
 
div.doctest-list { text-align: center; }
254
 
table.doctest-list { border: 1px solid black;
255
 
  margin-left: auto; margin-right: auto;
256
 
}
257
 
table.doctest-list tbody tr td { background: #eeeeee;
258
 
  border: 1px solid #cccccc; text-align: left; }
259
 
table.doctest-list thead tr th { background: #304050; color: #ffffff;
260
 
  border: 1px solid #000000;}
261
 
span.doctest-passed { color: #008000; }
262
 
span.doctest-failed { color: #800000; }