[PRES] [web-pres2] dericks-renderer: Tweaks to styles

From: Date: Wed, 06 Mar 2024 13:17:25 +0000
Subject: [PRES] [web-pres2] dericks-renderer: Tweaks to styles
Groups: php.pres 
Request: Send a blank email to pres+get-2435@lists.php.net to get a copy of this message
Author: Derick Rethans (derickr) Date: 2024-03-06T12:54:00Z Commit: https://github.com/php/web-pres2/commit/d0725f92e9393e41740cdfc1bae841b05ac378d9 Raw diff: https://github.com/php/web-pres2/commit/d0725f92e9393e41740cdfc1bae841b05ac378d9.diff Tweaks to styles Changed paths: M derick.css M show2.php Diff: diff --git a/derick.css b/derick.css index 0e058a9..39e4bd2 100644 --- a/derick.css +++ b/derick.css @@ -1,7 +1,7 @@ body, h1, h2 { - background-color: #3a005d; - color: #eeeeec; + background-color: #cbe6ac; + color: black; font-size: 150%; } @@ -18,6 +18,11 @@ body.agenda-slide, body.slide color: #222; } +div.template-black +{ + color: black; +} + div.agenda-slide h1, div.slide h1, div.slide h2 { background-color: #eeeeec; @@ -34,11 +39,11 @@ div.slide h2 div.section-slide div p { - color: #eee; + color: #000; font-weight: bold; text-align: left; margin: 1em; - text-shadow: -2px -2px 3px #000, -1px -1px 1px #fff + text-shadow: -2px -2px 3px #fff, -1px -1px 1px #000 } ul.noicon @@ -76,7 +81,7 @@ h2 div.title-slide { - color: #eeeeec; + color: black; margin-left: 60px; margin-right: 100px; text-align: left; @@ -87,6 +92,19 @@ div.template-white div.title-slide color: #000; } +div.template-draft::before +{ + content: "DRAFT"; + font-family: sans-serif; + position: fixed; + margin-left: auto; + left: 10%; + top: 30%; + font-size: 18em; + opacity: 0.15; + transform: rotate(-25deg); +} + pre.code, pre.xdebug-var-dump { color: #000; @@ -161,7 +179,13 @@ div.result pre { div.big-centre { - font-size: 250%; + font-size: 200%; + text-align: center; +} + +div.emoji +{ + font-size: 800%; text-align: center; } @@ -202,7 +226,7 @@ table.two table.big { - font-size: 22pt; + font-size: 32pt; text-align: left; } @@ -262,3 +286,9 @@ tt { font-size: 125%; } + +@page { + margin: 0; + padding: 0; + size: 500mm 300mm; +} diff --git a/show2.php b/show2.php index 3d4bc6c..e974a97 100644 --- a/show2.php +++ b/show2.php @@ -161,6 +161,8 @@ class Presentation public $slideFiles; public $base; public $presName; + public $css; + function __get( $name ) { @@ -176,7 +178,8 @@ function __construct( $pres ) foreach ( array( 'title', 'event', 'location', 'date', 'speaker', - 'email', 'url', 'joindin', 'twitter', 'lat', 'lon', + 'email', 'url', 'joindin', 'twitter', 'mastodon', + 'lat', 'lon', ) as $prop ) { $this->properties[$prop] = (string) $xml->$prop;

« previous php.pres (#2435) next »