checked in mising files in the blog demo.

pull/4/head
agentzh (章亦春) 2010-01-25 03:05:37 +08:00
parent 3079df6d8c
commit c5a7c04b77
35 changed files with 2771 additions and 0 deletions

62
.gitignore vendored 100644
View File

@ -0,0 +1,62 @@
.rsync
bin/openresty.fcgi
demo/Admin/.rsync
*~
*.json
*.o
*.hi
haskell/bin/openhesty
haskell/openhesty.txt
!*.t.json
cover_db
Makefile
bin/test-account.sh
blib
haskell/big.sql
demo/Springbot/staff/update.sh
demo/*/out
demo/Blog2/js
demo/Blog2/template
demo/Springbot/staff/import
demo/*/script/import-localhost
*.old
*.swp
bin/.openresty.shell.hist
demo/Springbot/staff/staff.*
pm_to_blib
demo/Springbot/staff/staff.html
demo/Blog2/script/init.pl
share/openresty_revision
etc/site_openresty.conf
share/font
haskell/bin/restyscript
t/*.dat
*.tar.gz
demo/Blog2/script/upload
demo/Blog/script/upload
demo/Springbot/staff/*.sql
demo/Click4honor/JSON.js
demo/Click4honor/jquery.js
demo/Click4honor/openresty.js
demo/RestyCheck/JSON.js
demo/RestyCheck/jquery.js
demo/RestyCheck/openresty.js
demo/RestyCheck/upload
demo/*/script/upload
metamodel
demo/Onccf/pack_out
log.txt
TODO1
demo/Onccf/out1
demo/Onccf/out2
demo/Onccf/out3
demo/Onccf/out4
demo/Onccf/out5
demo/Onccf/out6
demo/Onccf/out7
demo/Onccf/out8
diff.txt
etc/compiled.actions
etc/taobao_vip.conf
lib/OpenResty/Handler/YLogin.pm

103
clients/js/JSON.js 100644
View File

