goncalossilva-showoff 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. data/LICENSE +20 -0
  2. data/README.rdoc +473 -0
  3. data/Rakefile +7 -0
  4. data/bin/showoff +136 -0
  5. data/lib/princely.rb +84 -0
  6. data/lib/showoff.rb +418 -0
  7. data/lib/showoff_utils.rb +361 -0
  8. data/public/css/fg.menu.css +114 -0
  9. data/public/css/onepage.css +60 -0
  10. data/public/css/pdf.css +12 -0
  11. data/public/css/reset.css +53 -0
  12. data/public/css/sh_style.css +66 -0
  13. data/public/css/showoff.css +350 -0
  14. data/public/css/spinner_bar.gif +0 -0
  15. data/public/css/theme/images/ui-bg_diagonals-small_100_f0efea_40x40.png +0 -0
  16. data/public/css/theme/images/ui-bg_flat_35_f0f0f0_40x100.png +0 -0
  17. data/public/css/theme/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  18. data/public/css/theme/images/ui-bg_glow-ball_25_2e2e28_600x600.png +0 -0
  19. data/public/css/theme/images/ui-bg_highlight-soft_100_f0efea_1x100.png +0 -0
  20. data/public/css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png +0 -0
  21. data/public/css/theme/images/ui-bg_highlight-soft_25_5A9D1A_1x100.png +0 -0
  22. data/public/css/theme/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  23. data/public/css/theme/images/ui-bg_inset-soft_22_3b3b35_1x100.png +0 -0
  24. data/public/css/theme/images/ui-icons_808080_256x240.png +0 -0
  25. data/public/css/theme/images/ui-icons_8DC262_256x240.png +0 -0
  26. data/public/css/theme/images/ui-icons_cd0a0a_256x240.png +0 -0
  27. data/public/css/theme/images/ui-icons_e7e6e4_256x240.png +0 -0
  28. data/public/css/theme/images/ui-icons_eeeeee_256x240.png +0 -0
  29. data/public/css/theme/images/ui-icons_ffffff_256x240.png +0 -0
  30. data/public/css/theme/ui.accordion.css +9 -0
  31. data/public/css/theme/ui.all.css +2 -0
  32. data/public/css/theme/ui.base.css +9 -0
  33. data/public/css/theme/ui.core.css +37 -0
  34. data/public/css/theme/ui.datepicker.css +62 -0
  35. data/public/css/theme/ui.dialog.css +13 -0
  36. data/public/css/theme/ui.progressbar.css +4 -0
  37. data/public/css/theme/ui.resizable.css +13 -0
  38. data/public/css/theme/ui.slider.css +17 -0
  39. data/public/css/theme/ui.tabs.css +9 -0
  40. data/public/css/theme/ui.theme.css +245 -0
  41. data/public/favicon.ico +0 -0
  42. data/public/js/core.js +79 -0
  43. data/public/js/fg.menu.js +645 -0
  44. data/public/js/jTypeWriter.js +26 -0
  45. data/public/js/jquery-1.4.2.min.js +154 -0
  46. data/public/js/jquery-print.js +109 -0
  47. data/public/js/jquery.batchImageLoad.js +56 -0
  48. data/public/js/jquery.cookie.js +96 -0
  49. data/public/js/jquery.cycle.all.js +1284 -0
  50. data/public/js/jquery.doubletap-0.1.js +105 -0
  51. data/public/js/jquery.uuid.js +24 -0
  52. data/public/js/jquery.ws-0.3pre.js +201 -0
  53. data/public/js/onepage.js +5 -0
  54. data/public/js/sh_lang/sh_bison.min.js +1 -0
  55. data/public/js/sh_lang/sh_c.min.js +1 -0
  56. data/public/js/sh_lang/sh_caml.min.js +1 -0
  57. data/public/js/sh_lang/sh_changelog.min.js +1 -0
  58. data/public/js/sh_lang/sh_cpp.min.js +1 -0
  59. data/public/js/sh_lang/sh_csharp.min.js +1 -0
  60. data/public/js/sh_lang/sh_css.min.js +1 -0
  61. data/public/js/sh_lang/sh_cucumber.min.js +2 -0
  62. data/public/js/sh_lang/sh_desktop.min.js +1 -0
  63. data/public/js/sh_lang/sh_diff.min.js +1 -0
  64. data/public/js/sh_lang/sh_flex.min.js +1 -0
  65. data/public/js/sh_lang/sh_glsl.min.js +1 -0
  66. data/public/js/sh_lang/sh_haxe.min.js +1 -0
  67. data/public/js/sh_lang/sh_html.min.js +1 -0
  68. data/public/js/sh_lang/sh_java.min.js +1 -0
  69. data/public/js/sh_lang/sh_javascript.min.js +1 -0
  70. data/public/js/sh_lang/sh_javascript_dom.min.js +1 -0
  71. data/public/js/sh_lang/sh_latex.min.js +1 -0
  72. data/public/js/sh_lang/sh_ldap.min.js +1 -0
  73. data/public/js/sh_lang/sh_log.min.js +1 -0
  74. data/public/js/sh_lang/sh_lsm.min.js +1 -0
  75. data/public/js/sh_lang/sh_m4.min.js +1 -0
  76. data/public/js/sh_lang/sh_makefile.min.js +1 -0
  77. data/public/js/sh_lang/sh_oracle.min.js +1 -0
  78. data/public/js/sh_lang/sh_pascal.min.js +1 -0
  79. data/public/js/sh_lang/sh_perl.min.js +1 -0
  80. data/public/js/sh_lang/sh_php.min.js +1 -0
  81. data/public/js/sh_lang/sh_prolog.min.js +1 -0
  82. data/public/js/sh_lang/sh_properties.min.js +1 -0
  83. data/public/js/sh_lang/sh_python.min.js +1 -0
  84. data/public/js/sh_lang/sh_ruby.min.js +1 -0
  85. data/public/js/sh_lang/sh_scala.min.js +1 -0
  86. data/public/js/sh_lang/sh_sh.min.js +1 -0
  87. data/public/js/sh_lang/sh_slang.min.js +1 -0
  88. data/public/js/sh_lang/sh_sml.min.js +1 -0
  89. data/public/js/sh_lang/sh_spec.min.js +1 -0
  90. data/public/js/sh_lang/sh_sql.min.js +1 -0
  91. data/public/js/sh_lang/sh_tcl.min.js +1 -0
  92. data/public/js/sh_lang/sh_xml.min.js +1 -0
  93. data/public/js/sh_lang/sh_xorg.min.js +1 -0
  94. data/public/js/sh_main.min.js +4 -0
  95. data/public/js/showoff.js +629 -0
  96. data/public/js/showoffcore.js +13 -0
  97. data/views/index.erb +81 -0
  98. data/views/onepage.erb +35 -0
  99. metadata +217 -0
