com web/pres2: Updates for styles.: 10gen-strict.css 10gen.css core.css show2.php
[email protected] (Derick Rethans) Wed, 25 Nov 2015 11:40:04 +0000
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Commit: e2f061401bdb628423bb5200313ee7faf4d91adc Author: Derick Rethans <[email protected]> Sat, 29 Sep 2012 10:54:39 -0700 Parents: 0b0886a0bfb62b521262223ccea41e3baf8b1e12 Branches: dericks-renderer Link: http://git.php.net/?p=web/pres2.git;a=commitdiff;h=e2f061401bdb628423bb5200313ee7faf4d91adc Log: Updates for styles. Changed paths: A 10gen-strict.css M 10gen.css M core.css M show2.php Diff: diff --git a/10gen-strict.css b/10gen-strict.css new file mode 100644 index 0000000..87105e0 --- /dev/null +++ b/10gen-strict.css @@ -0,0 +1,92 @@ +body, h1, h2 +{ + background-color: #1a3e7f; + color: #eeeeec; +} + +h1 +{ + color: #abdc45; + margin-bottom: 0em; +} + +h2 +{ + color: #abdc45; + margin-bottom: 0em; +} + +div.title-slide +{ + color: #eeeeec; +} + +div.template-white div.title-slide +{ + color: #000; +} + +pre.code, pre.xdebug-var-dump +{ + color: #000; +} + +pre.xdebug-var-dump +{ + font-size: 100%; +} + +p +{ + font-family: Arial; +} + +div.footer +{ + height: 105px; + width: 1024px; + top: 645px; + position: absolute; + background-color: #1a3e7f; + clear: both; +} + +div.footer img +{ + margin-left: 20px; + margin-right: 20px; +} + +pre +{ + font-size: 135%; +} + +div.result pre { + background: none; +} + +div.big-centre +{ + font-size: 250%; + text-align: center; +} + +a +{ + color: #fff; +} + +div.html +{ + font-size: 80%; + color: #000; + background-color: #fff; + margin-left: 2em; + margin-right: 2em; +} + +div.html a +{ + color: #777; +} diff --git a/10gen.css b/10gen.css index e542a02..3563053 100644 --- a/10gen.css +++ b/10gen.css @@ -1,4 +1,4 @@ -h1 +h1, h2 { background-color: #1a3e7f; } @@ -21,5 +21,11 @@ div.footer img pre { - font-size: 150%; + font-size: 135%; +} + +div.big-centre +{ + font-size: 250%; + text-align: center; } diff --git a/core.css b/core.css index 5972964..858bbcb 100644 --- a/core.css +++ b/core.css @@ -27,7 +27,6 @@ body div.whole-slide { width: 1024px; - height: 760px; } div.title-slide @@ -45,8 +44,7 @@ div.section-slide div.section-slide div p { text-align: center; - color: #eeeeec; - background-color: #75507b; + color: #abdc45; margin-top: 320px; margin-bottom: 0px; } @@ -552,8 +550,29 @@ p.extend table.xdebug-error { - width: 80%; - margin: 0 auto; + width: 100%; + margin: 0; + font-size: 150%; + font-family: serif; + text-align: left; +} + +table.xdebug-error tr.yll th +{ + background-color: #f57900; + color: black; +} + +table.xdebug-error tr.tle th +{ + background-color: #e9b96e; + color: black; +} + +table.xdebug-error tr.hdr th +{ + background-color: #eeeeec; + color: black; } .vim-export @@ -573,6 +592,13 @@ div.center-page text-align: center; } +div.quote-page +{ + font-size: 250%; + text-align: center; + padding-top: 3em; +} + div.text-overlay { position: absolute; @@ -586,3 +612,30 @@ div.text-overlay h1 text-align: center; opacity: 0.8; } + +div table +{ + text-align: center; + width: 95%; +} + +table +{ + margin: 25px; + font-size: 24pt; + text-align: center; + border: solid 1px black; +} + +th +{ + background: blue; + color: white; +} + +th, td, tr +{ + border: black; + border: solid 1px gray; + padding: 0px; +} diff --git a/show2.php b/show2.php index 386cbdd..f582154 100644 --- a/show2.php +++ b/show2.php @@ -52,6 +52,11 @@ class PresFormatter implements ezcTemplateCustomFunction $ret = preg_replace('/\*([\S ]+?)\*/','<strong>\1</strong>',$ret); $ret = str_replace(chr(1),'\*',$ret); + // strike + $ret = str_replace('\-\-\-',chr(1),$ret); + $ret = preg_replace('/\-\-\-([\S ]+?)\-\-\-/','<s>\1</s>',$ret); + $ret = str_replace(chr(1),'\-\-\-',$ret); + // italics $ret = str_replace('\~',chr(1),$ret); $ret = preg_replace('/~([\S ]+?)~/','<i>\1</i>',$ret);