Index: trunk/extensions/skins/Tomas/Tomas.class.php |
— | — | @@ -0,0 +1,52 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +class SkinTomas extends Skin { |
| 5 | + var $out; |
| 6 | + |
| 7 | + function getMainCss() { |
| 8 | + return "{$this->path}/main.css"; |
| 9 | + } |
| 10 | + |
| 11 | + function getMainJs() { |
| 12 | + return "{$this->path}/main.js"; |
| 13 | + } |
| 14 | + |
| 15 | + function outputPage( OutputPage $out ) { |
| 16 | + global $wgContLang, $wgTomasSkinPath, $wgScriptPath; |
| 17 | + $lang = $wgContLang->getCode(); |
| 18 | + $this->path = $wgTomasSkinPath ? $wgTomasSkinPath : "{$wgScriptPath}/extensions/skins/Tomas"; |
| 19 | + $this->out = $out; |
| 20 | + $bodyText = $out->getHTML(); |
| 21 | + $bodyText = preg_replace( '!(<img[^>]*src=")schstock/!', "$1{$this->path}/images/", $bodyText ); |
| 22 | + $bodyText = preg_replace( '!(<[^>]*style="[^"]*url\()schstock/!', "$1{$this->path}/images/", $bodyText ); |
| 23 | + $bodyText = preg_replace( '!(<input[^>]*src=")schstock/!', "$1{$this->path}/images/", $bodyText ); |
| 24 | + $query = 'usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400'; |
| 25 | + $siteCss = Title::newFromText( 'MediaWiki:Tomas.css' )->getLocalUrl( $query ); |
| 26 | + $siteJs = Title::newFromText( 'MediaWiki:Tomas.js' )->getLocalUrl( $query ); |
| 27 | + |
| 28 | +?> |
| 29 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 30 | +<html> |
| 31 | + <head> |
| 32 | + <meta http-equiv="Content-Language" content="<?php echo htmlspecialchars( $lang ) ?>"> |
| 33 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 34 | + <title><?php echo htmlspecialchars( $out->getPageTitle() )?> </title> |
| 35 | + <link rel="stylesheet" href="<?php echo htmlspecialchars( $this->getMainCss() ); ?>" type="text/css"/> |
| 36 | + <script type="text/javascript" src="<?php echo htmlspecialchars( $this->getMainJs() ); ?>"></script> |
| 37 | + <link rel="stylesheet" href="<?php echo htmlspecialchars( $siteCss ); ?>" type="text/css"/> |
| 38 | + <script type="text/javascript" src="<?php echo htmlspecialchars( $siteJs ); ?>"></script> |
| 39 | + |
| 40 | + </head> |
| 41 | + |
| 42 | + <body> |
| 43 | + <div align="center"> |
| 44 | + |
| 45 | + <?php echo $bodyText ?> |
| 46 | + </div> |
| 47 | + </body> |
| 48 | +</html> |
| 49 | + |
| 50 | +<?php |
| 51 | + } |
| 52 | +} |
| 53 | + |
Index: trunk/extensions/skins/Tomas/main.js |
— | — | @@ -0,0 +1,61 @@ |
| 2 | +function xhr() { |
| 3 | + var httpRequest; |
| 4 | + if (window.XMLHttpRequest) { // Mozilla, Safari, ... |
| 5 | + httpRequest = new XMLHttpRequest(); |
| 6 | + } else if (window.ActiveXObject) { // IE |
| 7 | + httpRequest = new ActiveXObject("Microsoft.XMLHTTP"); |
| 8 | + } |
| 9 | + return httpRequest; |
| 10 | +} |
| 11 | + |
| 12 | +function story(s) { |
| 13 | + var httpRequest = xhr(); |
| 14 | + if ( !httpRequest ) { |
| 15 | + return; |
| 16 | + } |
| 17 | + var url = "story.php?s=" + s; |
| 18 | + var storyContent = document.getElementById( 'storycontent' ); |
| 19 | + storyContent.innerHTML = '<tr><td align="center"><img src="images/spinner.gif"/></td></tr>'; |
| 20 | + httpRequest.onreadystatechange = function() { |
| 21 | + if (httpRequest.readyState != 4) { |
| 22 | + return; |
| 23 | + } |
| 24 | + var storyBox = document.getElementById( 'storybox' ); |
| 25 | + if (httpRequest.status != 200) { |
| 26 | + storyBox.innerHTML = '<tr><td align="center">Error loading story</td></tr>'; |
| 27 | + } else { |
| 28 | + storyBox.innerHTML = httpRequest.responseText; |
| 29 | + } |
| 30 | + } |
| 31 | + httpRequest.open( 'GET', url, true ); |
| 32 | + httpRequest.send(null); |
| 33 | +} |
| 34 | + |
| 35 | +function tab(baseId, newIndex) { |
| 36 | + if ( !document.getElementById ) { |
| 37 | + return; |
| 38 | + } |
| 39 | + var header = document.getElementById( baseId ); |
| 40 | + header.style.display = 'inline'; |
| 41 | + |
| 42 | + for ( i = 0; i < 10; i++ ) { |
| 43 | + var anchor = document.getElementById(baseId + '-a-' + i); |
| 44 | + var pane = document.getElementById(baseId + '-pane-' + i); |
| 45 | + if ( !anchor || !pane ) { |
| 46 | + break; |
| 47 | + } |
| 48 | + if ( i == newIndex ) { |
| 49 | + anchor.className = 'active'; |
| 50 | + anchor.href = 'javascript:;'; |
| 51 | + pane.style.display = 'block'; |
| 52 | + } else { |
| 53 | + anchor.className = ''; |
| 54 | + anchor.href = 'javascript:tab("' + baseId + '", ' + i + ')'; |
| 55 | + pane.style.display = 'none'; |
| 56 | + } |
| 57 | + } |
| 58 | +} |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
Index: trunk/extensions/skins/Tomas/images/micro-button.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/micro-button.gif |
___________________________________________________________________ |
Added: svn:mime-type |
1 | 63 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/Wikipedia-logo-en.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/Wikipedia-logo-en.png |
___________________________________________________________________ |
Added: svn:mime-type |
2 | 64 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/square-button.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/square-button.png |
___________________________________________________________________ |
Added: svn:mime-type |
3 | 65 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/puzzle-piece.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/puzzle-piece.png |
___________________________________________________________________ |
Added: svn:mime-type |
4 | 66 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/button-red-bg2.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/button-red-bg2.gif |
___________________________________________________________________ |
Added: svn:mime-type |
5 | 67 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/banner-button.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/banner-button.png |
___________________________________________________________________ |
Added: svn:mime-type |
6 | 68 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p3.5.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p3.5.png |
___________________________________________________________________ |
Added: svn:mime-type |
7 | 69 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p6.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p6.png |
___________________________________________________________________ |
Added: svn:mime-type |
8 | 70 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p4.5.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p4.5.png |
___________________________________________________________________ |
Added: svn:mime-type |
9 | 71 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p7.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p7.png |
___________________________________________________________________ |
Added: svn:mime-type |
10 | 72 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p5.5.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p5.5.png |
___________________________________________________________________ |
Added: svn:mime-type |
11 | 73 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p6.5.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p6.5.png |
___________________________________________________________________ |
Added: svn:mime-type |
12 | 74 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p2.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p2.png |
___________________________________________________________________ |
Added: svn:mime-type |
13 | 75 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p3.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p3.png |
___________________________________________________________________ |
Added: svn:mime-type |
14 | 76 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p4.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p4.png |
___________________________________________________________________ |
Added: svn:mime-type |
15 | 77 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p2.5.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p2.5.png |
___________________________________________________________________ |
Added: svn:mime-type |
16 | 78 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress/p5.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress/p5.png |
___________________________________________________________________ |
Added: svn:mime-type |
17 | 79 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/logo-wikimedia.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/logo-wikimedia.gif |
___________________________________________________________________ |
Added: svn:mime-type |
18 | 80 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/micro-button.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/micro-button.png |
___________________________________________________________________ |
Added: svn:mime-type |
19 | 81 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/annual-report.jpg |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/annual-report.jpg |
___________________________________________________________________ |
Added: svn:mime-type |
20 | 82 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/button-red.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/button-red.png |
___________________________________________________________________ |
Added: svn:mime-type |
21 | 83 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/curves/rightside.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/curves/rightside.gif |
___________________________________________________________________ |
Added: svn:mime-type |
22 | 84 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/curves/top.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/curves/top.gif |
___________________________________________________________________ |
Added: svn:mime-type |
23 | 85 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/curves/bottom.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/curves/bottom.gif |
___________________________________________________________________ |
Added: svn:mime-type |
24 | 86 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/curves/top-right.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/curves/top-right.gif |
___________________________________________________________________ |
Added: svn:mime-type |
25 | 87 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/curves/bottom-right.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/curves/bottom-right.gif |
___________________________________________________________________ |
Added: svn:mime-type |
26 | 88 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/curves/leftside.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/curves/leftside.gif |
___________________________________________________________________ |
Added: svn:mime-type |
27 | 89 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/german-chapter.jpg |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/german-chapter.jpg |
___________________________________________________________________ |
Added: svn:mime-type |
28 | 90 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/square-button.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/square-button.gif |
___________________________________________________________________ |
Added: svn:mime-type |
29 | 91 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/button-red-bg.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/button-red-bg.gif |
___________________________________________________________________ |
Added: svn:mime-type |
30 | 92 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/chapters.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/chapters.gif |
___________________________________________________________________ |
Added: svn:mime-type |
31 | 93 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/header-bg.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/header-bg.gif |
___________________________________________________________________ |
Added: svn:mime-type |
32 | 94 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/banner-button.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/banner-button.gif |
___________________________________________________________________ |
Added: svn:mime-type |
33 | 95 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/progress-meter.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/progress-meter.gif |
___________________________________________________________________ |
Added: svn:mime-type |
34 | 96 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/images/header-bg-w-logo.gif |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/extensions/skins/Tomas/images/header-bg-w-logo.gif |
___________________________________________________________________ |
Added: svn:mime-type |
35 | 97 | + application/octet-stream |
Index: trunk/extensions/skins/Tomas/Tomas.php |
— | — | @@ -0,0 +1,7 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +$wgValidSkinNames['Tomas'] = 'Tomas'; |
| 5 | +$wgSkipSkins[] = 'Tomas'; |
| 6 | +$wgTomasSkinPath = false; |
| 7 | +$wgAutoloadClasses['SkinTomas'] = "$IP/extensions/skins/Tomas/Tomas.class.php"; |
| 8 | + |
Index: trunk/extensions/skins/Tomas/main.css |
— | — | @@ -0,0 +1,447 @@ |
| 2 | +/* |
| 3 | +Styles for Notices |
| 4 | +*/ |
| 5 | + |
| 6 | +#notice-wrapper |
| 7 | +{ |
| 8 | + border: 1px solid #bbb; |
| 9 | + text-align: center; |
| 10 | + background-color: #fcfcfc; |
| 11 | + background-repeat: no-repeat; |
| 12 | + height: 115px; |
| 13 | + font-size: 1.4em; |
| 14 | + padding: 5px 5px; |
| 15 | +} |
| 16 | + |
| 17 | +#notice-collapsed-wrapper |
| 18 | +{ |
| 19 | + border: 1px solid #bbb; |
| 20 | + text-align: left; |
| 21 | + background-color: #fcfcfc; |
| 22 | + //height: 115px; |
| 23 | + font-size: 1.4em; |
| 24 | + padding: 5px 5px; |
| 25 | +} |
| 26 | + |
| 27 | +#notice-wrapper a:hover { text-decoration: none; } |
| 28 | +#notice-collapsed-wrapper a:hover { text-decoration: none; } |
| 29 | + |
| 30 | +#toggle-box |
| 31 | +{ |
| 32 | + float: right; |
| 33 | + font-size: 0.6em; |
| 34 | +} |
| 35 | + |
| 36 | +#notice-text |
| 37 | +{ |
| 38 | + padding: 0 120px; |
| 39 | + margin-left: auto; |
| 40 | + margin-right: auto; |
| 41 | + margin-bottom: 5px; |
| 42 | +} |
| 43 | + |
| 44 | +#progress-meter |
| 45 | +{ |
| 46 | + background-image: url(images/progress/p2.5.png); |
| 47 | + background-repeat: no-repeat; |
| 48 | + background-position: top center; |
| 49 | + font-size: 0.8em; |
| 50 | + text-align: left; |
| 51 | + width: 606px; |
| 52 | + height: 28px; |
| 53 | + padding-top: 10px; |
| 54 | + margin-left: auto; |
| 55 | + margin-right: auto; |
| 56 | + padding-left: 120px; |
| 57 | + margin-bottom: 8px; |
| 58 | + //border: 1px solid green; |
| 59 | +} |
| 60 | + |
| 61 | +#amount-raised |
| 62 | +{ |
| 63 | + color: #fff; |
| 64 | + padding-left: 125px; |
| 65 | + font-size: 0.8em; |
| 66 | + float: left; |
| 67 | +} |
| 68 | + |
| 69 | +#goal |
| 70 | +{ |
| 71 | + color: #333; |
| 72 | + padding-left: 450px; |
| 73 | + font-size: 0.8em; |
| 74 | +} |
| 75 | + |
| 76 | +/* |
| 77 | +Styles for Donation Module |
| 78 | +*/ |
| 79 | + |
| 80 | +#liquid-round input |
| 81 | +{ |
| 82 | + margin: 5px 0; |
| 83 | +} |
| 84 | +body |
| 85 | +{ |
| 86 | + margin: 0; |
| 87 | + padding: 0; |
| 88 | + font-family: Arial,Helvetica,Tahoma,sans-serif; |
| 89 | + color: #333; |
| 90 | + background-color: #ddd; |
| 91 | + font-size: 1em; |
| 92 | + font-weight: 200; |
| 93 | + text-align: left; |
| 94 | +} |
| 95 | + |
| 96 | +#container |
| 97 | +{ |
| 98 | + //margin: 1em 5%; |
| 99 | + background-color: #FFF; |
| 100 | + width: 1000px; |
| 101 | + margin-left: auto; |
| 102 | + margin-right: auto; |
| 103 | + //border: 1px solid #333; |
| 104 | +} |
| 105 | + |
| 106 | +#menu |
| 107 | +{ |
| 108 | + background-color: #000; |
| 109 | + color: #fff; |
| 110 | + font-size: 0.8em; |
| 111 | + padding: 5px 0; |
| 112 | + text-align: center; |
| 113 | + margin-top: 40px; |
| 114 | +} |
| 115 | + |
| 116 | +#menu { color: #fff; } |
| 117 | +#menu a { color: #09C; } |
| 118 | + |
| 119 | +#menu a:hover |
| 120 | +{ |
| 121 | + color: #09C; |
| 122 | + text-decoration: underline; |
| 123 | +} |
| 124 | + |
| 125 | +#banner |
| 126 | +{ |
| 127 | + //border: 1px solid black; |
| 128 | + height: 184px; |
| 129 | + margin: 0px; |
| 130 | + padding-top: 15px; |
| 131 | + background-image: url(images/header-bg.gif); |
| 132 | + background-repeat: no-repeat; |
| 133 | + background-position: top center; |
| 134 | + text-align: left; |
| 135 | +} |
| 136 | + |
| 137 | +#logo-box |
| 138 | +{ |
| 139 | + margin-left: 80px; |
| 140 | + //margin-top: 15px; |
| 141 | + margin-right: 15px; |
| 142 | + float: left; |
| 143 | + //border: 1px solid black; |
| 144 | +} |
| 145 | + |
| 146 | +#header-quote |
| 147 | +{ |
| 148 | + //border: 1px solid red; |
| 149 | + //height: 150px; |
| 150 | + width: 450px; |
| 151 | + margin-left: 350px; |
| 152 | + margin-top: 20px; |
| 153 | + padding: 0px; |
| 154 | +} |
| 155 | + |
| 156 | +#banner h1 |
| 157 | +{ |
| 158 | + margin: 0; |
| 159 | + padding: .5em; |
| 160 | +} |
| 161 | + |
| 162 | +#banner p |
| 163 | +{ |
| 164 | + color: white; |
| 165 | + font-family: Gill sans,Arial,Helvetica,Tahoma,sans-serif; |
| 166 | + font-size: 1.3em; |
| 167 | +} |
| 168 | + |
| 169 | +#small-quote |
| 170 | +{ |
| 171 | + color: white; |
| 172 | + font-family: Gill sans,Arial,Helvetica,Tahoma,sans-serif; |
| 173 | + font-size: .8em; |
| 174 | +} |
| 175 | + |
| 176 | +#leaded { line-height: 1.6em; } |
| 177 | + |
| 178 | +#small |
| 179 | +{ |
| 180 | + //color: white; |
| 181 | + //font-family: Gill sans,Arial,Helvetica,Tahoma,sans-serif; |
| 182 | + font-size: .8em; |
| 183 | +} |
| 184 | + |
| 185 | +#content-container |
| 186 | +{ |
| 187 | + //border: 1px solid green; |
| 188 | + margin: 40px 80px; |
| 189 | + font-size: 0.9em; |
| 190 | + text-align: left; |
| 191 | +} |
| 192 | + |
| 193 | +#left |
| 194 | +{ |
| 195 | + float: left; |
| 196 | + width: 400px; |
| 197 | + //border: 1px solid black; |
| 198 | +} |
| 199 | + |
| 200 | +#left p { margin-top: 0; } |
| 201 | +#left wide { width: 550px; } |
| 202 | + |
| 203 | +#right |
| 204 | +{ |
| 205 | + //border: 1px solid red; |
| 206 | + width: 400px; |
| 207 | + margin-left: 440px; |
| 208 | +} |
| 209 | + |
| 210 | +#right narrow { width: 250px; } |
| 211 | +#right h2 { margin-top: 0; } |
| 212 | + |
| 213 | +#footer |
| 214 | +{ |
| 215 | + clear: both; |
| 216 | + background-color: #f3f3f3; |
| 217 | + //padding: 20px 80px; |
| 218 | + text-align: left; |
| 219 | + font-size: 0.7em; |
| 220 | + padding-top: 20px; |
| 221 | + margin-top: 50px; |
| 222 | + margin-bottom: 50px; |
| 223 | + //border: #ccc solid 1px; |
| 224 | +} |
| 225 | + |
| 226 | +#languages |
| 227 | +{ |
| 228 | + width: 840px; |
| 229 | + border-top: #ccc solid 1px; |
| 230 | + clear: both; |
| 231 | + text-align: center; |
| 232 | + margin-left: auto; |
| 233 | + margin-right: auto; |
| 234 | + margin-top: 70px; |
| 235 | + margin-bottom: 50px; |
| 236 | + padding: 10px 0px 30px; |
| 237 | +} |
| 238 | + |
| 239 | +#photo-caption-box |
| 240 | +{ |
| 241 | + color: #fff; |
| 242 | + background-color: #000; |
| 243 | + padding: 10px; |
| 244 | + font-size: 0.8em; |
| 245 | +} |
| 246 | + |
| 247 | +#photo-caption-box a { color: #fff; } |
| 248 | + |
| 249 | +#gray-border |
| 250 | +{ |
| 251 | + border: 5px solid #dddddd; |
| 252 | + padding: 15px; |
| 253 | + margin-bottom: 30px; |
| 254 | +} |
| 255 | + |
| 256 | +#page-title |
| 257 | +{ |
| 258 | + font-size: 1.3em; |
| 259 | + font-weight: normal; |
| 260 | +} |
| 261 | + |
| 262 | +#hr-title |
| 263 | +{ |
| 264 | + border-bottom: 1px solid #dedede; |
| 265 | + font-weight: bold; |
| 266 | + margin-bottom: 10px; |
| 267 | + //clear: both; |
| 268 | +} |
| 269 | + |
| 270 | +h1 |
| 271 | +{ |
| 272 | + font-size: 1.7em; |
| 273 | + font-weight: normal; |
| 274 | + //margin-bottom: 0; |
| 275 | +} |
| 276 | + |
| 277 | +#red-title |
| 278 | +{ |
| 279 | + color: #CC0000; |
| 280 | + font-size: 1.3em; |
| 281 | + font-weight: normal; |
| 282 | + float: left; |
| 283 | + margin-right: 10px; |
| 284 | +} |
| 285 | + |
| 286 | +#blue-title |
| 287 | +{ |
| 288 | + color: #069; |
| 289 | + font-size: 1.1em; |
| 290 | + font-weight: normal; |
| 291 | + //float: left; |
| 292 | + //margin-right: 10px; |
| 293 | + margin-top: 15px; |
| 294 | +} |
| 295 | + |
| 296 | +#red-button |
| 297 | +{ |
| 298 | + background-image: url(images/button-red.png); |
| 299 | + //background-repeat: no-repeat; |
| 300 | + //background-position: top center; |
| 301 | + width: 158px; |
| 302 | + height: 27px; |
| 303 | + color: #fff; |
| 304 | + font-size: 0.8em; |
| 305 | + font-weight: bold; |
| 306 | + text-align: center; |
| 307 | + display: table-cell; |
| 308 | + vertical-align: middle; |
| 309 | + font-family: Verdana, Arial, Helvetica,Tahoma,sans-serif; |
| 310 | + //outline: none; |
| 311 | + //background: #fff; |
| 312 | +} |
| 313 | + |
| 314 | +#red-button a:hover { text-decoration: none; } |
| 315 | + |
| 316 | +.submit-button{ |
| 317 | +cursor:pointer; |
| 318 | +border:outset 1px #dedede; |
| 319 | +background:#aaa; |
| 320 | +color:#fff; |
| 321 | +font-weight:bold; |
| 322 | +font-family: Verdana, Arial, Helvetica,Tahoma,sans-serif; |
| 323 | +padding: 5px 10px; |
| 324 | + |
| 325 | +} |
| 326 | + |
| 327 | + |
| 328 | +i |
| 329 | +{ |
| 330 | + font-style: italic; |
| 331 | + font-weight: normal; |
| 332 | +} |
| 333 | + |
| 334 | +a |
| 335 | +{ |
| 336 | + color: #006699; |
| 337 | + text-decoration: none; |
| 338 | +} |
| 339 | + |
| 340 | +a:hover { text-decoration: underline; } |
| 341 | + |
| 342 | + |
| 343 | +/*Styles for Quote*/ |
| 344 | +.firstbigletter |
| 345 | +{ |
| 346 | + //font-family: Georgia,; |
| 347 | + //color: chocolate; |
| 348 | + font-size: 36px; |
| 349 | + font-weight: lighter; |
| 350 | + line-height: 80%; |
| 351 | + //letter-spacing: -2px; |
| 352 | +} |
| 353 | + |
| 354 | +blockquote |
| 355 | +{ |
| 356 | + font-weight: lighter; |
| 357 | + display: block; |
| 358 | + margin: 0px; |
| 359 | + padding: 0 0px; |
| 360 | + width: 470px; |
| 361 | + quotes: “ |
| 362 | + &rdquo �~q� �s : ; |
| 363 | + //quotes: "\201C" "\201D"; |
| 364 | +} |
| 365 | + |
| 366 | +blockquote:before, blockquote:after |
| 367 | +{ |
| 368 | + font-family: Georgia, serif; |
| 369 | + color: #fff; |
| 370 | + display: block; |
| 371 | + font-size: 400%; |
| 372 | + //width: 50px; |
| 373 | +} |
| 374 | + |
| 375 | +blockquote:before |
| 376 | +{ |
| 377 | + content: open-quote; |
| 378 | + height: 0; |
| 379 | + margin-left: -0.55em; |
| 380 | + margin-top: 0px; |
| 381 | + line-height: 0.7; |
| 382 | +} |
| 383 | + |
| 384 | +blockquote:after |
| 385 | +{ |
| 386 | + content: close-quote; |
| 387 | + height: 50px; |
| 388 | + margin-top: -70px; |
| 389 | + margin-left: 450px; |
| 390 | + line-height: 1; |
| 391 | +} |
| 392 | + |
| 393 | +img { border: none; } |
| 394 | + |
| 395 | +/*css for curved corners */ |
| 396 | +#liquid-round |
| 397 | +{ |
| 398 | + //border: 1px solid red; |
| 399 | + width: 400px; |
| 400 | + //width: 30%; |
| 401 | + margin: 0px auto; |
| 402 | + background: #fff url(images/curves/leftside.gif) repeat-y left top; |
| 403 | +} |
| 404 | + |
| 405 | +.top |
| 406 | +{ |
| 407 | + width: 100%; |
| 408 | + height: 26px; |
| 409 | + background: url(images/curves/top.gif) no-repeat left top; |
| 410 | +} |
| 411 | + |
| 412 | +.top span |
| 413 | +{ |
| 414 | + display: block; |
| 415 | + position: relative; |
| 416 | + height: 26px; |
| 417 | + background: url(images/curves/top-right.gif) no-repeat right top; |
| 418 | +} |
| 419 | + |
| 420 | +.center-content |
| 421 | +{ |
| 422 | + position: relative; |
| 423 | + background: url(images/curves/rightside.gif) repeat-y right top; |
| 424 | + padding: 1px 36px 1px 36px; |
| 425 | + margin: -1px 0 -50px 0; |
| 426 | + //margin: -1px 0 -50px 0; |
| 427 | + //border: 1px solid black; |
| 428 | +} |
| 429 | + |
| 430 | +.bottom |
| 431 | +{ |
| 432 | + width: 100%; |
| 433 | + height: 60px; |
| 434 | + background: url(images/curves/bottom.gif) no-repeat left bottom; |
| 435 | +} |
| 436 | + |
| 437 | +.bottom span |
| 438 | +{ |
| 439 | + display: block; |
| 440 | + position: relative; |
| 441 | + height: 60px; |
| 442 | + background: url(images/curves/bottom-right.gif) no-repeat right top; |
| 443 | +} |
| 444 | + |
| 445 | +p { margin: 0 0 1em 0; } |
| 446 | + |
| 447 | +/*End css curved corners*/ |
| 448 | + |