@@ -0,0 +1,60 @@
1
+ /* Screen */
2
+ @media screen {
3
+ .slide {
4
+ margin: 10px;
5
+ padding: 0;
6
+ width: 1020px;
7
+ height: 740px;
8
+ max-height: 740px !important;
9
+ margin-left:auto;
10
+ margin-right:auto;
11
+ overflow:hidden;
12
+ border: 1px solid #333;
13
+ page-break-after: always
14
+ }
15
+ }
16
+
17
+ /* Print */
18
+ @media print {
19
+ .slide, .preso {
20
+ margin: 10px;
21
+ padding: 0;
22
+ width: 800px;
23
+ height: 600px;
24
+ overflow:hidden;
25
+ border: none;
26
+ page-break-after: always
27
+ }
28
+ }
29
+
30
+ /* iPhone */
31
+ /* Portrait */
32
+ @media screen and (max-width: 320px)
33
+ {
34
+ .preso {
35
+ margin: 10px;
36
+ padding: 0;
37
+ width: 320px;
38
+ min-height: 480px;
39
+ margin-left:auto;
40
+ margin-right:auto;
41
+ /* overflow:hidden;*/
42
+ border: 1px solid #333;
43
+ page-break-after: always
44
+ }
45
+ }
46
+ /* Landscape */
47
+ @media screen and (min-width: 321px)
48
+ {
49
+ .preso {
50
+ margin: 10px;
51
+ padding: 0;
52
+ width: 480px;
53
+ min-height: 320px;
54
+ margin-left:auto;
55
+ margin-right:auto;
56
+ /* overflow:hidden;*/
57
+ border: 1px solid #333;
58
+ page-break-after: always
59
+ }
60
+ }
@@ -0,0 +1,12 @@
1
+ .slide {
2
+ margin: 0;
3
+ padding: 0;
4
+ width: 100%;
5
+ height: 740px;
6
+ margin-left:auto;
7
+ margin-right:auto;
8
+ overflow:hidden;
9
+ page-break-after: always
10
+ }
11
+
12
+ @page { size: A4 landscape }
@@ -0,0 +1,53 @@
1
+ /* http://meyerweb.com/eric/tools/css/reset/ */
2
+ /* v1.0 | 20080212 */
3
+
4
+ html, body, div, span, applet, object, iframe,
5
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
6
+ a, abbr, acronym, address, big, cite, code,
7
+ del, dfn, em, font, img, ins, kbd, q, s, samp,
8
+ small, strike, strong, sub, sup, tt, var,
9
+ b, u, i, center,
10
+ dl, dt, dd, ol, ul, li,
11
+ fieldset, form, label, legend,
12
+ table, caption, tbody, tfoot, thead, tr, th, td {
13
+ margin: 0;
14
+ padding: 0;
15
+ border: 0;
16
+ outline: 0;
17
+ font-size: 100%;
18
+ vertical-align: baseline;
19
+ background: transparent;
20
+ }
21
+ body {
22
+ line-height: 1;
23
+ }
24
+ ol, ul {
25
+ list-style: none;
26
+ }
27
+ blockquote, q {
28
+ quotes: none;
29
+ }
30
+ blockquote:before, blockquote:after,
31
+ q:before, q:after {
32
+ content: '';
33
+ content: none;
34
+ }
35
+
36
+ /* remember to define focus styles! */
37
+ :focus {
38
+ outline: 0;
39
+ }
40
+
41
+ /* remember to highlight inserts somehow! */
42
+ ins {
43
+ text-decoration: none;
44
+ }
45
+ del {
46
+ text-decoration: line-through;
47
+ }
48
+
49
+ /* tables still need 'cellspacing="0"' in the markup */
50
+ table {
51
+ border-collapse: collapse;
52
+ border-spacing: 0;
53
+ }
@@ -0,0 +1,66 @@
1
+ pre.sh_sourceCode {
2
+ background-color: white;
3
+ color: black;
4
+ font-style: normal;
5
+ font-weight: normal;
6
+ }
7
+
8
+ pre.sh_sourceCode .sh_keyword { color: blue; font-weight: bold; } /* language keywords */
9
+ pre.sh_sourceCode .sh_type { color: darkgreen; } /* basic types */
10
+ pre.sh_sourceCode .sh_usertype { color: teal; } /* user defined types */
11
+ pre.sh_sourceCode .sh_string { color: red; font-family: monospace; } /* strings and chars */
12
+ pre.sh_sourceCode .sh_regexp { color: orange; font-family: monospace; } /* regular expressions */
13
+ pre.sh_sourceCode .sh_specialchar { color: pink; font-family: monospace; } /* e.g., \n, \t, \\ */
14
+ pre.sh_sourceCode .sh_comment { color: brown; font-style: italic; } /* comments */
15
+ pre.sh_sourceCode .sh_number { color: purple; } /* literal numbers */
16
+ pre.sh_sourceCode .sh_preproc { color: darkblue; font-weight: bold; } /* e.g., #include, import */
17
+ pre.sh_sourceCode .sh_symbol { color: darkred; } /* */
18
+ pre.sh_sourceCode .sh_function { color: black; font-weight: bold; } /* function calls and declarations */
19
+ pre.sh_sourceCode .sh_cbracket { color: red; } /* block brackets (e.g., {, }) */
20
+ pre.sh_sourceCode .sh_todo { font-weight: bold; background-color: cyan; } /* TODO and FIXME */
21
+
22
+ /* Predefined variables and functions (for instance glsl) */
23
+ pre.sh_sourceCode .sh_predef_var { color: darkblue; }
24
+ pre.sh_sourceCode .sh_predef_func { color: darkblue; font-weight: bold; }
25
+
26
+ /* for OOP */
27
+ pre.sh_sourceCode .sh_classname { color: teal; }
28
+
29
+ /* line numbers (not yet implemented) */
30
+ pre.sh_sourceCode .sh_linenum { color: black; font-family: monospace; }
31
+
32
+ /* Internet related */
33
+ pre.sh_sourceCode .sh_url { color: blue; text-decoration: underline; font-family: monospace; }
34
+
35
+ /* for ChangeLog and Log files */
36
+ pre.sh_sourceCode .sh_date { color: blue; font-weight: bold; }
37
+ pre.sh_sourceCode .sh_time, pre.sh_sourceCode .sh_file { color: darkblue; font-weight: bold; }
38
+ pre.sh_sourceCode .sh_ip, pre.sh_sourceCode .sh_name { color: darkgreen; }
39
+
40
+ /* for Prolog, Perl... */
41
+ pre.sh_sourceCode .sh_variable { color: darkgreen; }
42
+
43
+ /* for LaTeX */
44
+ pre.sh_sourceCode .sh_italics { color: darkgreen; font-style: italic; }
45
+ pre.sh_sourceCode .sh_bold { color: darkgreen; font-weight: bold; }
46
+ pre.sh_sourceCode .sh_underline { color: darkgreen; text-decoration: underline; }
47
+ pre.sh_sourceCode .sh_fixed { color: green; font-family: monospace; }
48
+ pre.sh_sourceCode .sh_argument { color: darkgreen; }
49
+ pre.sh_sourceCode .sh_optionalargument { color: purple; }
50
+ pre.sh_sourceCode .sh_math { color: orange; }
51
+ pre.sh_sourceCode .sh_bibtex { color: blue; }
52
+
53
+ /* for diffs */
54
+ pre.sh_sourceCode .sh_oldfile { color: orange; }
55
+ pre.sh_sourceCode .sh_newfile { color: darkgreen; }
56
+ pre.sh_sourceCode .sh_difflines { color: blue; }
57
+
58
+ /* for css */
59
+ pre.sh_sourceCode .sh_selector { color: purple; }
60
+ pre.sh_sourceCode .sh_property { color: blue; }
61
+ pre.sh_sourceCode .sh_value { color: darkgreen; font-style: italic; }
62
+
63
+ /* other */
64
+ pre.sh_sourceCode .sh_section { color: black; font-weight: bold; }
65
+ pre.sh_sourceCode .sh_paren { color: red; }
66
+ pre.sh_sourceCode .sh_attribute { color: darkgreen; }
@@ -0,0 +1,350 @@
1
+ @media screen {
2
+ body {
3
+ font-family: "Gill Sans", Helvetica, Arial, sans-serif;
4
+ background:#333;
5
+ overflow:hidden;
6
+ margin:0;
7
+ padding:0;
8
+ }
9
+
10
+ #preso, .slide {
11
+ background: #fff;
12
+ width: 1024px;
13
+ height: 768px;
14
+ margin-left:auto;
15
+ margin-right:auto;
16
+ overflow:hidden;
17
+ -webkit-box-shadow:0 0 25px rgba(0,0,0,0.35);
18
+ -moz-box-shadow:0 0 25px rgba(0,0,0,0.35);
19
+ box-shadow:0 0 25px rgba(0,0,0,0.35);
20
+ }
21
+
22
+ #footer {
23
+ background: rgba(221,221,221,0.75);
24
+ color:#333;
25
+ padding: 2px 5px;
26
+ width: 1005px;
27
+ height: 20px;
28
+ line-height:20px;
29
+ font-size:14px;
30
+ position:relative;
31
+ top:-24px;
32
+ margin:0 auto;
33
+ -webkit-border-top-left-radius: 3px;
34
+ -webkit-border-top-right-radius: 3px;
35
+ -moz-border-radius-topleft: 3px;
36
+ -moz-border-radius-topright: 3px;
37
+ border-top-left-radius: 3px;
38
+ border-top-right-radius: 3px;
39
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
40
+ }
41
+ }
42
+
43
+ /* iPhone */
44
+ /* Portrait */
45
+ @media screen and (max-width: 320px)
46
+ {
47
+ #preso {
48
+ margin: 0;
49
+ padding: 0;
50
+ width: 320px;
51
+ max-height: 356px;
52
+ margin-left:auto;
53
+ margin-right:auto;
54
+ /* overflow:hidden;*/
55
+ }
56
+ #footer {
57
+ background: #eee;
58
+ margin: 0;
59
+ padding: 2px;
60
+ width: 320px;
61
+ height: 20px;
62
+ margin-left:auto;
63
+ margin-right:auto;
64
+ }
65
+ }
66
+ /* Landscape */
67
+ @media screen and (max-width: 480px)
68
+ {
69
+ #preso {
70
+ margin: 0;
71
+ padding: 0;
72
+ /* min-height: 320px;*/
73
+ width: 480px;
74
+ margin-left:auto;
75
+ margin-right:auto;
76
+ }
77
+ #footer {
78
+ background: #eee;
79
+ margin: 0;
80
+ padding: 2px;
81
+ width: 480px;
82
+ height: 20px;
83
+ margin-left:auto;
84
+ margin-right:auto;
85
+ }
86
+ }
87
+
88
+ .center img {
89
+ display:block;
90
+ margin-left:auto;
91
+ margin-right:auto;
92
+ }
93
+
94
+ .slide .center {
95
+ height: 740px;
96
+ width: 1020px;
97
+ display: table-cell;
98
+ text-align: center;
99
+ vertical-align: middle;
100
+ }
101
+
102
+ .bullets ul {
103
+ font-size: 3em;
104
+ }
105
+ .bullets ul li {
106
+ text-align: center;
107
+ padding: 25px;
108
+ }
109
+
110
+ .smbullets ul {
111
+ font-size: 2em;
112
+ }
113
+ .smbullets ul li {
114
+ text-align: center;
115
+ padding: 10px;
116
+ }
117
+
118
+ .commandline pre {
119
+ font-size: 2em;
120
+ }
121
+
122
+ .commandline code.command {
123
+ color: #000;
124
+ }
125
+
126
+ .commandline code.result {
127
+ color: #444;
128
+ }
129
+
130
+ .command h1 {
131
+ white-space: pre;
132
+ font-family: monospace;
133
+ font-size: 3em;
134
+ }
135
+
136
+ .code {
137
+ white-space: pre;
138
+ font-family: monospace;
139
+ }
140
+
141
+ .subsection {
142
+ background: #008;
143
+ color: #fff;
144
+ }
145
+
146
+ .small {
147
+ font-size: 80%;
148
+ }
149
+
150
+ .smaller {
151
+ font-size: 70%;
152
+ }
153
+
154
+ h1 { font-size: 5em; font-weight: normal; text-align: center;}
155
+ h2 { font-size: 3em; font-weight: normal; text-align: center; }
156
+ h3 { font-size: 2em; font-weight: normal; text-align: center; }
157
+
158
+ h1, h2, h3 {
159
+ margin: 0.5em 0;
160
+ }
161
+
162
+ pre { margin-left: 40px; font-size: 2.8em; }
163
+
164
+ .notes { display: none }
165
+ .hidden { position:absolute; top:0; left:-9999px; width:1px; height:1px; overflow:hidden; }
166
+ .buttonNav { display: none }
167
+ .offscreen { position:absolute; top:0; left:-9999px; overflow:hidden; }
168
+ #debugInfo { margin-left: 30px; }
169
+ #notesInfo { margin-left: 30px; display: none }
170
+ #preshow { display: none; }
171
+
172
+ #help {
173
+ background: #9f9;
174
+ position: absolute;
175
+ right: 80px;
176
+ display: none;
177
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
178
+ }
179
+ #help table tr td.key {
180
+ text-align: right;
181
+ border-right: 2px solid #8b8;
182
+ padding-right: 4px;
183
+ font-weight: bold;
184
+ }
185
+
186
+ .fg-menu-container {
187
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
188
+ }
189
+
190
+ .fg-button { clear:left; margin:0 4px 40px 20px; padding: .4em 1em; text-decoration:none !important; cursor:pointer; position: relative; text-align: center; zoom: 1; }
191
+ .fg-button .ui-icon { position: absolute; top: 50%; margin-top: -8px; left: 50%; margin-left: -8px; }
192
+ a.fg-button { float:left; }
193
+ .fg-button-icon-right { padding-right: 2.1em; }
194
+ .fg-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; }
195
+
196
+ .fg-button.ui-state-loading .ui-icon { background: url(spinner_bar.gif) no-repeat 0 0; }
197
+
198
+ #navmenu {
199
+ position: absolute;
200
+ top: 10px;
201
+ left: 10px;
202
+ width: 50px;
203
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
204
+ }
205
+
206
+ .code .c { color: #999988; font-style: italic } /* Comment */
207
+ .code .err { color: #a61717; background-color: #e3d2d2 } /* Error */
208
+ .code .k { font-weight: bold } /* Keyword */
209
+ .code .o { font-weight: bold } /* Operator */
210
+ .code .cm { color: #999988; font-style: italic } /* Comment.Multiline */
211
+ .code .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
212
+ .code .c1 { color: #999988; font-style: italic } /* Comment.Single */
213
+ .code .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
214
+ .code .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
215
+ .code .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
216
+ .code .ge { font-style: italic } /* Generic.Emph */
217
+ .code .gr { color: #aa0000 } /* Generic.Error */
218
+ .code .gh { color: #999999 } /* Generic.Heading */
219
+ .code .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
220
+ .code .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
221
+ .code .go { color: #888888 } /* Generic.Output */
222
+ .code .gp { color: #555555 } /* Generic.Prompt */
223
+ .code .gs { font-weight: bold } /* Generic.Strong */
224
+ .code .gu { color: #aaaaaa } /* Generic.Subheading */
225
+ .code .gt { color: #aa0000 } /* Generic.Traceback */
226
+ .code .kc { font-weight: bold } /* Keyword.Constant */
227
+ .code .kd { font-weight: bold } /* Keyword.Declaration */
228
+ .code .kp { font-weight: bold } /* Keyword.Pseudo */
229
+ .code .kr { font-weight: bold } /* Keyword.Reserved */
230
+ .code .kt { color: #445588; font-weight: bold } /* Keyword.Type */
231
+ .code .m { color: #009999 } /* Literal.Number */
232
+ .code .s { color: #d14 } /* Literal.String */
233
+ .code .na { color: #008080 } /* Name.Attribute */
234
+ .code .nb { color: #0086B3 } /* Name.Builtin */
235
+ .code .nc { color: #445588; font-weight: bold } /* Name.Class */
236
+ .code .no { color: #008080 } /* Name.Constant */
237
+ .code .ni { color: #800080 } /* Name.Entity */
238
+ .code .ne { color: #990000; font-weight: bold } /* Name.Exception */
239
+ .code .nf { color: #990000; font-weight: bold } /* Name.Function */
240
+ .code .nn { color: #555555 } /* Name.Namespace */
241
+ .code .nt { color: #000080 } /* Name.Tag */
242
+ .code .nv { color: #008080 } /* Name.Variable */
243
+ .code .ow { font-weight: bold } /* Operator.Word */
244
+ .code .w { color: #bbbbbb } /* Text.Whitespace */
245
+ .code .mf { color: #009999 } /* Literal.Number.Float */
246
+ .code .mh { color: #009999 } /* Literal.Number.Hex */
247
+ .code .mi { color: #009999 } /* Literal.Number.Integer */
248
+ .code .mo { color: #009999 } /* Literal.Number.Oct */
249
+ .code .sb { color: #d14 } /* Literal.String.Backtick */
250
+ .code .sc { color: #d14 } /* Literal.String.Char */
251
+ .code .sd { color: #d14 } /* Literal.String.Doc */
252
+ .code .s2 { color: #d14 } /* Literal.String.Double */
253
+ .code .se { color: #d14 } /* Literal.String.Escape */
254
+ .code .sh { color: #d14 } /* Literal.String.Heredoc */
255
+ .code .si { color: #d14 } /* Literal.String.Interpol */
256
+ .code .sx { color: #d14 } /* Literal.String.Other */
257
+ .code .sr { color: #009926 } /* Literal.String.Regex */
258
+ .code .s1 { color: #d14 } /* Literal.String.Single */
259
+ .code .ss { color: #990073 } /* Literal.String.Symbol */
260
+ .code .bp { color: #999999 } /* Name.Builtin.Pseudo */
261
+ .code .vc { color: #008080 } /* Name.Variable.Class */
262
+ .code .vg { color: #008080 } /* Name.Variable.Global */
263
+ .code .vi { color: #008080 } /* Name.Variable.Instance */
264
+ .code .il { color: #009999 } /* Literal.Number.Integer.Long */
265
+
266
+ .results {
267
+ background-color:#002200;
268
+ color:#00AA00;
269
+ font-size:2em;
270
+ border:2px solid black;
271
+ position: fixed;
272
+ top:0px;
273
+ width:100%;
274
+ padding:15px;
275
+ margin:0px;
276
+ font-family: monospace;
277
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
278
+ }
279
+
280
+ .executing {
281
+ color:#0000FF !important;
282
+ background-color: yellow;
283
+ }
284
+
285
+ .executing:hover {
286
+ cursor: pointer;
287
+ }
288
+
289
+ #tips, #preshow_timer {
290
+ display:inline;
291
+ background-color:#000;
292
+ color:#fff;
293
+ font-size:3em;
294
+ border:2px solid black;
295
+ position: fixed;
296
+ padding:25px;
297
+ margin:0px;
298
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
299
+ }
300
+
301
+ #tips {
302
+ top: 0px;
303
+ right: 0px;
304
+ text-align:right;
305
+ }
306
+
307
+ #preshow_timer {
308
+ bottom: 0px;
309
+ }
310
+
311
+ /** Print **/
312
+ @media print {
313
+ body {
314
+ font-size: 70%;
315
+ }
316
+
317
+ #preso, .slide {
318
+ border: 1px solid #999;
319
+ }
320
+
321
+ .slide .center {
322
+ width: 600px;
323
+ height: 600px;
324
+ display: table-cell;
325
+ text-align: center;
326
+ vertical-align: middle;
327
+ }
328
+
329
+ #preso, .slide {
330
+ background: #fff;
331
+ width: 600px;
332
+ height: 600px;
333
+ margin-left:auto;
334
+ margin-right:auto;
335
+ overflow:hidden;
336
+ }
337
+
338
+ #footer {
339
+ background: #eee;
340
+ padding: 2px;
341
+ width: 590px;
342
+ height: 20 px;
343
+ margin-left:auto;
344
+ margin-right:auto;
345
+ }
346
+
347
+ pre, code {
348
+ font-family: Monaco, monospace;
349
+ }
350
+ }