@ -0,0 +1,103 @@
var JSON = (function () {
var m = {
'\b': '\\b',
'\t': '\\t',
'\n': '\\n',
'\f': '\\f',
'\r': '\\r',
'"' : '\\"',
'\\': '\\\\'
},
s = {
'boolean': function (x) {
return String(x);
},
number: function (x) {
return isFinite(x) ? String(x) : 'null';
},
string: function (x) {
if (/["\\\x00-\x1f]/.test(x)) {
x = x.replace(/([\x00-\x1f\\"])/g, function(a, b) {
var c = m[b];
if (c) {
return c;
}
c = b.charCodeAt();
return '\\u00' +
Math.floor(c / 16).toString(16) +
(c % 16).toString(16);
});
}
return '"' + x + '"';
},
object: function (x) {
if (x) {
var a = [], b, f, i, l, v;
if (x instanceof Array) {
a[0] = '[';
l = x.length;
for (i = 0; i < l; i += 1) {
v = x[i];
f = s[typeof v];
if (f) {
v = f(v);
if (typeof v == 'string') {
if (b) {
a[a.length] = ',';
}
a[a.length] = v;
b = true;
}
}
}
a[a.length] = ']';
} else if (x instanceof Object) {
a[0] = '{';
for (i in x) {
v = x[i];
f = s[typeof v];
if (f) {
v = f(v);
if (typeof v == 'string') {
if (b) {
a[a.length] = ',';
}
a.push(s.string(i), ':', v);
b = true;
}
}
}
a[a.length] = '}';
} else {
return;
}
return a.join('');
}
return 'null';
}
};
return {
copyright: '(c)2005 JSON.org',
license: 'http://www.crockford.com/JSON/license.html',
stringify: function (v) {
var f = s[typeof v];
if (f) {
v = f(v);
if (typeof v == 'string') {
return v;
}
}
return null;
},
parse: function (text) {
try {
return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(
text.replace(/"(\\.|[^"\\])*"/g, ''))) &&
eval('(' + text + ')');
} catch (e) {
return false;
}
}
};
}());

256
clients/js/md5.js 100644
View File

@ -0,0 +1,256 @@
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for more info.
*/
/*
* Configurable variables. You may need to tweak these to be compatible with
* the server-side, but the defaults work in most cases.
*/
var hexcase = 0; /* hex output format. 0 - lowercase; 1 - uppercase */
var b64pad = ""; /* base-64 pad character. "=" for strict RFC compliance */
var chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */
/*
* These are the functions you'll usually want to call
* They take string arguments and return either hex or base-64 encoded strings
*/
function hex_md5(s){ return binl2hex(core_md5(str2binl(s), s.length * chrsz));}
function b64_md5(s){ return binl2b64(core_md5(str2binl(s), s.length * chrsz));}
function str_md5(s){ return binl2str(core_md5(str2binl(s), s.length * chrsz));}
function hex_hmac_md5(key, data) { return binl2hex(core_hmac_md5(key, data)); }
function b64_hmac_md5(key, data) { return binl2b64(core_hmac_md5(key, data)); }
function str_hmac_md5(key, data) { return binl2str(core_hmac_md5(key, data)); }
/*
* Perform a simple self-test to see if the VM is working
*/
function md5_vm_test()
{
return hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72";
}
/*
* Calculate the MD5 of an array of little-endian words, and a bit length
*/
function core_md5(x, len)
{
/* append padding */
x[len >> 5] |= 0x80 << ((len) % 32);
x[(((len + 64) >>> 9) << 4) + 14] = len;
var a = 1732584193;
var b = -271733879;
var c = -1732584194;
var d = 271733878;
for(var i = 0; i < x.length; i += 16)
{
var olda = a;
var oldb = b;
var oldc = c;
var oldd = d;
a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);
d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);
c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819);
b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);
a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);
d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426);
c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);
b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);
a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416);
d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);
c = md5_ff(c, d, a, b, x[i+10], 17, -42063);
b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);
a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682);
d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);
c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);
b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329);
a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);
d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);
c = md5_gg(c, d, a, b, x[i+11], 14, 643717713);
b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);
a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);
d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083);
c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);
b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);
a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438);
d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);
c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);
b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501);
a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);
d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);
c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473);
b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);
a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);
d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);
c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562);
b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);
a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);
d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353);
c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);
b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);
a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174);
d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);
c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);
b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189);
a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);
d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);
c = md5_hh(c, d, a, b, x[i+15], 16, 530742520);
b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);
a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);
d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415);
c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);
b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);
a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571);
d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);
c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);
b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);
a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359);
d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);
c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);
b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649);
a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);
d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);
c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259);
b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);
a = safe_add(a, olda);
b = safe_add(b, oldb);
c = safe_add(c, oldc);
d = safe_add(d, oldd);
}
return Array(a, b, c, d);
}
/*
* These functions implement the four basic operations the algorithm uses.
*/
function md5_cmn(q, a, b, x, s, t)
{
return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);
}
function md5_ff(a, b, c, d, x, s, t)
{
return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);
}
function md5_gg(a, b, c, d, x, s, t)
{
return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);
}
function md5_hh(a, b, c, d, x, s, t)
{
return md5_cmn(b ^ c ^ d, a, b, x, s, t);
}
function md5_ii(a, b, c, d, x, s, t)
{
return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);
}
/*
* Calculate the HMAC-MD5, of a key and some data
*/
function core_hmac_md5(key, data)
{
var bkey = str2binl(key);
if(bkey.length > 16) bkey = core_md5(bkey, key.length * chrsz);
var ipad = Array(16), opad = Array(16);
for(var i = 0; i < 16; i++)
{
ipad[i] = bkey[i] ^ 0x36363636;
opad[i] = bkey[i] ^ 0x5C5C5C5C;
}
var hash = core_md5(ipad.concat(str2binl(data)), 512 + data.length * chrsz);
return core_md5(opad.concat(hash), 512 + 128);
}
/*
* Add integers, wrapping at 2^32. This uses 16-bit operations internally
* to work around bugs in some JS interpreters.
*/
function safe_add(x, y)
{
var lsw = (x & 0xFFFF) + (y & 0xFFFF);
var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
return (msw << 16) | (lsw & 0xFFFF);
}
/*
* Bitwise rotate a 32-bit number to the left.
*/
function bit_rol(num, cnt)
{
return (num << cnt) | (num >>> (32 - cnt));
}
/*
* Convert a string to an array of little-endian words
* If chrsz is ASCII, characters >255 have their hi-byte silently ignored.
*/
function str2binl(str)
{
var bin = Array();
var mask = (1 << chrsz) - 1;
for(var i = 0; i < str.length * chrsz; i += chrsz)
bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (i%32);
return bin;
}
/*
* Convert an array of little-endian words to a string
*/
function binl2str(bin)
{
var str = "";
var mask = (1 << chrsz) - 1;
for(var i = 0; i < bin.length * 32; i += chrsz)
str += String.fromCharCode((bin[i>>5] >>> (i % 32)) & mask);
return str;
}
/*
* Convert an array of little-endian words to a hex string.
*/
function binl2hex(binarray)
{
var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef";
var str = "";
for(var i = 0; i < binarray.length * 4; i++)
{
str += hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) +
hex_tab.charAt((binarray[i>>2] >> ((i%4)*8 )) & 0xF);
}
return str;
}
/*
* Convert an array of little-endian words to a base-64 string
*/
function binl2b64(binarray)
{
var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var str = "";
for(var i = 0; i < binarray.length * 4; i += 3)
{
var triplet = (((binarray[i >> 2] >> 8 * ( i %4)) & 0xFF) << 16)
| (((binarray[i+1 >> 2] >> 8 * ((i+1)%4)) & 0xFF) << 8 )
| ((binarray[i+2 >> 2] >> 8 * ((i+2)%4)) & 0xFF);
for(var j = 0; j < 4; j++)
{
if(i * 8 + j * 6 > binarray.length * 32) str += b64pad;
else str += tab.charAt((triplet >> 6*(3-j)) & 0x3F);
}
}
return str;
}

