com web/pres2: better contrast colours for result blocks: reveal_template.php
| From: | Rasmus Lerdorf | Date: | Sat, 30 Sep 2017 11:36:18 +0000 |
| Subject: | com web/pres2: better contrast colours for result blocks: reveal_template.php | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-2243@lists.php.net to get a copy of this message | ||
Commit: 9f55fdf37fc7dd6ba9307ede57fe6d7916c6c2d6
Author: Rasmus Lerdorf <rasmus@php.net> 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;