diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:25:17 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:25:17 +0100 |
commit | 7aee3fb920a1477332d78c8f3fb546da428be6e8 (patch) | |
tree | cdfacfc1ef181881d2ac1c7f4c8d4bce2ec917eb /media | |
parent | 8c818906b5c1228a6fb411cb96d1bd5f1663b49a (diff) | |
download | troggle-7aee3fb920a1477332d78c8f3fb546da428be6e8.tar.gz troggle-7aee3fb920a1477332d78c8f3fb546da428be6e8.tar.bz2 troggle-7aee3fb920a1477332d78c8f3fb546da428be6e8.zip |
[svn] QM parser now parses Hauchhoehle QMs.py
Photo model added.
Logbook parser now puts mugshots in as photo models, and descriptions from the old folk html pages in as "blurbs" on the person model.
Experimented with eye candy and a random logbook quote generator.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8094 by aaron @ 12/31/2008 2:59 AM
Diffstat (limited to 'media')
-rw-r--r-- | media/SilkRoadsilouetteAndrew.png | bin | 0 -> 70596 bytes | |||
-rw-r--r-- | media/css/main2.css | 33 | ||||
-rw-r--r-- | media/js/base.js | 46 | ||||
-rw-r--r-- | media/loserBanner.jpg | bin | 0 -> 220305 bytes | |||
-rw-r--r-- | media/open-quote.gif | bin | 0 -> 187 bytes |
5 files changed, 75 insertions, 4 deletions
diff --git a/media/SilkRoadsilouetteAndrew.png b/media/SilkRoadsilouetteAndrew.png Binary files differnew file mode 100644 index 0000000..2ab357a --- /dev/null +++ b/media/SilkRoadsilouetteAndrew.png diff --git a/media/css/main2.css b/media/css/main2.css index 523b1f7..b0810c6 100644 --- a/media/css/main2.css +++ b/media/css/main2.css @@ -2,11 +2,18 @@ .centre { text-align: center; }
.plus2pt { font-size: 160%; }
-body, td, center, ul, p, input { color: #000; font-family: sans-serif; }
+body, td, center, ul, p, input {
+ color: rgb(204, 204, 102);
+ font-family: sans-serif;
+}
+body {
+ background-color: #000;
+}
+
a:link, a:visited { text-decoration: none; }
div.centre img { vertical-align: middle; }
-h1 { text-align: center; font-size: 210%; line-height: 100%; }
+h1 { text-align: center; font-size: 210%; opacity:0.7; filter:alpha(opacity=70);}
h2 { color: #009900; }
h3 { color: #2c105e; }
h4 { color: #0d664c; }
@@ -19,6 +26,23 @@ img.onleft, div.onleft { vertical-align: top; float: left; margin-left: 8pt; }
img.icon { vertical-align: middle; }
img.aligntop { vertical-align: top; }
+blockquote {
+ font: Georgia, "Times New Roman", Times, serif;
+ font-weight:bold;
+ font-variant:small-caps;
+ width: 400px;
+ background: url(../close-quote.gif) no-repeat right bottom;
+ padding-left: 25px;
+ text-indent: -25px;
+ text-align: right;
+ vertical-align:bottom;
+ color:#CCCC66;
+}
+blockquote:first-letter {
+ background: url(../open-quote.gif) no-repeat left top;
+ padding-left: 40px;
+ font: italic 1.4em Georgia, "Times New Roman", Times, serif;
+}
table.imgtable { margin-left: auto; margin-right: auto; }
table.imgtable td { vertical-align: middle; text-align: center;
padding: 10px; }
@@ -38,6 +62,7 @@ table.trad td, table.trad th { margin: 0pt; border: 1px solid #aaa; html, body, div.contents {
min-height: 100%;
height: 100%;
+width:100%;
}
html>body, html>body div.contents {
height: auto;
@@ -47,12 +72,12 @@ body { div.contents {
position: absolute;
top: 0;
-left: 0;
+right: 0;
}
div.footer {
position: fixed;
bottom: 2px;
-right: 2px;
+left: 2px;
}
div.main {
margin-bottom: 3em;
diff --git a/media/js/base.js b/media/js/base.js new file mode 100644 index 0000000..17a664e --- /dev/null +++ b/media/js/base.js @@ -0,0 +1,46 @@ +
+ function showDiv(collapsed,expanded){
+ document.getElementById(collapsed).style.display = 'none';
+ document.getElementById(expanded).style.display = 'block';
+ }
+
+ function hideDiv(collapsed,expanded){
+ document.getElementById(collapsed).style.display = 'block';
+ document.getElementById(expanded).style.display = 'none';
+ }
+
+ function makeDivTransparent(div){
+ document.getElementById(div).style.backgroundColor = 'transparent';
+ }
+
+
+
+hex=0 // Initial color value.
+leftPos=25
+year=1976
+currentDate= new Date()
+currentYear = currentDate.getFullYear()
+function fadeText(){
+if(hex<153) { //If color is not black yet
+ hex=hex+10; // increase color darkness
+ leftPos-=1;
+ document.getElementById("expoHeader").style.color="rgb("+0+","+hex+","+0+")";
+// document.getElementById("expoFinalDate").style.color="rgb("+0+","+hex+","+0+")";
+ document.getElementById("expoHeader").style.left=leftPos;
+ setTimeout("fadeText()",50)
+ setTimeout("countUpYear()",1000)
+}
+else {
+ hex=0;
+ leftPos=25;
+}
+}
+
+function countUpYear(){
+ if (year<currentYear) {
+// alert (year+''+currentYear)
+ year=year+1
+ document.getElementById("expoFinalDate").innerHTML="<h1>"+year+"</h1>"
+ setTimeout("countUpYear()",1000)
+ }
+}
\ No newline at end of file diff --git a/media/loserBanner.jpg b/media/loserBanner.jpg Binary files differnew file mode 100644 index 0000000..abcdac3 --- /dev/null +++ b/media/loserBanner.jpg diff --git a/media/open-quote.gif b/media/open-quote.gif Binary files differnew file mode 100644 index 0000000..26330dc --- /dev/null +++ b/media/open-quote.gif |