View File

@ -0,0 +1,82 @@
.entry-header b {
color: #cc0022;
}
#beta-inner.pkg b {
color: #cc0022;
font-weight: normal;
}
input#searchbox {
margin-top: 5px;
margin-bottom: 5px;
color:#369;
background:#fff;
width: 180px;
}
div#wait-message {
color: red !important;
background: white !important;
font-size: 18px !important;
float: right;
position: fixed;
top: 2px;
right: 30px;
padding: 4px;
border-width: 2px;
border-style: outset;
border-color: white;
display: block;
}
td.today-cell {
background: #fff;
}
td.highlight {
font-weight: bold;
color:#A90A08;
}
input.required {
background: #ffa;
}
ins.item-body {
text-decoration: none;
}
a.nav-arrow {
font-size: 10pt;
font-weight: bold;
}
ins {
font-style: normal;
}
table.paging {
border: 0;
width: 1%;
}
table.paging td {
font-size: 90%;
white-space: nowrap;
}
.prev-page {
text-align: right;
font-size: 12pt;
color: #00c;
font-weight: bold;
}
.next-page {
text-align: left;
font-size: 12pt;
color: #00c;
font-weight: bold;
}

View File

@ -0,0 +1,49 @@
/* Base */
@import url(themes/common/base-weblog.css);
/* Tip Jar */
@import url(themes/common/tipjar.css);
/* Portal */
/* Theme */
@import url(themes/lilia/theme-bluecrush.css);
/* Custom */
body
{
font-family: 'Corbel', 'Cambria', 'trebuchet ms', helvetica, arial, sans-serif;
font-size: 15px;
color: black;
}
tt
{
font-family: 'Consolas', 'Courier New', 'FreeMono', monospace;
}
h1, h2, h3, h4, h5, h6
{
font-family: 'Cambria', 'Corbel', 'Candara', 'trebuchet ms', helvetica, arial, sans-serif;
font-weight: bold;
}
a { color: #009; text-decoration: underline; }
a:visited { color: #306 }
.entry h2 {
color: #930;
font-size: 18px;
border-bottom: 1px dotted #930;
margin-bottom: 15px;
font-weight: bold;
}
h3 {
color: #000;
font-size: 15px;
margin-bottom: 10px;
}

View File

@ -0,0 +1,492 @@
/* $Id: base-weblog.css 66356 2007-11-02 17:15:45Z kgoess $ */
/* basic elements */
html
{
margin: 0;
/* setting border: 0 hoses ie6 win window inner well border */
padding: 0;
}
body
{
margin: 0;
/* setting border: 0 hoses ie5 win window inner well border */
padding: 0;
font-family: verdana, 'trebuchet ms', sans-serif;
font-size: 12px;
}
form { margin: 0; padding: 0; }
a { text-decoration: underline; }
a img { border: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
h1, h2, h3, h4, h5, h6, p, ol, ul, pre, blockquote
{
margin-top: 10px;
margin-bottom: 10px;
}
/* standard helper classes */
.clr
{
clear: both;
overflow: hidden;
width: 1px;
height: 1px;
margin: 0 -1px -1px 0;
border: 0;
padding: 0;
font-size: 0;
line-height: 0;
}
/* .pkg class wraps enclosing block element around inner floated elements */
.pkg:after
{
content: " ";
display: block;
visibility: hidden;
clear: both;
height: 0.1px;
font-size: 0.1em;
line-height: 0;
}
.pkg { display: inline-block; }
/* no ie mac \*/
* html .pkg { height: 1%; }
.pkg { display: block; }
/* */
/* page layout */
body { text-align: center; } /* center on ie */
#container
{
position: relative;
margin: 0 auto; /* center on everything else */
width: 720px;
text-align: left;
}
#container-inner { position: static; width: auto; }
#banner { position: relative; }
#banner-inner { position: static; }
#pagebody { position: relative; width: 100%; }
#pagebody-inner { position: static; width: 100%; }
#alpha, #beta, #gamma, #delta
{
display: inline; /* ie win bugfix */
position: relative;
float: left;
min-height: 1px;
}
#delta { float: right; }
#alpha-inner, #beta-inner, #gamma-inner, #delta-inner
{
position: static;
}
/* banner user/photo */
.banner-user
{
float: left;
overflow: hidden;
width: 64px;
margin: 0 15px 0 0;
border: 0;
padding: 0;
text-align: center;
}
.banner-user-photo
{
display: block;
margin: 0 0 2px;
border: 0;
padding: 0;
background-position: center center;
background-repeat: no-repeat;
text-decoration: none !important;
}
.banner-user-photo img
{
width: 64px;
height: auto;
margin: 0;
border: 0;
padding: 0;
}
/* content */
.content-nav
{
margin: 10px;
text-align: center;
}
.date-header,
.entry-content
{
position: static;
clear: both;
}
.entry,
.trackbacks,
.comments,
.archive
{
position: static;
overflow: hidden;
clear: both;
width: 100%;
margin-bottom: 20px;
}
.entry-content,
.trackbacks-info,
.trackback-content,
.comments-info,
.comment-content,
.comments-open-content,
.comments-closed
{
clear: both;
margin: 5px 10px;
}
.trackbacks-info p,
.comments-info p
{
margin-top: 5px;
}
.trackbacks-link
{
font-size: 0.8em;
}
.entry-excerpt,
.entry-body,
.entry-more-link,
.entry-more
{
clear: both;
}
.entry-footer,
.trackback-footer,
.comment-footer,
.comments-open-footer,
.archive-content
{
clear: both;
margin: 5px 10px 20px;
}
.entry-footer p
{
margin-top: 0;
margin-bottom: 2px;
}
.comments-open label { display: block; }
#comment-author, #comment-email, #comment-url, #comment-text
{
width: 240px;
}
#comment-bake-cookie
{
margin-left: 0;
vertical-align: middle;
}
#comment-post
{
font-weight: bold;
}
img.image-full { width: 100%; }
.image-thumbnail
{
float: left;
width: 115px;
margin: 0 10px 10px 0;
}
.image-thumbnail img
{
width: 115px;
height: 115px;
margin: 0 0 2px;
}
/* modules */
.module
{
position: relative;
overflow: hidden;
width: 100%;
}
.module-content
{
position: relative;
margin: 5px 10px 20px;
}
.module-list,
.archive-list
{
margin: 0;
padding: 0;
list-style: none;
}
.module-list-item,
.archive-list-item
{
margin-top: 5px;
margin-bottom: 5px;
}
.module-more
{
text-align: right;
}
.module-elsewhere .module-list img,
.archive-elsewhere .archive-list img,
.module-presence img
{
vertical-align: middle;
}
.module-powered .module-content { margin-bottom: 10px; }
.module-photo .module-content { text-align: center; }
.module-wishlist .module-content { text-align: center; }
.module-calendar .module-content table
{
border-collapse: collapse;
width: 100%;
}
.module-calendar .module-content th,
.module-calendar .module-content td
{
width: 14%;
text-align: center;
}
.module-category-cloud .module-list
{
margin-right: 0;
margin-left: 0;
}
.module-category-cloud .module-list-item
{
display: inline;
margin: 0 5px 0 0;
padding: 0;
line-height: 1.2em;
background: none;
}
.module-category-cloud .cloud-weight-1 { font-size: 0.9em; }
.module-category-cloud .cloud-weight-2 { font-size: 0.95em; }
.module-category-cloud .cloud-weight-3 { font-size: 1em; }
.module-category-cloud .cloud-weight-4 { font-size: 1.125em; }
.module-category-cloud .cloud-weight-5 { font-size: 1.25em; }
.module-category-cloud .cloud-weight-6 { font-size: 1.375em; }
.module-category-cloud .cloud-weight-7 { font-size: 1.5em; }
.module-category-cloud .cloud-weight-8 { font-size: 1.625em; }
.module-category-cloud .cloud-weight-9 { font-size: 1.75em; }
.module-category-cloud .cloud-weight-10 { font-size: 1.75em; }
.typelist-plain .module-list,
.typelist-plain .archive-list
{
list-style: none;
}
.typelist-plain .module-list-item,
.typelist-plain .archive-list-item
{
padding: 0;
background: none;
}
.typelist-thumbnailed { margin: 0 0 20px; }
.typelist-thumbnailed .module-list-item
{
display: block;
clear: both;
margin: 0;
}
/* positioniseverything.net/easyclearing.html */
.typelist-thumbnailed .module-list-item:after
{
content: " ";
display: block;
visibility: hidden;
clear: both;
height: 0.1px;
font-size: 0.1em;
line-height: 0;
}
.typelist-thumbnailed .module-list-item { display: inline-block; }
/* no ie mac \*/
* html .typelist-thumbnailed .module-list-item { height: 1%; }
.typelist-thumbnailed .module-list-item { display: block; }
/* */
.typelist-thumbnail
{
float: left;
min-width: 60px;
width: 60px;
/* no ie mac \*/width: auto;/* */
margin: 0 5px 0 0;
text-align: center;
vertical-align: middle;
}
.typelist-thumbnail img { margin: 5px; }
.module-galleries .typelist-thumbnail img { width: 50px; }
.typelist-description
{
margin: 0;
padding: 5px;
}
.typelist-no-description
{
text-align: center;
margin: 10px 0;
}
.module-featured-photo .module-content,
.module-photo .module-content
{
margin: 0;
}
.module-featured-photo img { width: 100%; }
.module-recent-photos { margin: 0 0 15px; }
.module-recent-photos .module-content { margin: 0; }
.module-recent-photos .module-list
{
display: block;
height: 1%;
margin: 0;
border: 0;
padding: 0;
list-style: none;
}
/* positioniseverything.net/easyclearing.html */
.module-recent-photos .module-list:after
{
content: " ";
display: block;
visibility: hidden;
clear: both;
height: 0.1px;
font-size: 0.1em;
line-height: 0;
}
.module-recent-photos .module-list { display: inline-block; }
/* no ie mac \*/
* html .module-recent-photos .module-list { height: 1%; }
.module-recent-photos .module-list { display: block; }
/* */
.module-recent-photos .module-list-item
{
display: block;
float: left;
/* ie win fix \*/ height: 1%; /**/
margin: 0;
border: 0;
padding: 0;
}
.module-recent-photos .module-list-item a
{
display: block;
margin: 0;
border: 0;
padding: 0;
}
.module-recent-photos .module-list-item img
{
width: 60px;
height: 60px;
margin: 0;
padding: 0;
}
/* mmt calendar */
.module-mmt-calendar { margin-bottom: 15px; }
.module-mmt-calendar .module-content { margin: 0; }
.module-mmt-calendar .module-header { margin: 0; }
.module-mmt-calendar .module-header a { text-decoration: none; }
.module-mmt-calendar table { width: 100%; }
.module-mmt-calendar th { text-align: left; }
.module-mmt-calendar td
{
width: 14%;
height: 75px;
text-align: left;
vertical-align: top;
}
.day-photo
{
width: 54px;
height: 54px;
}
.day-photo a
{
display: block;
}
.day-photo a img
{
width: 50px;
height: 50px;
}

View File

@ -0,0 +1,205 @@
/* Reset (Eric Meyer, http://meyerweb.com/) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
/* Base Weblog Print Styles (Six Apart, Ltd., http://sixapart.com/) */
body
{
color: #000;
font-size: 10pt;
line-height: 1.5;
font-family: Georgia, serif;
}
a
{
color: #000;
text-decoration: underline;
}
#banner,
.entry,
.trackbacks,
.trackbacks-info,
.comments,
.comments-info,
.archive
{
margin-bottom: 1.5em;
}
#banner-header
{
font-size: 15pt;
font-weight: bold;
}
#banner-description { font-size: 12pt; }
#banner-header a,
.entry-header a
{
text-decoration: none;
}
.entry-header,
.trackbacks-header,
.comments-header,
.archive-header,
.content-header
{
margin-bottom: 0.5em;
font-weight: bold;
}
.entry-header, .archive-header, .content-header { font-size: 12pt; }
.trackbacks-header, .comments-header { font-size: 10pt; }
.trackbacks, .comments { font-size: 9pt; }
.entry-content p,
.entry-content blockquote,
.entry-content pre,
.entry-content dl,
.entry-content ol,
.entry-content ul,
.trackback-content p,
.comment-content p,
.comment-content blockquote,
.comment-content pre,
.comment-content dl,
.comment-content ol,
.comment-content ul,
.archive-content ul
{
margin-bottom: 0.5em;
}
.entry-content blockquote,
.comment-content blockquote
{
margin-left: 1em;
border-left: 1pt solid #000;
padding-left: 1em;
}
.entry-content pre,
.comment-content pre
{
margin-left: 1em;
border-left: 1pt solid #000;
padding-left: 1em;
font-family: Monaco, monospace;
}
.entry-content code,
.comment-content code
{
font-family: Monaco, monospace;
}
.entry-content ol,
.entry-content ul,
.comment-content ol,
.comment-content ul,
.archive-content ul
{
padding-left: 2em;
}
.entry-content ol,
.comment-content ol
{
list-style-type: decimal;
}
.entry-content ul,
.comment-content ul,
.archive-content ul
{
list-style-type: disc;
}
.entry-content table td,
.comment-content table td
{
padding: 0 1em 0.5em 0;
}
.layout-two-column-left #alpha,
.layout-two-column-right #beta,
.layout-three-column #alpha,
.layout-three-column #gamma,
.layout-three-column-right #beta,
.layout-three-column-right #gamma,
.layout-artistic #beta,
.layout-calendar #beta,
.layout-moblog1 #alpha,
.layout-moblog1 #gamma,
.layout-moblog2 #alpha,
.layout-moblog2 #gamma,
.layout-moblog2 #delta,
.layout-timeline #beta,
.content-nav,
#comment-form
{
display: none;
}
.entry, .entry-content, .entry-footer, .entry-excerpt,
.entry-body, .entry-more-link, .entry-more,
.trackbacks, .trackbacks-info, .trackback-content, .trackback-footer,
.comments, .comments-info, .comment-content, .comment-footer,
.comments-open-content, .comments-open-footer, .comments-closed,
.archive, .archive-content, .date-header
{
clear: both;
}

View File

@ -0,0 +1,205 @@
/* Reset (Eric Meyer, http://meyerweb.com/) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
/* Base Weblog Print Styles (Six Apart, Ltd., http://sixapart.com/) */
body
{
color: #000;
font-size: 10pt;
line-height: 1.5;
font-family: Georgia, serif;
}
a
{
color: #000;
text-decoration: underline;
}
#banner,
.entry,
.trackbacks,
.trackbacks-info,
.comments,
.comments-info,
.archive
{
margin-bottom: 1.5em;
}
#banner-header
{
font-size: 15pt;
font-weight: bold;
}
#banner-description { font-size: 12pt; }
#banner-header a,
.entry-header a
{
text-decoration: none;
}
.entry-header,
.trackbacks-header,
.comments-header,
.archive-header,
.content-header
{
margin-bottom: 0.5em;
font-weight: bold;
}
.entry-header, .archive-header, .content-header { font-size: 12pt; }
.trackbacks-header, .comments-header { font-size: 10pt; }
.trackbacks, .comments { font-size: 9pt; }
.entry-content p,
.entry-content blockquote,
.entry-content pre,
.entry-content dl,
.entry-content ol,
.entry-content ul,
.trackback-content p,
.comment-content p,
.comment-content blockquote,
.comment-content pre,
.comment-content dl,
.comment-content ol,
.comment-content ul,
.archive-content ul
{
margin-bottom: 0.5em;
}
.entry-content blockquote,
.comment-content blockquote
{
margin-left: 1em;
border-left: 1pt solid #000;
padding-left: 1em;
}
.entry-content pre,
.comment-content pre
{
margin-left: 1em;
border-left: 1pt solid #000;
padding-left: 1em;
font-family: Monaco, monospace;
}
.entry-content code,
.comment-content code
{
font-family: Monaco, monospace;
}
.entry-content ol,
.entry-content ul,
.comment-content ol,
.comment-content ul,
.archive-content ul
{
padding-left: 2em;
}
.entry-content ol,
.comment-content ol
{
list-style-type: decimal;
}
.entry-content ul,
.comment-content ul,
.archive-content ul
{
list-style-type: disc;
}
.entry-content table td,
.comment-content table td
{
padding: 0 1em 0.5em 0;
}
.layout-two-column-left #alpha,
.layout-two-column-right #beta,
.layout-three-column #alpha,
.layout-three-column #gamma,
.layout-three-column-right #beta,
.layout-three-column-right #gamma,
.layout-artistic #beta,
.layout-calendar #beta,
.layout-moblog1 #alpha,
.layout-moblog1 #gamma,
.layout-moblog2 #alpha,
.layout-moblog2 #gamma,
.layout-moblog2 #delta,
.layout-timeline #beta,
.content-nav,
#comment-form
{
display: none;
}
.entry, .entry-content, .entry-footer, .entry-excerpt,
.entry-body, .entry-more-link, .entry-more,
.trackbacks, .trackbacks-info, .trackback-content, .trackback-footer,
.comments, .comments-info, .comment-content, .comment-footer,
.comments-open-content, .comments-open-footer, .comments-closed,
.archive, .archive-content, .date-header
{
clear: both;
}

View File

@ -0,0 +1,152 @@
.module-tipjar,
.module-tipjar-r2 {
font-family: 'trebuchet ms', sans-serif;
}
.module-tipjar .button {
margin: 0;
}
.module-tipjar-r2 .tipjar-button-wrapper {
position: relative;
}
.module-tipjar-r2 .tipjar-button {
position: relative;
float: left;
text-align: left;
}
.module-tipjar .button h3,
.module-tipjar .button p,
.module-tipjar-r2 .tipjar-button h3,
.module-tipjar-r2 .tipjar-button p {
margin: 0;
padding: 0;
color: #000;
line-height: 1.2em;
}
.module-tipjar .button img,
.module-tipjar-r2 .tipjar-button img {
position: absolute;
top: 0;
left: 0;
border: 0;
}
.module-tipjar .module-content {
position: relative;
margin: 10px;
padding: 0;
}
.module-tipjar p {
margin-left: 10px;
}
.module-tipjar-r2 p {
margin: 2px 0 0 0;
}
.module-tipjar #button-1, .module-tipjar-r2 #button-1 { background: url(/.shared/images/tipjar-buttons/tipjar-green-large.gif) left top no-repeat; }
.module-tipjar #button-2, .module-tipjar-r2 #button-2 { background: url(/.shared/images/tipjar-buttons/tipjar-pink-large.gif) left top no-repeat; }
.module-tipjar #button-3, .module-tipjar-r2 #button-3 { background: url(/.shared/images/tipjar-buttons/tipjar-green-medium.gif) left top no-repeat; }
.module-tipjar #button-4, .module-tipjar-r2 #button-4 { background: url(/.shared/images/tipjar-buttons/tipjar-pink-medium.gif) left top no-repeat; }
.module-tipjar #button-5, .module-tipjar-r2 #button-5 { background: url(/.shared/images/tipjar-buttons/tipjar-green-small.gif) left top no-repeat; }
.module-tipjar #button-6, .module-tipjar-r2 #button-6 { background: url(/.shared/images/tipjar-buttons/tipjar-pink-small.gif) left top no-repeat; }
.module-tipjar .empty-1,
.module-tipjar .empty-2,
.module-tipjar-r2 #button-1,
.module-tipjar-r2 #button-2,
.module-tipjar-r2 .empty-1,
.module-tipjar-r2 .empty-2 {
width: 120px;
height: 52px;
}
.module-tipjar #button-1 h3,
.module-tipjar #button-2 h3,
.module-tipjar-r2 #button-1 h3,
.module-tipjar-r2 #button-2 h3 {
font-size: 15px;
font-weight: bold;
padding: 4px 0 0 28px;
}
.module-tipjar #button-1 p,
.module-tipjar #button-2 p,
.module-tipjar-r2 #button-1 p,
.module-tipjar-r2 #button-2 p {
font-size: 11px;
}
.module-tipjar #button-1 p,
.module-tipjar #button-2 p {
padding: 0 0 24px 28px;
}
.module-tipjar-r2 #button-1 p,
.module-tipjar-r2 #button-2 p {
padding: 0 0 0 28px;
}
.module-tipjar .empty-3,
.module-tipjar .empty-4,
.module-tipjar-r2 #button-3,
.module-tipjar-r2 #button-4,
.module-tipjar-r2 .empty-3,
.module-tipjar-r2 .empty-4 {
width: 88px;
height: 31px;
}