Tweaks to styles

This commit is contained in:
Derick Rethans
2016-03-05 13:39:20 -06:00
11 changed files with 287 additions and 5 deletions

5
composer.json Normal file
View File

@@ -0,0 +1,5 @@
{
"require": {
"zetacomponents/template": "^1.5"
}
}

148
composer.lock generated Normal file
View File

@@ -0,0 +1,148 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "9132e8f300f19ab3b298211760b6da0d",
"content-hash": "cd657dd6878812bc39e3a45486b0fa9b",
"packages": [
{
"name": "zetacomponents/base",
"version": "1.9",
"source": {
"type": "git",
"url": "https://github.com/zetacomponents/Base.git",
"reference": "f20df24e8de3e48b6b69b2503f917e457281e687"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zetacomponents/Base/zipball/f20df24e8de3e48b6b69b2503f917e457281e687",
"reference": "f20df24e8de3e48b6b69b2503f917e457281e687",
"shasum": ""
},
"require-dev": {
"zetacomponents/unit-test": "*"
},
"type": "library",
"autoload": {
"classmap": [
"src"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Sergey Alexeev"
},
{
"name": "Sebastian Bergmann"
},
{
"name": "Jan Borsodi"
},
{
"name": "Raymond Bosman"
},
{
"name": "Frederik Holljen"
},
{
"name": "Kore Nordmann"
},
{
"name": "Derick Rethans"
},
{
"name": "Vadym Savchuk"
},
{
"name": "Tobias Schlitt"
},
{
"name": "Alexandru Stanoi"
}
],
"description": "The Base package provides the basic infrastructure that all packages rely on. Therefore every component relies on this package.",
"homepage": "https://github.com/zetacomponents",
"time": "2014-09-19 03:28:34"
},
{
"name": "zetacomponents/template",
"version": "1.5",
"source": {
"type": "git",
"url": "https://github.com/zetacomponents/Template.git",
"reference": "f9b66347bf25d35d5764938fb8688f5d4dd15d80"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zetacomponents/Template/zipball/f9b66347bf25d35d5764938fb8688f5d4dd15d80",
"reference": "f9b66347bf25d35d5764938fb8688f5d4dd15d80",
"shasum": ""
},
"require": {
"zetacomponents/base": "~1.8"
},
"require-dev": {
"zetacomponents/unit-test": "*"
},
"type": "library",
"autoload": {
"classmap": [
"src"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Sergey Alexeev"
},
{
"name": "Sebastian Bergmann"
},
{
"name": "Jan Borsodi"
},
{
"name": "Raymond Bosman"
},
{
"name": "Frederik Holljen"
},
{
"name": "Kore Nordmann"
},
{
"name": "Derick Rethans"
},
{
"name": "Vadym Savchuk"
},
{
"name": "Tobias Schlitt"
},
{
"name": "Alexandru Stanoi"
}
],
"description": "A fully functional Templating system, supporting template compilation in different levels, user defined functions and operators, an optimizer, output escaping for different output handlers to prevent XSS and other security problems and a plug in system for extra functionality (such as a Translation system).",
"homepage": "https://github.com/zetacomponents",
"time": "2014-09-27 19:26:10"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": []
}

View File

@@ -313,8 +313,8 @@ p.attribution
{
text-align: center;
font-size: 50%;
margin-top: 0px;
color: black;
margin-top: -16px;
color: gray;
}
img.inline

18
jquery-1.6.2.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
<?php
require '../vendor/autoload.php';
require 'vendor/autoload.php';
class PresFormatter implements ezcTemplateCustomFunction
{
@@ -77,13 +77,25 @@ class PresFormatter implements ezcTemplateCustomFunction
$ret = preg_replace('/TAB\//',' ',$ret);
$ret = preg_replace('/([\\\])([*#_|^@%])/', '\2', $ret);
$ret = preg_replace('/:-:(.*?):-:/e','$pres->\\1',$ret);
$ret = preg_replace_callback(
'/:-:(.*?):-:/',
function($matches) use ($pres) {
return $pres->{$matches[1]}; // Careful!
},
$ret
);
return $ret;
}
static public function replace_properties( $pres, $value )
{
$value = preg_replace('/:-:(.*?):-:/e','$pres->\\1', $value);
$value = preg_replace_callback(
'/:-:(.*?):-:/',
function($matches) use ($pres) {
return $pres->{$matches[1]}; // Careful!
},
$value
);
return $value;
}

16
style-black.css Normal file
View File

@@ -0,0 +1,16 @@
body
{
background-color: black !important;
color: white !important;
}
h1 {
position: absolute;
background-color: rgba( 255, 255, 255, 0.8) !important;
width: 100%;
text-align: center;
}
img {
z-index: -4;
}

4
style-future.css Normal file
View File

@@ -0,0 +1,4 @@
h1
{
font-family: "SF Archery Black" !important;
}

32
style-imagebg.css Normal file
View File

@@ -0,0 +1,32 @@
body
{
background-color: black !important;
color: white !important;
}
h1 {
position: absolute;
background-color: rgba( 255, 255, 255, 0.8) !important;
width: 100%;
text-align: center;
}
img {
position: absolute;
z-index: -4;
margin: 0;
padding: 0;
width: 1024px;
height: 767px;
}
div.center-blurb {
color: black;
background-color: rgba( 255, 255, 255, 0.6 );
margin: 0 auto;
width: 50%;
}
div.center-blurb div {
text-align: left;
}

4
style-past.css Normal file
View File

@@ -0,0 +1,4 @@
h1
{
font-family: "eufm10" !important;
}

22
style-title.css Normal file
View File

@@ -0,0 +1,22 @@
body
{
background-color: black !important;
color: white !important;
}
h1 {
position: absolute;
top: 75%;
background-color: rgba( 255, 255, 255, 0.8) !important;
width: 100%;
text-align: center;
}
img {
position: absolute;
z-index: -4;
margin: 0;
padding: 0;
width: 1024px;
height: 767px;
}

21
style-white.css Normal file
View File

@@ -0,0 +1,21 @@
body
{
background-color: white !important;
}
h1 {
position: absolute;
color: white !important;
background-color: rgba( 0, 0, 0, 0.6) !important;
width: 100%;
text-align: center;
}
img {
position: absolute;
z-index: -4;
margin: 0;
padding: 0;
width: 1024px;
height: 767px;
}