mirror of
https://github.com/php/web-pres2.git
synced 2026-03-23 23:12:07 +01:00
Added a few new styles
This commit is contained in:
14
core.css
14
core.css
@@ -333,7 +333,7 @@ p.attribution
|
||||
text-align: center;
|
||||
font-size: 50%;
|
||||
margin-top: -16px;
|
||||
color: black;
|
||||
color: white;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
@@ -694,3 +694,15 @@ th, td, tr
|
||||
border: solid 1px gray;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
div.error
|
||||
{
|
||||
border: 1px solid white;
|
||||
background-color: #f57900;
|
||||
color: black;
|
||||
}
|
||||
|
||||
div.error p
|
||||
{
|
||||
font-family: monospace !important;
|
||||
}
|
||||
|
||||
46
derick.css
46
derick.css
@@ -7,7 +7,7 @@ body, h1, h2
|
||||
|
||||
div.whole-slide
|
||||
{
|
||||
width: 1024px;
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@@ -41,6 +41,12 @@ div.section-slide div p
|
||||
text-shadow: -2px -2px 3px #000, -1px -1px 1px #fff
|
||||
}
|
||||
|
||||
ul.noicon
|
||||
{
|
||||
list-style-type: none;
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
ul ul li
|
||||
{
|
||||
font-size: 80%;
|
||||
@@ -139,9 +145,14 @@ div.footer-thanks
|
||||
width: 1024px;
|
||||
}
|
||||
|
||||
div.big
|
||||
{
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
pre
|
||||
{
|
||||
font-size: 105%;
|
||||
font-size: 175%;
|
||||
}
|
||||
|
||||
div.result pre {
|
||||
@@ -189,7 +200,13 @@ table.two
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table.two tr
|
||||
table.big
|
||||
{
|
||||
font-size: 22pt;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table.two tr, table.big tr
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
@@ -218,7 +235,30 @@ div.small
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
div.medium pre
|
||||
{
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
div.small pre
|
||||
{
|
||||
font-size: 133%;
|
||||
}
|
||||
|
||||
h1.style-center
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.twitter
|
||||
{
|
||||
position: absolute;
|
||||
right: 1em;
|
||||
bottom: 2px;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
tt
|
||||
{
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
@@ -218,6 +218,7 @@ class Presentation
|
||||
$tpl->send->node = $xml->documentElement;
|
||||
$tpl->send->pres = $this;
|
||||
$tpl->send->pres->forPdf = isset( $_GET['pdf'] );
|
||||
$tpl->send->pres->pdfIndex = isset( $_GET['pdf'] ) ? (int) $_GET['pdf'] : 0;
|
||||
$tpl->send->slideNr = $slideNr;
|
||||
$tpl->send->css = $this->css;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user