styles.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872
  1. /*
  2. Google HTML5 slides template
  3. Authors: Luke Mahé (code)
  4. Marcin Wichary (code and design)
  5. Dominic Mazzoni (browser compatibility)
  6. Charles Chen (ChromeVox support)
  7. URL: http://code.google.com/p/html5slides/
  8. */
  9. /* Framework */
  10. html {
  11. height: 100%;
  12. }
  13. body {
  14. margin: 0;
  15. padding: 0;
  16. display: block !important;
  17. height: 100%;
  18. min-height: 740px;
  19. overflow-x: hidden;
  20. overflow-y: auto;
  21. background: rgb(215, 215, 215);
  22. background: -o-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
  23. background: -moz-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
  24. background: -webkit-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
  25. background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 500, from(rgb(240, 240, 240)), to(rgb(190, 190, 190)));
  26. -webkit-font-smoothing: antialiased;
  27. }
  28. .slides {
  29. width: 100%;
  30. height: 100%;
  31. left: 0;
  32. top: 0;
  33. position: absolute;
  34. -webkit-transform: translate3d(0, 0, 0);
  35. }
  36. .slides section > article{
  37. display: block;
  38. position: absolute;
  39. overflow: hidden;
  40. width: 900px;
  41. height: 700px;
  42. left: 50%;
  43. top: 50%;
  44. margin-left: -450px;
  45. margin-top: -350px;
  46. padding: 40px 60px;
  47. box-sizing: border-box;
  48. -o-box-sizing: border-box;
  49. -moz-box-sizing: border-box;
  50. -webkit-box-sizing: border-box;
  51. border-radius: 10px;
  52. -o-border-radius: 10px;
  53. -moz-border-radius: 10px;
  54. -webkit-border-radius: 10px;
  55. background-color: white;
  56. box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
  57. border: 1px solid rgba(0, 0, 0, .3);
  58. transition: transform .3s ease-out;
  59. -o-transition: -o-transform .3s ease-out;
  60. -moz-transition: -moz-transform .3s ease-out;
  61. -webkit-transition: -webkit-transform .3s ease-out;
  62. }
  63. .slides.layout-widescreen section > article {
  64. margin-left: -550px;
  65. width: 1100px;
  66. }
  67. .slides.layout-faux-widescreen section > article {
  68. margin-left: -550px;
  69. width: 1100px;
  70. padding: 40px 160px;
  71. }
  72. .slides.template-default section > article:not(.nobackground):not(.biglogo) {
  73. background: url(images/google-logo-small.png) 710px 625px no-repeat;
  74. background-color: white;
  75. }
  76. .slides.layout-widescreen section > article:not(.nobackground):not(.biglogo),
  77. .slides.layout-faux-widescreen > article:not(.nobackground):not(.biglogo) {
  78. background-position-x: 0, 840px;
  79. }
  80. /* Clickable/tappable areas */
  81. .slide-area {
  82. z-index: 1000;
  83. position: absolute;
  84. left: 0;
  85. top: 0;
  86. width: 150px;
  87. height: 700px;
  88. left: 50%;
  89. top: 50%;
  90. cursor: pointer;
  91. margin-top: -350px;
  92. tap-highlight-color: transparent;
  93. -o-tap-highlight-color: transparent;
  94. -moz-tap-highlight-color: transparent;
  95. -webkit-tap-highlight-color: transparent;
  96. }
  97. #prev-slide-area {
  98. margin-left: -550px;
  99. }
  100. #next-slide-area {
  101. margin-left: 400px;
  102. }
  103. .slides.layout-widescreen #prev-slide-area,
  104. .slides.layout-faux-widescreen #prev-slide-area {
  105. margin-left: -650px;
  106. }
  107. .slides.layout-widescreen #next-slide-area,
  108. .slides.layout-faux-widescreen #next-slide-area {
  109. margin-left: 500px;
  110. }
  111. /* Slides */
  112. .slides section > article{
  113. display: none;
  114. }
  115. .slides section > article.far-past {
  116. display: block;
  117. transform: translate(-2040px);
  118. -o-transform: translate(-2040px);
  119. -moz-transform: translate(-2040px);
  120. -webkit-transform: translate3d(-2040px, 0, 0);
  121. }
  122. .slides section> article.past {
  123. display: block;
  124. transform: translate(-1020px);
  125. -o-transform: translate(-1020px);
  126. -moz-transform: translate(-1020px);
  127. -webkit-transform: translate3d(-1020px, 0, 0);
  128. }
  129. .slides section > article.current {
  130. display: block;
  131. transform: translate(0);
  132. -o-transform: translate(0);
  133. -moz-transform: translate(0);
  134. -webkit-transform: translate3d(0, 0, 0);
  135. }
  136. .slides section > article.next {
  137. display: block;
  138. transform: translate(1020px);
  139. -o-transform: translate(1020px);
  140. -moz-transform: translate(1020px);
  141. -webkit-transform: translate3d(1020px, 0, 0);
  142. }
  143. .slides section > article.far-next {
  144. display: block;
  145. transform: translate(2040px);
  146. -o-transform: translate(2040px);
  147. -moz-transform: translate(2040px);
  148. -webkit-transform: translate3d(2040px, 0, 0);
  149. }
  150. .slides.layout-widescreen section > article.far-past,
  151. .slides.layout-faux-widescreen section > article.far-past {
  152. display: block;
  153. transform: translate(-2260px);
  154. -o-transform: translate(-2260px);
  155. -moz-transform: translate(-2260px);
  156. -webkit-transform: translate3d(-2260px, 0, 0);
  157. }
  158. .slides.layout-widescreen section > article.past,
  159. .slides.layout-faux-widescreen section > article.past {
  160. display: block;
  161. transform: translate(-1130px);
  162. -o-transform: translate(-1130px);
  163. -moz-transform: translate(-1130px);
  164. -webkit-transform: translate3d(-1130px, 0, 0);
  165. }
  166. .slides.layout-widescreen section > article.current,
  167. .slides.layout-faux-widescreen section > article.current {
  168. display: block;
  169. transform: translate(0);
  170. -o-transform: translate(0);
  171. -moz-transform: translate(0);
  172. -webkit-transform: translate3d(0, 0, 0);
  173. }
  174. .slides.layout-widescreen section > article.next,
  175. .slides.layout-faux-widescreen section > article.next {
  176. display: block;
  177. transform: translate(1130px);
  178. -o-transform: translate(1130px);
  179. -moz-transform: translate(1130px);
  180. -webkit-transform: translate3d(1130px, 0, 0);
  181. }
  182. .slides.layout-widescreen section > article.far-next,
  183. .slides.layout-faux-widescreen section > article.far-next {
  184. display: block;
  185. transform: translate(2260px);
  186. -o-transform: translate(2260px);
  187. -moz-transform: translate(2260px);
  188. -webkit-transform: translate3d(2260px, 0, 0);
  189. }
  190. /* Styles for slides */
  191. .slides section > article {
  192. font-family: 'Open Sans', Arial, sans-serif;
  193. color: rgb(102, 102, 102);
  194. text-shadow: 0 1px 1px rgba(0, 0, 0, .1);
  195. font-size: 30px;
  196. line-height: 36px;
  197. letter-spacing: -1px;
  198. }
  199. b {
  200. font-weight: 600;
  201. }
  202. .blue {
  203. color: rgb(0, 102, 204);
  204. }
  205. .yellow {
  206. color: rgb(255, 211, 25);
  207. }
  208. .green {
  209. color: rgb(0, 138, 53);
  210. }
  211. .red {
  212. color: rgb(255, 0, 0);
  213. }
  214. .black {
  215. color: black;
  216. }
  217. .white {
  218. color: white;
  219. }
  220. a {
  221. color: rgb(0, 102, 204);
  222. }
  223. a:visited {
  224. color: rgba(0, 102, 204, .75);
  225. }
  226. a:hover {
  227. color: black;
  228. }
  229. p {
  230. margin: 0;
  231. padding: 0;
  232. margin-top: 20px;
  233. }
  234. p:first-child {
  235. margin-top: 0;
  236. }
  237. h1 {
  238. font-size: 60px;
  239. line-height: 60px;
  240. padding: 0;
  241. margin: 0;
  242. margin-top: 200px;
  243. padding-right: 40px;
  244. font-weight: 600;
  245. letter-spacing: -3px;
  246. color: rgb(51, 51, 51);
  247. }
  248. h2 {
  249. font-size: 45px;
  250. line-height: 45px;
  251. position: absolute;
  252. bottom: 150px;
  253. padding: 0;
  254. margin: 0;
  255. padding-right: 40px;
  256. font-weight: 600;
  257. letter-spacing: -2px;
  258. color: rgb(51, 51, 51);
  259. }
  260. h3 {
  261. font-size: 30px;
  262. line-height: 36px;
  263. padding: 0;
  264. margin: 0;
  265. padding-right: 40px;
  266. font-weight: 600;
  267. letter-spacing: -1px;
  268. color: rgb(51, 51, 51);
  269. }
  270. article.fill h3 {
  271. background: rgba(255, 255, 255, .75);
  272. padding-top: .2em;
  273. padding-bottom: .3em;
  274. margin-top: -.2em;
  275. margin-left: -60px;
  276. padding-left: 60px;
  277. margin-right: -60px;
  278. padding-right: 60px;
  279. }
  280. ul {
  281. list-style: none;
  282. margin: 0;
  283. padding: 0;
  284. margin-top: 40px;
  285. margin-left: .75em;
  286. }
  287. ul:first-child {
  288. margin-top: 0;
  289. }
  290. ul ul {
  291. margin-top: .5em;
  292. }
  293. li {
  294. padding: 0;
  295. margin: 0;
  296. margin-bottom: .5em;
  297. }
  298. li::before {
  299. content: '·';
  300. width: .75em;
  301. margin-left: -.75em;
  302. position: absolute;
  303. }
  304. ol li::before {
  305. content: '';
  306. }
  307. nav.toc ol li.done{
  308. opacity: 0.80;
  309. }
  310. nav.toc ol li.current{
  311. font-weight:bold;
  312. }
  313. nav.toc ol li.future{
  314. opacity: 0.95;
  315. }
  316. pre {
  317. font-family: 'Droid Sans Mono', 'Courier New', monospace;
  318. font-size: 20px;
  319. line-height: 28px;
  320. padding: 5px 10px;
  321. letter-spacing: -1px;
  322. margin-top: 40px;
  323. margin-bottom: 40px;
  324. color: black;
  325. background: rgb(240, 240, 240);
  326. border: 1px solid rgb(224, 224, 224);
  327. box-shadow: inset 0 2px 6px rgba(0, 0, 0, .1);
  328. overflow: hidden;
  329. }
  330. code {
  331. font-size: 95%;
  332. font-family: 'Droid Sans Mono', 'Courier New', monospace;
  333. color: black;
  334. }
  335. iframe {
  336. width: 100%;
  337. height: 620px;
  338. /*
  339. background: white;
  340. border: 1px solid rgb(192, 192, 192);
  341. margin: -1px;
  342. */
  343. /*box-shadow: inset 0 2px 6px rgba(0, 0, 0, .1);*/
  344. }
  345. h3 + iframe {
  346. margin-top: 40px;
  347. height: 540px;
  348. }
  349. article.fill iframe {
  350. position: absolute;
  351. left: 0;
  352. top: 0;
  353. width: 100%;
  354. height: 100%;
  355. border: 0;
  356. margin: 0;
  357. border-radius: 10px;
  358. -o-border-radius: 10px;
  359. -moz-border-radius: 10px;
  360. -webkit-border-radius: 10px;
  361. z-index: -1;
  362. }
  363. article.fill img:not(.nofill) {
  364. position: absolute;
  365. left: 0;
  366. top: 0;
  367. min-width: 100%;
  368. min-height: 100%;
  369. border-radius: 10px;
  370. -o-border-radius: 10px;
  371. -moz-border-radius: 10px;
  372. -webkit-border-radius: 10px;
  373. z-index: -1;
  374. }
  375. img.centered {
  376. margin: 0 auto;
  377. display: block;
  378. }
  379. table {
  380. width: 100%;
  381. border-collapse: collapse;
  382. margin-top: 40px;
  383. }
  384. th {
  385. font-weight: 600;
  386. text-align: left;
  387. }
  388. td,
  389. th {
  390. border: 1px solid rgb(224, 224, 224);
  391. padding: 5px 10px;
  392. vertical-align: top;
  393. }
  394. .source {
  395. position: absolute;
  396. left: 60px;
  397. top: 644px;
  398. padding-right: 175px;
  399. font-size: 15px;
  400. letter-spacing: 0;
  401. line-height: 18px;
  402. }
  403. q {
  404. display: block;
  405. font-size: 60px;
  406. line-height: 72px;
  407. margin-left: 20px;
  408. margin-top: 100px;
  409. margin-right: 150px;
  410. }
  411. q::before {
  412. content: '„';
  413. position: absolute;
  414. display: inline-block;
  415. margin-left: -2.1em;
  416. width: 2em;
  417. text-align: right;
  418. font-size: 90px;
  419. color: rgb(192, 192, 192);
  420. }
  421. q::after {
  422. content: '“';
  423. position: absolute;
  424. margin-left: .1em;
  425. font-size: 90px;
  426. color: rgb(192, 192, 192);
  427. }
  428. div.author {
  429. text-align: right;
  430. font-size: 40px;
  431. margin-top: 20px;
  432. margin-right: 150px;
  433. }
  434. div.author::before {
  435. content: '—';
  436. }
  437. /* Size variants */
  438. article.smaller p,
  439. article.smaller ul, article.smaller dl {
  440. font-size: 20px;
  441. line-height: 24px;
  442. letter-spacing: 0;
  443. }
  444. article.smaller table {
  445. font-size: 20px;
  446. line-height: 24px;
  447. letter-spacing: 0;
  448. }
  449. article.smaller pre {
  450. font-size: 15px;
  451. line-height: 20px;
  452. letter-spacing: 0;
  453. }
  454. article.smaller q {
  455. font-size: 40px;
  456. line-height: 48px;
  457. }
  458. article.smaller q::before,
  459. article.smaller q::after {
  460. font-size: 60px;
  461. }
  462. /* Builds */
  463. .build > * {
  464. transition: opacity 0.5s ease-in-out 0.2s;
  465. -o-transition: opacity 0.5s ease-in-out 0.2s;
  466. -moz-transition: opacity 0.5s ease-in-out 0.2s;
  467. -webkit-transition: opacity 0.5s ease-in-out 0.2s;
  468. }
  469. .to-build {
  470. opacity: 0;
  471. }
  472. /* Pretty print */
  473. .prettyprint .str, /* string content */
  474. .prettyprint .atv { /* a markup attribute value */
  475. color: rgb(0, 138, 53);
  476. }
  477. .prettyprint .kwd, /* a keyword */
  478. .prettyprint .tag { /* a markup tag name */
  479. color: rgb(0, 102, 204);
  480. }
  481. .prettyprint .com { /* a comment */
  482. color: rgb(127, 127, 127);
  483. font-style: italic;
  484. }
  485. .prettyprint .lit { /* a literal value */
  486. color: rgb(127, 0, 0);
  487. }
  488. .prettyprint .pun, /* punctuation, lisp open bracket, lisp close bracket */
  489. .prettyprint .opn,
  490. .prettyprint .clo {
  491. color: rgb(127, 127, 127);
  492. }
  493. .prettyprint .typ, /* a type name */
  494. .prettyprint .atn, /* a markup attribute name */
  495. .prettyprint .dec,
  496. .prettyprint .var { /* a declaration; a variable name */
  497. color: rgb(127, 0, 127);
  498. }
  499. .slide-nr {
  500. display:none;
  501. }
  502. aside{
  503. display:none;
  504. }
  505. .presenter aside{
  506. z-index:10;
  507. position: absolute;
  508. top:2%;
  509. left:35%;
  510. display:block;
  511. width:60%;
  512. height:96%;
  513. padding:5%;
  514. background: rgba(240, 240, 240, .90);
  515. box-sizing: border-box;
  516. -o-box-sizing: border-box;
  517. -moz-box-sizing: border-box;
  518. -webkit-box-sizing: border-box;
  519. border-radius: 10px;
  520. -o-border-radius: 10px;
  521. -moz-border-radius: 10px;
  522. -webkit-border-radius: 10px;
  523. box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  524. border: 1px solid rgba(0, 0, 0, .3);
  525. }
  526. .presenter .build > * {
  527. transition: opacity 0.5s ease-in-out 0.2s;
  528. -o-transition: opacity 0.5s ease-in-out 0.2s;
  529. -moz-transition: opacity 0.5s ease-in-out 0.2s;
  530. -webkit-transition: opacity 0.5s ease-in-out 0.2s;
  531. }
  532. .presenter .to-build {
  533. opacity: 100;
  534. }
  535. .no-trans.slides section > article{
  536. transition: transform;
  537. -o-transition: -o-transform;
  538. -moz-transition: -moz-transform;
  539. -webkit-transition: -webkit-transform;
  540. }
  541. .blackfade {
  542. display: none;
  543. background: #000;
  544. position: fixed; left: 0; top: 0;
  545. width: 100%; height: 100%;
  546. opacity: .90;
  547. z-index: 9999;
  548. }
  549. .whitefade {
  550. display: none;
  551. background: #FFF;
  552. position: fixed; left: 0; top: 0;
  553. width: 100%; height: 100%;
  554. opacity: .95;
  555. z-index: 9999;
  556. }
  557. section header{
  558. display: none;
  559. }
  560. .slides.template-uulm-in section > article:not(.fill):not(.title-slide):before{
  561. content:"";
  562. display:block;
  563. border-top:2px solid rgb(163,38,56);
  564. position: absolute;
  565. width: 100%;
  566. height: 2px;
  567. min-height: 2px;
  568. left: 0;
  569. top: 24px;
  570. }
  571. .slides.template-uulm-in section > article:not(.fill):not(.title-slide) .slide-nr{
  572. display:inline;
  573. position: absolute;
  574. color: #eee;
  575. font-size:18px;
  576. line-height: 26px;
  577. font-weight: 600;
  578. letter-spacing: -1px;
  579. min-width: 26px;
  580. left: 0;
  581. top: 24px;
  582. padding:0px;
  583. padding-left:6px;
  584. padding-right:6px;
  585. margin:0;
  586. background: rgb(163,38,56);
  587. text-align:center;
  588. }
  589. .slides.template-uulm-in section > article.title-slide img {
  590. position: absolute;
  591. left: 0;
  592. top: 20%;
  593. min-width: 100%;
  594. min-height: 50%;
  595. width:100%;
  596. height:50%;
  597. z-index: -1;
  598. }
  599. .slides.template-uulm-in section > article h1, .slides.template-uulm-in section > article h2, .slides.template-uulm-in section > article h3{
  600. color: rgb(163,38,56);
  601. }
  602. .slides.template-uulm-in section > article.title-slide #title{
  603. font-size: 48px;
  604. position: absolute;
  605. left: 50%;
  606. top: 75%;
  607. text-align:left;
  608. margin:0;
  609. padding:0;
  610. }
  611. .slides.template-uulm-in section > article.title-slide #subtitle{
  612. font-size: 28px;
  613. position: absolute;
  614. left: 50%;
  615. bottom: 3%;
  616. text-align:left;
  617. margin:0;
  618. padding:0;
  619. }
  620. .slides.template-uulm-in section > article.title-slide #author{
  621. font-size: 28px;
  622. position: absolute;
  623. left: 5%;
  624. bottom: 3%;
  625. text-align:left;
  626. margin:0;
  627. padding:0;
  628. }
  629. .slides.template-uulm-in section > article.title-slide #uulm-logo {
  630. position: absolute;
  631. left: 50%;
  632. top: 4%;
  633. z-index: -2;
  634. width: 38%;
  635. min-width: 38%;
  636. min-height: 10%;
  637. height: 10%;
  638. }
  639. .slides.template-uulm-in section > article:not(.fill){
  640. padding-top: 100px;
  641. padding-left: 80px;
  642. padding-right: 80px;
  643. padding-bottom: 32px;
  644. }
  645. .slides.template-uulm-in section > article:not(.nobackground):not(.biglogo) {
  646. background-color: white;
  647. }
  648. .slides.template-uulm-in li::before {
  649. color: rgb(163,38,56);
  650. }
  651. .slides.template-uulm-in td{
  652. background: rgba(169,162,141,0.4);
  653. padding: 5px 10px;
  654. vertical-align: top;
  655. }
  656. .slides.template-uulm-in th{
  657. background: rgba(169,162,141,0.8);
  658. padding: 5px 10px;
  659. vertical-align: top;
  660. color:#eee;
  661. }
  662. .slides.template-uulm-in iframe {
  663. height: 580px;
  664. }
  665. .slides.template-uulm-in h3 + iframe {
  666. margin-top: 40px;
  667. height: 480px;
  668. }
  669. .slides.template-uulm-in section article.fill iframe {
  670. position: absolute;
  671. left: 0;
  672. top: 0;
  673. width: 100%;
  674. height: 100%;
  675. border: 0;
  676. margin: 0;
  677. border-radius: 10px;
  678. -o-border-radius: 10px;
  679. -moz-border-radius: 10px;
  680. -webkit-border-radius: 10px;
  681. z-index: -1;
  682. }
  683. .uulm-color {
  684. color: rgb(125,154,170);
  685. }
  686. .mawi-color {
  687. color: rgb(86,170,28);
  688. }
  689. .in-color {
  690. color: rgb(163,38,56);
  691. }
  692. .nawi-color {
  693. color: rgb(189,96,5);
  694. }
  695. .med-color {
  696. color: rgb(38,84,124);
  697. }
  698. .accent-color {
  699. color: rgb(169,162,141);
  700. }
  701. .slides.template-uulm-in a{
  702. color: rgb(125,154,170);
  703. }
  704. a{
  705. text-decoration: none;
  706. }