Stylesheet tweaks.

This commit is contained in:
Derick Rethans
2013-06-26 14:28:30 -04:00
parent 344cb09f1e
commit 4e48ed9f66
4 changed files with 113 additions and 8 deletions

View File

@@ -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;
}

View File

@@ -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%;

View File

@@ -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;

View File

@@ -117,7 +117,7 @@ $tc = ezcTemplateConfiguration::getInstance();
$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 @@ class Presentation
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;