com web/pres2: better contrast colours for result blocks: reveal_template.php
[email protected] (Rasmus Lerdorf) Sat, 30 Sep 2017 11:36:18 +0000
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Commit: 9f55fdf37fc7dd6ba9307ede57fe6d7916c6c2d6 Author: Rasmus Lerdorf <[email protected]> Sat, 30 Sep 2017 12:36:18 +0100 Parents: 9b36ccdbda81896809eec79cffda06fdc3249fd4 Branches: master Link: http://git.php.net/?p=web/pres2.git;a=commitdiff;h=9f55fdf37fc7dd6ba9307ede57fe6d7916c6c2d6 Log: better contrast colours for result blocks Changed paths: M reveal_template.php Diff: diff --git a/reveal_template.php b/reveal_template.php index f2f9851..21028db 100644 --- a/reveal_template.php +++ b/reveal_template.php @@ -55,6 +55,17 @@ line-height: 125%; -webkit-text-size-adjust: none; } + + .reveal code.result { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #ddd; + color: #000; + line-height: 125%; + -webkit-text-size-adjust: none; + } + /* Left-align h3 and h4 if they are p elements */ h3.p { text-align: left;