[PRES] [web-pres2] master: Stylesheet tweaks.
[email protected] (Derick Rethans) Thu, 19 Jun 2025 17:13:04 +0000
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Author: Derick Rethans (derickr)
Date: 2013-06-26T14:28:30-04:00
Commit: https://github.com/php/web-pres2/commit/43b47ff5d22121799042f0957fc8564f94e502b3
Raw diff: https://github.com/php/web-pres2/commit/43b47ff5d22121799042f0957fc8564f94e502b3.diff
Stylesheet tweaks.
Changed paths:
M 10gen-strict.css
M 10gen.css
M core.css
M show2.php
Diff:
diff --git a/10gen-strict.css b/10gen-strict.css
index 9c9e83d..b7e33c8 100644
--- a/10gen-strict.css
+++ b/10gen-strict.css
@@ -2,12 +2,56 @@ body, h1, h2
{
background-color: #013290;
color: #eeeeec;
+ font-size: 150%;
+}
+
+body.agenda-slide, body.slide
+{
+ background-color: #eeeeec;
+ text-align: left;
+ color: #444;
+}
+
+div.agenda-slide h1, div.slide h1, div.slide h2
+{
+ background-color: #eeeeec;
+ color: #444;
+ margin-bottom: 0.5em;
+}
+
+div.slide h2
+{
+ font-size: 1.5em;
+ margin-top: -1.0em;
+ margin-bottom: 0.5em;
+}
+
+div.section-slide div p
+{
+ color: #eee;
+ font-weight: bold;
+ text-align: left;
+ margin: 1em;
+ text-shadow: -2px -2px 3px #000, -1px -1px 1px #fff
+}
+
+ul ul li
+{
+ font-size: 80%;
+ list-style-type: disc;
+}
+
+img.right
+{
+ margin: 0em 2em 0em 0.5em;
}
h1
{
color: #abdc45;
margin-bottom: 0em;
+ font-family: "PT Sans", Arial;
+ font-size: 2em;
}
h2
@@ -49,15 +93,17 @@ div.event-title p
{
font-family: "PT Sans Caption", Arial;
font-weight: bold;
- font-size: 220%;
+ font-size: 180%;
padding: 0;
+ text-shadow: -2px -2px 3px #000, -1px -1px 1px #fff
}
-div.event-date, div.event-presenter
+div.event-date, div.event-presenter, div.pres-url-small
{
- font-size: 100%;
+ font-size: 95%;
}
+
div.footer
{
border-top: 3px solid #3366ff;
@@ -69,9 +115,20 @@ div.footer
padding-top: 50px;
}
+div.footer-thanks
+{
+ border-top: 3px solid #3366ff;
+ top: 620px;
+ position: absolute;
+ background-color: #013290;
+ clear: both;
+ padding-top: 20px;
+ width: 1024px;
+}
+
pre
{
- font-size: 135%;
+ font-size: 105%;
}
div.result pre {
@@ -86,7 +143,7 @@ div.big-centre
a
{
- color: #fff;
+ color: #000;
}
div.html
@@ -102,3 +159,13 @@ div.html a
{
color: #777;
}
+
+table
+{
+ font-size: 22pt;
+}
+
+pre.code strong
+{
+ color: #f00;
+}
diff --git a/10gen.css b/10gen.css
index 3563053..955acc8 100644
--- a/10gen.css
+++ b/10gen.css
@@ -19,11 +19,30 @@ div.footer img
margin-right: 20px;
}
+div.footer-thanks
+{
+ border-top: 3px solid #3366ff;
+ top: 620px;
+ position: absolute;
+ background-color: #013290;
+ clear: both;
+ padding-top: 20px;
+ width: 1024px;
+}
+
pre
{
font-size: 135%;
}
+div.section-slide div p
+{
+ text-align: center;
+ color: #000;
+ margin-top: 200px;
+ margin-bottom: 0px;
+}
+
div.big-centre
{
font-size: 250%;
diff --git a/core.css b/core.css
index fc11d17..6440669 100644
--- a/core.css
+++ b/core.css
@@ -52,7 +52,7 @@ div.section-slide div p
div.event-title
{
font-size: 2em;
- margin-top: 3em;
+ margin-top: 2.5em;
margin-bottom: 1em;
}
@@ -627,6 +627,25 @@ table
border: solid 1px black;
}
+table.columns
+{
+ margin: 0.5em;
+ font-size: 1em;
+ text-align: left;
+ border: none;
+ width: 90%;
+}
+
+table.columns td
+{
+ border: none;
+}
+
+table.columns tr
+{
+ border: none;
+}
+
th
{
background: blue;
diff --git a/show2.php b/show2.php
index 4dd18be..2408dce 100644
--- a/show2.php
+++ b/show2.php
@@ -117,7 +117,7 @@ public function title( $text, $marker )
$tc->addExtension( 'PresFormatter' );
$tc->addExtension( 'PresRst' );
-$base = $_SERVER['DOCUMENT_ROOT'] . 'presentations/';
+$base = $_SERVER['DOCUMENT_ROOT'] . '/presentations/';
@list( $dummy, $prest, $slideNr ) = explode( '/', $_SERVER['PATH_INFO'] );
if ( $slideNr === null || $slideNr === '' )
{
@@ -157,7 +157,7 @@ function __construct( $pres )
foreach (
array(
'title', 'event', 'location', 'date', 'speaker',
- 'email', 'url', 'joindin', 'twitter'
+ 'email', 'url', 'joindin', 'twitter', 'lat', 'lon',
) as $prop )
{
$this->properties[$prop] = (string) $xml->$prop;