summaryrefslogtreecommitdiff
path: root/slidy/slidy.css
blob: 61effb6bd3775e28bf52963803b8110a6dbacaad (plain)
  1. /* slidy.css
  2. Copyright (c) 2005-2010 W3C (MIT, ERCIM, Keio), All Rights Reserved.
  3. W3C liability, trademark, document use and software licensing
  4. rules apply, see:
  5. http://www.w3.org/Consortium/Legal/copyright-documents
  6. http://www.w3.org/Consortium/Legal/copyright-software
  7. */
  8. body
  9. {
  10. margin: 0 0 0 0;
  11. padding: 0 0 0 0;
  12. width: 100%;
  13. height: 100%;
  14. color: black;
  15. background-color: white;
  16. background-image: url(openlogo-nd-100.png);
  17. background-attachment: fixed;
  18. background-repeat: no-repeat;
  19. background-position: 95% 5%;
  20. font-family: "Gill Sans MT", "Gill Sans", GillSans, sans-serif;
  21. font-size: 14pt;
  22. }
  23. div.toolbar {
  24. position: fixed; z-index: 200;
  25. top: auto; bottom: 0; left: 0; right: 0;
  26. height: 1.2em; text-align: right;
  27. padding-left: 1em;
  28. padding-right: 1em;
  29. font-size: 60%;
  30. color: red;
  31. background-color: rgb(240,240,240);
  32. border-top: solid 1px rgb(180,180,180);
  33. }
  34. div.toolbar span.copyright {
  35. color: black;
  36. margin-left: 0.5em;
  37. }
  38. div.initial_prompt {
  39. position: absolute;
  40. z-index: 1000;
  41. bottom: 1.2em;
  42. width: 100%;
  43. background-color: rgb(200,200,200);
  44. opacity: 0.35;
  45. background-color: rgb(200,200,200, 0.35);
  46. cursor: pointer;
  47. }
  48. div.initial_prompt p.help {
  49. text-align: center;
  50. }
  51. div.initial_prompt p.close {
  52. text-align: right;
  53. font-style: italic;
  54. }
  55. div.slidy_toc {
  56. position: absolute;
  57. z-index: 300;
  58. width: 60%;
  59. max-width: 30em;
  60. height: 30em;
  61. overflow: auto;
  62. top: auto;
  63. right: auto;
  64. left: 4em;
  65. bottom: 4em;
  66. padding: 1em;
  67. background: rgb(240,240,240);
  68. border-style: solid;
  69. border-width: 2px;
  70. font-size: 60%;
  71. }
  72. div.slidy_toc .toc_heading {
  73. text-align: center;
  74. width: 100%;
  75. margin: 0;
  76. margin-bottom: 1em;
  77. border-bottom-style: solid;
  78. border-bottom-color: rgb(180,180,180);
  79. border-bottom-width: 1px;
  80. }
  81. div.slide {
  82. z-index: 20;
  83. margin: 0 0 0 0;
  84. padding-top: 0;
  85. padding-bottom: 0;
  86. padding-left: 20px;
  87. padding-right: 20px;
  88. border-width: 0;
  89. clear: both;
  90. top: 0;
  91. bottom: 0;
  92. left: 0;
  93. right: 0;
  94. line-height: 120%;
  95. background-color: transparent;
  96. }
  97. div.background {
  98. display: none;
  99. }
  100. div.handout {
  101. margin-left: 20px;
  102. margin-right: 20px;
  103. }
  104. div.slide.titlepage {
  105. text-align: center;
  106. }
  107. div.slide.titlepage h1 {
  108. padding-top: 10%;
  109. margin-right: 0;
  110. }
  111. div.slide h1 {
  112. padding-left: 0;
  113. padding-right: 20pt;
  114. padding-top: 4pt;
  115. padding-bottom: 4pt;
  116. margin-top: 0;
  117. margin-left: 0;
  118. margin-right: 60pt;
  119. margin-bottom: 0.5em;
  120. display: block;
  121. font-size: 160%;
  122. line-height: 1.2em;
  123. background: transparent;
  124. }
  125. div.toc {
  126. position: absolute;
  127. top: auto;
  128. bottom: 4em;
  129. left: 4em;
  130. right: auto;
  131. width: 60%;
  132. max-width: 30em;
  133. height: 30em;
  134. border: solid thin black;
  135. padding: 1em;
  136. background: rgb(240,240,240);
  137. color: black;
  138. z-index: 300;
  139. overflow: auto;
  140. display: block;
  141. visibility: visible;
  142. }
  143. div.toc-heading {
  144. width: 100%;
  145. border-bottom: solid 1px rgb(180,180,180);
  146. margin-bottom: 1em;
  147. text-align: center;
  148. }
  149. pre {
  150. font-size: 80%;
  151. font-weight: bold;
  152. line-height: 120%;
  153. padding-top: 0.2em;
  154. padding-bottom: 0.2em;
  155. padding-left: 1em;
  156. padding-right: 1em;
  157. border-style: solid;
  158. border-left-width: 1em;
  159. border-top-width: thin;
  160. border-right-width: thin;
  161. border-bottom-width: thin;
  162. border-color: #95ABD0;
  163. color: #00428C;
  164. background-color: #E4E5E7;
  165. }
  166. li pre { margin-left: 0; }
  167. blockquote { font-style: italic }
  168. img { background-color: transparent }
  169. p.copyright { font-size: smaller }
  170. .center { text-align: center }
  171. .footnote { font-size: smaller; margin-left: 2em; }
  172. a img { border-width: 0; border-style: none }
  173. a:visited { color: navy }
  174. a:link { color: navy }
  175. a:hover { color: red; text-decoration: underline }
  176. a:active { color: red; text-decoration: underline }
  177. a {text-decoration: none}
  178. .navbar a:link {color: white}
  179. .navbar a:visited {color: yellow}
  180. .navbar a:active {color: red}
  181. .navbar a:hover {color: red}
  182. ul { list-style-type: square; }
  183. ul ul { list-style-type: disc; }
  184. ul ul ul { list-style-type: circle; }
  185. ul ul ul ul { list-style-type: disc; }
  186. li { margin-left: 0.5em; margin-top: 0.5em; }
  187. li li { font-size: 85%; font-style: italic }
  188. li li li { font-size: 85%; font-style: normal }
  189. div dt
  190. {
  191. margin-left: 0;
  192. margin-top: 1em;
  193. margin-bottom: 0.5em;
  194. font-weight: bold;
  195. }
  196. div dd
  197. {
  198. margin-left: 2em;
  199. margin-bottom: 0.5em;
  200. }
  201. p,pre,ul,ol,blockquote,h2,h3,h4,h5,h6,dl,table {
  202. margin-left: 1em;
  203. margin-right: 1em;
  204. }
  205. p.subhead { font-weight: bold; margin-top: 2em; }
  206. .smaller { font-size: smaller }
  207. .bigger { font-size: 130% }
  208. td,th { padding: 0.2em }
  209. ul {
  210. margin: 0.5em 1.5em 0.5em 1.5em;
  211. padding: 0;
  212. }
  213. ol {
  214. margin: 0.5em 1.5em 0.5em 1.5em;
  215. padding: 0;
  216. }
  217. ul { list-style-type: square; }
  218. ul ul { list-style-type: disc; }
  219. ul ul ul { list-style-type: circle; }
  220. ul ul ul ul { list-style-type: disc; }
  221. ul li {
  222. list-style: square;
  223. margin: 0.1em 0em 0.6em 0;
  224. padding: 0 0 0 0;
  225. line-height: 140%;
  226. }
  227. ol li {
  228. margin: 0.1em 0em 0.6em 1.5em;
  229. padding: 0 0 0 0px;
  230. line-height: 140%;
  231. list-style-type: decimal;
  232. }
  233. li ul li {
  234. font-size: 85%;
  235. font-style: italic;
  236. list-style-type: disc;
  237. background: transparent;
  238. padding: 0 0 0 0;
  239. }
  240. li li ul li {
  241. font-size: 85%;
  242. font-style: normal;
  243. list-style-type: circle;
  244. background: transparent;
  245. padding: 0 0 0 0;
  246. }
  247. li li li ul li {
  248. list-style-type: disc;
  249. background: transparent;
  250. padding: 0 0 0 0;
  251. }
  252. li ol li {
  253. list-style-type: decimal;
  254. }
  255. li li ol li {
  256. list-style-type: decimal;
  257. }
  258. /*
  259. setting class="outline on ol or ul makes it behave as an
  260. ouline list where blocklevel content in li elements is
  261. hidden by default and can be expanded or collapsed with
  262. mouse click. Set class="expand" on li to override default
  263. */
  264. ol.outline li:hover { cursor: pointer }
  265. ol.outline li.nofold:hover { cursor: default }
  266. ul.outline li:hover { cursor: pointer }
  267. ul.outline li.nofold:hover { cursor: default }
  268. ol.outline { list-style:decimal; }
  269. ol.outline ol { list-style-type:lower-alpha }
  270. ol.outline li.nofold {
  271. padding: 0 0 0 20px;
  272. background: transparent url(../graphics/nofold-dim.gif) no-repeat 0px 0.5em;
  273. }
  274. ol.outline li.unfolded {
  275. padding: 0 0 0 20px;
  276. background: transparent url(../graphics/fold-dim.gif) no-repeat 0px 0.5em;
  277. }
  278. ol.outline li.folded {
  279. padding: 0 0 0 20px;
  280. background: transparent url(../graphics/unfold-dim.gif) no-repeat 0px 0.5em;
  281. }
  282. ol.outline li.unfolded:hover {
  283. padding: 0 0 0 20px;
  284. background: transparent url(../graphics/fold.gif) no-repeat 0px 0.5em;
  285. }
  286. ol.outline li.folded:hover {
  287. padding: 0 0 0 20px;
  288. background: transparent url(../graphics/unfold.gif) no-repeat 0px 0.5em;
  289. }
  290. ul.outline li.nofold {
  291. padding: 0 0 0 20px;
  292. background: transparent url(../graphics/nofold-dim.gif) no-repeat 0px 0.5em;
  293. }
  294. ul.outline li.unfolded {
  295. padding: 0 0 0 20px;
  296. background: transparent url(../graphics/fold-dim.gif) no-repeat 0px 0.5em;
  297. }
  298. ul.outline li.folded {
  299. padding: 0 0 0 20px;
  300. background: transparent url(../graphics/unfold-dim.gif) no-repeat 0px 0.5em;
  301. }
  302. ul.outline li.unfolded:hover {
  303. padding: 0 0 0 20px;
  304. background: transparent url(../graphics/fold.gif) no-repeat 0px 0.5em;
  305. }
  306. ul.outline li.folded:hover {
  307. padding: 0 0 0 20px;
  308. background: transparent url(../graphics/unfold.gif) no-repeat 0px 0.5em;
  309. }
  310. /* for slides with class "title" in table of contents */
  311. a.titleslide { font-weight: bold; font-style: italic }
  312. /*
  313. hide images for work around for save as bug
  314. where browsers fail to save images used by CSS
  315. */
  316. img.hidden { display: none; visibility: hidden }
  317. div.initial_prompt { display: none; visibility: hidden }
  318. div.slide {
  319. visibility: visible;
  320. position: inherit;
  321. }
  322. div.handout {
  323. border-top-style: solid;
  324. border-top-width: thin;
  325. border-top-color: black;
  326. }
  327. @media screen {
  328. .hidden { display: none; visibility: visible }
  329. div.slide.hidden { display: block; visibility: visible }
  330. div.handout.hidden { display: block; visibility: visible }
  331. div.background { display: none; visibility: hidden }
  332. body.single_slide div.initial_prompt { display: block; visibility: visible }
  333. body.single_slide div.background { display: block; visibility: visible }
  334. body.single_slide div.background.hidden { display: none; visibility: hidden }
  335. body.single_slide .invisible { visibility: hidden }
  336. body.single_slide .hidden { display: none; visibility: hidden }
  337. body.single_slide div.slide { position: absolute }
  338. body.single_slide div.handout { display: none; visibility: hidden }
  339. }
  340. @media print {
  341. .hidden { display: block; visibility: visible }
  342. div.slide pre { font-size: 60%; padding-left: 0.5em; }
  343. div.toolbar { display: none; visibility: hidden; }
  344. div.slidy_toc { display: none; visibility: hidden; }
  345. div.background { display: none; visibility: hidden; }
  346. div.slide { page-break-before: always }
  347. /* :first-child isn't reliable for print media */
  348. div.slide.first-slide { page-break-before: avoid }
  349. }