Updated 2k11 to v1.1.3.

This commit is contained in:
Matthias Mees 2012-03-15 13:20:44 +01:00
parent 5e84e6a4d5
commit b1ac65eaa4
11 changed files with 190 additions and 64 deletions

View File

@ -3,10 +3,6 @@
<a id="serendipity_CommentForm"></a>
<form id="serendipity_comment" action="{$commentform_action}#feedback" method="post">
<div><input type="hidden" name="serendipity[entry_id]" value="{$commentform_id}"></div>
<div class="form_field">
<label id="reply-to-hint" for="serendipity_replyTo">{$CONST.IN_REPLY_TO}</label>
{$commentform_replyTo}
</div>
<div class="form_field">
<label for="serendipity_commentform_name">{$CONST.NAME}{if $required_fields.name}*{/if}</label>
<input id="serendipity_commentform_name" name="serendipity[name]" type="text" value="{$commentform_name}" placeholder="{$CONST.TWOK11_PLACE_NAME}"{if $required_fields.name} required{/if}>
@ -23,6 +19,10 @@
<label for="serendipity_commentform_comment">{$CONST.COMMENT}{if $required_fields.comment}*{/if}</label>
<textarea id="serendipity_commentform_comment" name="serendipity[comment]" rows="10" placeholder="{$CONST.TWOK11_PLACE_MESSAGE}"{if $required_fields.comment} required{/if}>{$commentform_data}</textarea>
</div>
<div class="form_field">
<label id="reply-to-hint" for="serendipity_replyTo">{$CONST.IN_REPLY_TO}</label>
{$commentform_replyTo}
</div>
{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
{if $is_commentform_showToolbar}
<div class="form_toolbar">

View File

@ -24,7 +24,7 @@
{if $template_option.userstyles == true}
<link rel="stylesheet" href="{serendipity_getFile file="user.css"}">
{/if}
<script id="modernizr" src="{serendipity_getFile file="js/modernizr-2.5.1.min.js"}"></script>
<script id="modernizr" src="{serendipity_getFile file="js/modernizr-2.5.3.min.js"}"></script>
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2">
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml">
{if $entry_id}
@ -50,7 +50,7 @@
<form id="searchform" action="{$serendipityHTTPPath}{$serendipityIndexFile}" method="get">
<div>
<input type="hidden" name="serendipity[action]" value="search">
<label for="serendipityQuickSearchTermField" class="visuallyhidden">{$CONST.QUICKSEARCH}</label>
<label for="serendipityQuickSearchTermField">{$CONST.QUICKSEARCH}</label>
<input id="serendipityQuickSearchTermField" name="serendipity[searchTerm]" type="search" placeholder="{$CONST.TWOK11_PLACE_SEARCH}" value="">
<input id="searchsend" name="serendipity[searchButton]" type="submit" value="{$CONST.GO}">
</div>
@ -89,7 +89,7 @@
<small lang="en">Powered by <a href="http://s9y.org">Serendipity</a> &amp; the <a href="http://github.com/yellowled/s9y-2k11">2k11</a> theme.</small>
</footer>
</div>
<script src="{serendipity_getFile file="js/2k11.js"}"></script>
<script src="{serendipity_getFile file="js/2k11.min.js"}"></script>
{/if}
{$raw_data}
{serendipity_hookPlugin hook="frontend_footer"}

View File

@ -1,4 +1,4 @@
Name: 2k11
Author: Matthias Mees, Veit Lehmann
Date: 2012-02-08
Date: 2012-03-15
Require Serendipity: 1.6

View File

@ -1,36 +0,0 @@
// https://github.com/davatron5000/FitVids.js
(function(a){a.fn.fitVids=function(b){var c={customSelector:null};var e=document.createElement("div"),d=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];e.className="fit-vids-style";e.innerHTML="&shy;<style> .fluid-width-video-wrapper { width: 100%; position: relative; padding: 0; } .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style>";d.parentNode.insertBefore(e,d);if(b){a.extend(c,b)}return this.each(function(){var f=["iframe[src^='http://player.vimeo.com']","iframe[src^='http://www.youtube.com']","iframe[src^='http://www.kickstarter.com']","object","embed"];if(c.customSelector){f.push(c.customSelector)}var g=a(this).find(f.join(","));g.each(function(){var k=a(this);if(this.tagName.toLowerCase()=="embed"&&k.parent("object").length||k.parent(".fluid-width-video-wrapper").length){return}var h=this.tagName.toLowerCase()=="object"?k.attr("height"):k.height(),i=h/k.width();if(!k.attr("id")){var j="fitvid"+Math.floor(Math.random()*999999);k.attr("id",j)}k.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",(i*100)+"%");k.removeAttr("height").removeAttr("width")})})}})(jQuery);
/*! http://mths.be/placeholder v1.8.7 by @mathias */
jQuery(function(f,h,c){var a='placeholder' in h.createElement('input'),d='placeholder' in h.createElement('textarea'),i=c.fn,j;if(a&&d){j=i.placeholder=function(){return this};j.input=j.textarea=true}else{j=i.placeholder=function(){return this.filter((a?'textarea':':input')+'[placeholder]').not('.placeholder').bind('focus.placeholder',b).bind('blur.placeholder',e).trigger('blur.placeholder').end()};j.input=a;j.textarea=d;c(function(){c(h).delegate('form','submit.placeholder',function(){var k=c('.placeholder',this).each(b);setTimeout(function(){k.each(e)},10)})});c(f).bind('unload.placeholder',function(){c('.placeholder').val('')})}function g(l){var k={},m=/^jQuery\d+$/;c.each(l.attributes,function(o,n){if(n.specified&&!m.test(n.name)){k[n.name]=n.value}});return k}function b(){var k=c(this);if(k.val()===k.attr('placeholder')&&k.hasClass('placeholder')){if(k.data('placeholder-password')){k.hide().next().show().focus().attr('id',k.removeAttr('id').data('placeholder-id'))}else{k.val('').removeClass('placeholder')}}}function e(){var o,n=c(this),k=n,m=this.id;if(n.val()===''){if(n.is(':password')){if(!n.data('placeholder-textinput')){try{o=n.clone().attr({type:'text'})}catch(l){o=c('<input>').attr(c.extend(g(this),{type:'text'}))}o.removeAttr('name').data('placeholder-password',true).data('placeholder-id',m).bind('focus.placeholder',b);n.data('placeholder-textinput',o).data('placeholder-id',m).before(o)}n=n.removeAttr('id').hide().prev().attr('id',m).show()}n.addClass('placeholder').val(n.attr('placeholder'))}else{n.removeClass('placeholder')}}}(this,document,jQuery));
// https://github.com/manuelbieh/Details-Polyfill
jQuery(function(a){(function(){var b=this;this.hideDetailChildren=function(c){var d=c instanceof jQuery?c[0].childNodes:c.childNodes,e=d.length;a(c).attr("open",!1);if(a.browser.safari==!0)for(var f=0;f<e;f++)if(d[f].nodeType==3&&d[f].textContent!=""){var g=a("<span />");g.text(d[f].textContent).hide(),a(d[f]).after(g),d[f].textContent="",e++}a.each(d,function(d,e){if(a(e)[0].nodeType==1&&e==a(e).parent().find("> summary:first-of-type")[0])a(e).data("processed")!=!0&&(a(e).css({display:"block",cursor:"pointer"}).data("processed",!0).addClass("detailHidden").bind("click",function(){b.toggleDetailChildren(a(this))}),a(c).prepend(a(e)));else if(a(e)[0].nodeType==3&&!e.isElementContentWhitespace&&!!a.browser.safari==!1){var f=a("<span />");f.text(e.textContent).hide(),a(e).after(f),e.textContent=""}else if(a(c).find("> summary").length==0){var g=a("<summary />").text("Details").css({display:"block",cursor:"pointer"}).data("processed",!0).addClass("detailHidden").bind("click",function(){b.toggleDetailChildren(a(this))});a(c).prepend(g)}a(c).find("> :visible:not(summary:first-child)").hide()})},this.showDetailChildren=function(b){a(b).attr("open",!0),a.each(a(b).find("> *"),function(b,c){a(c).show()})},this.toggleDetailChildren=function(a){a.hasClass("detailHidden")?(a.removeClass("detailHidden"),b.showDetailChildren(a.parents("details")[0])):(a.addClass("detailHidden"),b.hideDetailChildren(a.parents("details")[0]))};var c=function(a){var b=a.createElement("details"),c,d,e;return"open"in b?(d=a.body||function(){var b=a.documentElement;return c=!0,b.insertBefore(a.createElement("body"),b.firstElementChild||b.firstChild)}(),b.innerHTML="<summary>a</summary>b",b.style.display="block",d.appendChild(b),e=b.offsetHeight,b.open=!0,e=e!=b.offsetHeight,d.removeChild(b),c&&d.parentNode.removeChild(d),e):!1}(document);if(c==!1){if(a("details").length!==0){var d=a("<style />").text('summary {-webkit-text-size-adjust: none;} details > summary:first-child:before {content: "\u25bc"; font-size:.9em;padding-right:6px;font-family:"Courier New";} details > summary.detailHidden:first-child:before {content: "\u25ba";font-size:.9em;padding-right:6px;font-family:"Courier New";}');a("head").append(d)}a.each(a("details"),function(a,c){b.hideDetailChildren(c)})}})()})
// https://github.com/yatil/accessifyhtml5.js
var AccessifyHTML5=function(b){var a={article:{role:"article"},aside:{role:"complementary"},nav:{role:"navigation"},output:{"aria-live":"polite"},section:{role:"region"},"[required]":{"aria-required":"true"}};if(b){if(b.header){a[b.header]={role:"banner"}}if(b.footer){a[b.footer]={role:"contentinfo"}}if(b.main){a[b.main]={role:"main"}}}jQuery.each(a,function(c,d){jQuery(c).attr(d)})};
// 2k11
jQuery(document).ready(function($) {
// Assign WAI-ARIA roles
AccessifyHTML5({header:'#banner',main:'#main',footer:'#colophon'});
// AccessifyHTML can't handle this (yet)
$('input[type=search]').parents('form').attr('role','search');
// Cloned primary navigation for small screen
var $select = $('<select/>');
$('#primary-nav li').each(function(){var $el=$(this);if($el.find('span').length){$('<option/>',{'selected':'selected','value':'','text':$el.text()}).appendTo($select);}else{$('<option/>',{'value':$el.find('a').attr('href'),'text':$el.text()}).appendTo($select);}});
if($select.children().size()>0){$select.appendTo('#primary-nav').change(function(){window.location=$(this).find('option:selected').val();});}
// Livesearch
if (typeof(lsbase) == 'string') { $('<div id="LSResult" style="display: none;"><div id="LSShadow"></div></div>').appendTo('#searchform>div'); }
// Fit embedded videos
$('#content>article').fitVids();
// placeholder polyfill
$('input, textarea').placeholder();
// Disable trackback + short url links
$('#trackback_url>a,.short-url').click(function(){var linkMsg=$(this).attr('title');alert(linkMsg);return false;});
// Comment reply
$('.comment_reply').click(function(){var commentId=$(this).attr('id').replace(/serendipity_reply_/g,"");$('#serendipity_replyTo').val(commentId);});
// Confirm comment deletion
$('.comment_source_ownerlink').click(function(){var deleteMsg=$(this).attr('title');return confirm(deleteMsg);});
// Move preview comment in the DOM to fix comment preview
$('#c').insertAfter('#feedback');
// Hide reply-to form element
$('.comment_reply').click(function(){$('#reply-to-comment').remove();var replyToPlaceholder='<p id="reply-to-comment">'+$('#reply-to-hint').text()+' '+$('#serendipity_replyTo :selected').text()+'</p>';$('#serendipity_replyTo').after(replyToPlaceholder);});
$('#reply-to-hint,#serendipity_replyTo').addClass('visuallyhidden');
});

27
templates/2k11/js/2k11.min.js vendored Normal file
View File

@ -0,0 +1,27 @@
var script=document.getElementById("modernizr").src;var path=script.split("/").slice(0,-1).join("/")+"/";Modernizr.load([{test:Modernizr.mq("only all and (min-width: 0px)"),nope:path+"respond.min.js"},{test:Modernizr.touch,yep:path+"/serendipity/templates/s9y-2k11/js/ios-orientationchange.min.js"},{test:Modernizr.input.placeholder,nope:[path+"placeholder_polyfill.jquery.min.combo.js"]}]);
(function(b){b.fn.fitVids=function(a){var h={customSelector:null};var f=document.createElement("div"),g=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];
f.className="fit-vids-style";f.innerHTML="&shy;<style> .fluid-width-video-wrapper { width: 100%; position: relative; padding: 0; } .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style>";
g.parentNode.insertBefore(f,g);if(a){b.extend(h,a);}return this.each(function(){var d=["iframe[src^='http://player.vimeo.com']","iframe[src^='http://www.youtube.com']","iframe[src^='https://www.youtube.com']","iframe[src^='http://www.kickstarter.com']","object","embed"];
if(h.customSelector){d.push(h.customSelector);}var c=b(this).find(d.join(","));c.each(function(){var e=b(this);if(this.tagName.toLowerCase()=="embed"&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length){return;
}var n=this.tagName.toLowerCase()=="object"?e.attr("height"):e.height(),m=n/e.width();if(!e.attr("id")){var l="fitvid"+Math.floor(Math.random()*999999);
e.attr("id",l);}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",(m*100)+"%");e.removeAttr("height").removeAttr("width");
});});};})(jQuery);jQuery(function(b){(function(){var a=this;this.hideDetailChildren=function(l){var k=l instanceof jQuery?l[0].childNodes:l.childNodes,j=k.length;
b(l).attr("open",!1);if(b.browser.safari==!0){for(var i=0;i<j;i++){if(k[i].nodeType==3&&k[i].textContent!=""){var h=b("<span />");h.text(k[i].textContent).hide(),b(k[i]).after(h),k[i].textContent="",j++;
}}}b.each(k,function(o,n){if(b(n)[0].nodeType==1&&n==b(n).parent().find("> summary:first-of-type")[0]){b(n).data("processed")!=!0&&(b(n).css({display:"block",cursor:"pointer"}).data("processed",!0).addClass("detailHidden").bind("click",function(){a.toggleDetailChildren(b(this));
}),b(l).prepend(b(n)));}else{if(b(n)[0].nodeType==3&&!n.isElementContentWhitespace&&!!b.browser.safari==!1){var m=b("<span />");m.text(n.textContent).hide(),b(n).after(m),n.textContent="";
}else{if(b(l).find("> summary").length==0){var c=b("<summary />").text("Details").css({display:"block",cursor:"pointer"}).data("processed",!0).addClass("detailHidden").bind("click",function(){a.toggleDetailChildren(b(this));
});b(l).prepend(c);}}}b(l).find("> :visible:not(summary:first-child)").hide();});},this.showDetailChildren=function(c){b(c).attr("open",!0),b.each(b(c).find("> *"),function(d,g){b(g).show();
});},this.toggleDetailChildren=function(c){c.hasClass("detailHidden")?(c.removeClass("detailHidden"),a.showDetailChildren(c.parents("details")[0])):(c.addClass("detailHidden"),a.hideDetailChildren(c.parents("details")[0]));
};var f=function(h){var g=h.createElement("details"),k,j,i;return"open" in g?(j=h.body||function(){var c=h.documentElement;return k=!0,c.insertBefore(h.createElement("body"),c.firstElementChild||c.firstChild);
}(),g.innerHTML="<summary>a</summary>b",g.style.display="block",j.appendChild(g),i=g.offsetHeight,g.open=!0,i=i!=g.offsetHeight,j.removeChild(g),k&&j.parentNode.removeChild(j),i):!1;
}(document);if(f==!1){if(b("details").length!==0){var e=b("<style />").text('summary {-webkit-text-size-adjust: none;} details > summary:first-child:before {content: "\u25bc"; font-size:.9em;padding-right:6px;font-family:"Courier New";} details > summary.detailHidden:first-child:before {content: "\u25ba";font-size:.9em;padding-right:6px;font-family:"Courier New";}');
b("head").append(e);}b.each(b("details"),function(d,g){a.hideDetailChildren(g);});}})();});var AccessifyHTML5=function(c){var d={article:{role:"article"},aside:{role:"complementary"},nav:{role:"navigation"},output:{"aria-live":"polite"},section:{role:"region"},"[required]":{"aria-required":"true"}};
if(c){if(c.header){d[c.header]={role:"banner"};}if(c.footer){d[c.footer]={role:"contentinfo"};}if(c.main){d[c.main]={role:"main"};}}jQuery.each(d,function(b,a){jQuery(b).attr(a);
});};jQuery(document).ready(function(b){AccessifyHTML5({header:"#banner",main:"#main",footer:"#colophon"});b("input[type=search]").parents("form").attr("role","search");
var a=b("<select/>");b("#primary-nav li").each(function(){var c=b(this);if(c.find("span").length){b("<option/>",{selected:"selected",value:"",text:c.text()}).appendTo(a);
}else{b("<option/>",{value:c.find("a").attr("href"),text:c.text()}).appendTo(a);}});if(a.children().size()>0){a.appendTo("#primary-nav").change(function(){window.location=b(this).find("option:selected").val();
});}if(typeof(lsbase)=="string"){b('<div id="LSResult" style="display: none;"><div id="LSShadow"></div></div>').appendTo("#searchform>div");}b("#content>article").fitVids();
b("#trackback_url>a,.short-url").click(function(){var c=b(this).attr("title");alert(c);return false;});b(".comment_reply").click(function(){var c=b(this).attr("id").replace(/serendipity_reply_/g,"");
b("#serendipity_replyTo").val(c);});b(".comment_source_ownerlink").click(function(){var c=b(this).attr("title");return confirm(c);});b("#c").insertAfter("#feedback");
b(".comment_reply").click(function(){b("#reply-to-comment").remove();var c='<p id="reply-to-comment">'+b("#reply-to-hint").text()+" "+b("#serendipity_replyTo :selected").text()+"</p>";
b("#serendipity_replyTo").after(c);});b("#reply-to-hint,#serendipity_replyTo").addClass("visuallyhidden");});

View File

@ -1,2 +1,5 @@
// https://github.com/scottjehl/iOS-Orientationchange-Fix
(function(m){if(!(/iPhone|iPad|iPod/.test(navigator.platform)&&navigator.userAgent.indexOf("AppleWebKit")>-1)){return}var l=m.document;if(!l.querySelector){return}var n=l.querySelector("meta[name=viewport]"),a=n&&n.getAttribute("content"),k=a+",maximum-scale=1",d=a+",maximum-scale=10",g=true,j,i,h,c;if(!n){return}function f(){n.setAttribute("content",d);g=true}function b(){n.setAttribute("content",k);g=false}function e(o){c=o.accelerationIncludingGravity;j=Math.abs(c.x);i=Math.abs(c.y);h=Math.abs(c.z);if(!m.orientation&&(j>7||((h>6&&i<8||h<8&&i>6)&&j>5))){if(g){b()}}else{if(!g){f()}}}m.addEventListener("orientationchange",f,false);m.addEventListener("devicemotion",e,false)})(this);
(function(p){if(!(/iPhone|iPad|iPod/.test(navigator.platform)&&navigator.userAgent.indexOf("AppleWebKit")>-1)){return;}var q=p.document;if(!q.querySelector){return;
}var o=q.querySelector("meta[name=viewport]"),B=o&&o.getAttribute("content"),r=B+",maximum-scale=1",y=B+",maximum-scale=10",v=true,s,t,u,z;if(!o){return;
}function w(){o.setAttribute("content",y);v=true;}function A(){o.setAttribute("content",r);v=false;}function x(a){z=a.accelerationIncludingGravity;s=Math.abs(z.x);
t=Math.abs(z.y);u=Math.abs(z.z);if(!p.orientation&&(s>7||((u>6&&t<8||u<8&&t>6)&&s>5))){if(v){A();}}else{if(!v){w();}}}p.addEventListener("orientationchange",w,false);
p.addEventListener("devicemotion",x,false);})(this);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,41 @@
window.Modernizr=function(aw,av,au){function U(b){am.cssText=b;}function T(d,c){return U(ai.join(d+";")+(c||""));}function S(d,c){return typeof d===c;}function R(d,c){return !!~(""+d).indexOf(c);
}function Q(e,c){for(var f in e){if(am[e[f]]!==au){return c=="pfx"?e[f]:!0;}}return !1;}function P(g,c,j){for(var i in g){var h=c[g[i]];if(h!==au){return j===!1?g[i]:S(h,"function")?h.bind(j||c):h;
}}return !1;}function O(g,f,j){var i=g.charAt(0).toUpperCase()+g.substr(1),h=(g+" "+ag.join(i+" ")+i).split(" ");return S(f,"string")||S(f,"undefined")?Q(h,f):(h=(g+" "+af.join(i+" ")+i).split(" "),P(h,f,j));
}function M(){ar.input=function(f){for(var b=0,a=f.length;b<a;b++){ac[f[b]]=f[b] in al;}return ac.list&&(ac.list=!!av.createElement("datalist")&&!!aw.HTMLDataListElement),ac;
}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));}var at="2.5.3",ar={},aq=!0,ap=av.documentElement,ao="modernizr",an=av.createElement(ao),am=an.style,al=av.createElement("input"),ak=":)",aj={}.toString,ai=" -webkit- -moz- -o- -ms- ".split(" "),ah="Webkit Moz O ms",ag=ah.split(" "),af=ah.toLowerCase().split(" "),ae={},ad={},ac={},ab=[],aa=ab.slice,Z,Y=function(t,s,r,q){var p,o,n,h=av.createElement("div"),g=av.body,b=g?g:av.createElement("body");
if(parseInt(r,10)){while(r--){n=av.createElement("div"),n.id=q?q[r]:ao+(r+1),h.appendChild(n);}}return p=["&#173;","<style>",t,"</style>"].join(""),h.id=ao,b.innerHTML+=p,b.appendChild(h),g||(b.style.background="",ap.appendChild(b)),o=s(h,t),g?h.parentNode.removeChild(h):b.parentNode.removeChild(b),!!o;
},X=function(a){var f=aw.matchMedia||aw.msMatchMedia;if(f){return f(a).matches;}var e;return Y("@media "+a+" { #"+ao+" { position: absolute; } }",function(c){e=(aw.getComputedStyle?getComputedStyle(c,null):c.currentStyle)["position"]=="absolute";
}),e;},W={}.hasOwnProperty,V;!S(W,"undefined")&&!S(W.call,"undefined")?V=function(d,c){return W.call(d,c);}:V=function(d,c){return c in d&&S(d.constructor.prototype[c],"undefined");
},Function.prototype.bind||(Function.prototype.bind=function(a){var h=this;if(typeof h!="function"){throw new TypeError;}var g=aa.call(arguments,1),f=function(){if(this instanceof f){var b=function(){};
b.prototype=h.prototype;var d=new b,c=h.apply(d,g.concat(aa.call(arguments)));return Object(c)===c?c:d;}return h.apply(a,g.concat(aa.call(arguments)));
};return f;});var N=function(h,e){var b=h.join(""),a=e.length;Y(b,function(o,n){var m=av.styleSheets[av.styleSheets.length-1],l=m?m.cssRules&&m.cssRules[0]?m.cssRules[0].cssText:m.cssText||"":"",k=o.childNodes,g={};
while(a--){g[k[a].id]=k[a];}ar.touch="ontouchstart" in aw||aw.DocumentTouch&&av instanceof DocumentTouch||(g.touch&&g.touch.offsetTop)===9,ar.generatedcontent=(g.generatedcontent&&g.generatedcontent.offsetHeight)>=1;
},a,e);}([,["@media (",ai.join("touch-enabled),("),ao,")","{#touch{top:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',ak,'";visibility:hidden}'].join("")],[,"touch","generatedcontent"]);
ae.touch=function(){return ar.touch;},ae.boxshadow=function(){return O("boxShadow");},ae.generatedcontent=function(){return ar.generatedcontent;};for(var L in ae){V(ae,L)&&(Z=L.toLowerCase(),ar[Z]=ae[L](),ab.push((ar[Z]?"":"no-")+Z));
}return ar.input||M(),U(""),an=al=null,function(v,u){function p(f,e){var h=f.createElement("p"),g=f.getElementsByTagName("head")[0]||f.documentElement;
return h.innerHTML="x<style>"+e+"</style>",g.insertBefore(h.lastChild,g.firstChild);}function o(){var b=l.elements;return typeof b=="string"?b.split(" "):b;
}function n(g){var d={},j=g.createElement,i=g.createDocumentFragment,h=i();g.createElement=function(b){var c=(d[b]||(d[b]=j(b))).cloneNode();return l.shivMethods&&c.canHaveChildren&&!s.test(b)?h.appendChild(c):c;
},g.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+o().join().replace(/\w+/g,function(b){return d[b]=j(b),h.createElement(b),'c("'+b+'")';
})+");return n}")(l,h);}function m(d){var c;return d.documentShived?d:(l.shivCSS&&!r&&(c=!!p(d,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),q||(c=!n(d)),c&&(d.documentShived=c),d);
}var t=v.html5||{},s=/^<|^(?:button|form|map|select|textarea)$/i,r,q;(function(){var b=u.createElement("a");b.innerHTML="<xyz></xyz>",r="hidden" in b,q=b.childNodes.length==1||function(){try{u.createElement("a");
}catch(d){return !0;}var e=u.createDocumentFragment();return typeof e.cloneNode=="undefined"||typeof e.createDocumentFragment=="undefined"||typeof e.createElement=="undefined";
}();})();var l={elements:t.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:t.shivCSS!==!1,shivMethods:t.shivMethods!==!1,type:"default",shivDocument:m};
v.html5=l,m(u);}(this,av),ar._version=at,ar._prefixes=ai,ar._domPrefixes=af,ar._cssomPrefixes=ag,ar.mq=X,ar.testProp=function(b){return Q([b]);},ar.testAllProps=O,ar.testStyles=Y,ap.className=ap.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(aq?" js "+ab.join(" "):""),ar;
}(this,this.document),function(ad,ac,ab){function aa(b){return P.call(b)=="[object Function]";}function Z(b){return typeof b=="string";}function Y(){}function X(b){return !b||b=="loaded"||b=="complete"||b=="uninitialized";
}function W(){var b=O.shift();M=1,b?b.t?R(function(){(b.t=="c"?L.injectCss:L.injectJs)(b.s,0,b.a,b.x,b.e,1);},0):(b(),W()):M=0;}function V(w,v,t,s,q,p,n){function m(a){if(!g&&X(h.readyState)&&(x.r=g=1,!M&&W(),h.onload=h.onreadystatechange=null,a)){w!="img"&&R(function(){I.removeChild(h);
},50);for(var c in D[v]){D[v].hasOwnProperty(c)&&D[v][c].onload();}}}var n=n||L.errorTimeout,h={},g=0,b=0,x={t:t,s:v,e:q,a:p,x:n};D[v]===1&&(b=1,D[v]=[],h=ac.createElement(w)),w=="object"?h.data=v:(h.src=v,h.type=w),h.width=h.height="0",h.onerror=h.onload=h.onreadystatechange=function(){m.call(this,b);
},O.splice(s,0,x),w!="img"&&(b||D[v]===2?(I.insertBefore(h,J?null:Q),R(m,n)):D[v].push(h));}function U(g,e,j,i,h){return M=0,e=e||"j",Z(g)?V(e=="c"?G:H,g,e,this.i++,j,i,h):(O.splice(this.i++,0,g),O.length==1&&W()),this;
}function T(){var b=L;return b.loader={load:U,i:0},b;}var S=ac.documentElement,R=ad.setTimeout,Q=ac.getElementsByTagName("script")[0],P={}.toString,O=[],M=0,K="MozAppearance" in S.style,J=K&&!!ac.createRange().compareNode,I=J?S:Q.parentNode,S=ad.opera&&P.call(ad.opera)=="[object Opera]",S=!!ac.attachEvent&&!S,H=K?"object":S?"script":"img",G=S?"script":H,F=Array.isArray||function(b){return P.call(b)=="[object Array]";
},E=[],D={},C={timeout:function(d,c){return c.length&&(d.timeout=c[0]),d;}},N,L;L=function(f){function d(j){var j=j.split("!"),i=E.length,q=j.pop(),p=j.length,q={url:q,origUrl:q,prefixes:j},o,m,l;
for(m=0;m<p;m++){l=j[m].split("="),(o=C[l.shift()])&&(q=o(q,l));}for(m=0;m<i;m++){q=E[m](q);}return q;}function n(m,s,r,q,p){var o=d(m),b=o.autoCallback;
o.url.split(".").pop().split("?").shift(),o.bypass||(s&&(s=aa(s)?s:s[m]||s[q]||s[m.split("/").pop().split("?")[0]]||W),o.instead?o.instead(m,s,r,q,p):(D[o.url]?o.noexec=!0:D[o.url]=1,r.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":ab,o.noexec,o.attrs,o.timeout),(aa(s)||aa(b))&&r.load(function(){T(),s&&s(o.origUrl,p,q),b&&b(o.origUrl,p,q),D[o.url]=2;
})));}function k(w,v){function u(b,i){if(b){if(Z(b)){i||(r=function(){var j=[].slice.call(arguments);q.apply(this,j),p();}),n(b,r,v,0,t);}else{if(Object(b)===b){for(g in o=function(){var a=0,j;
for(j in b){b.hasOwnProperty(j)&&a++;}return a;}(),b){b.hasOwnProperty(g)&&(!i&&!--o&&(aa(r)?r=function(){var j=[].slice.call(arguments);q.apply(this,j),p();
}:r[g]=function(j){return function(){var a=[].slice.call(arguments);j&&j.apply(this,a),p();};}(q[g])),n(b[g],r,v,g,t));}}}}else{!i&&p();}}var t=!!w.test,s=w.load||w.both,r=w.callback||Y,q=r,p=w.complete||Y,o,g;
u(t?w.yep:w.nope,!!s),s&&u(s);}var h,e,c=this.yepnope.loader;if(Z(f)){n(f,0,c,0);}else{if(F(f)){for(h=0;h<f.length;h++){e=f[h],Z(e)?n(e,0,c,0):F(e)?L(e):Object(e)===e&&k(e,c);
}}else{Object(f)===f&&k(f,c);}}},L.addPrefix=function(d,c){C[d]=c;},L.addFilter=function(b){E.push(b);},L.errorTimeout=10000,ac.readyState==null&&ac.addEventListener&&(ac.readyState="loading",ac.addEventListener("DOMContentLoaded",N=function(){ac.removeEventListener("DOMContentLoaded",N,0),ac.readyState="complete";
},0)),ad.yepnope=T(),ad.yepnope.executeStack=W,ad.yepnope.injectJs=function(r,q,p,n,m,h){var g=ac.createElement("script"),f,b,n=n||L.errorTimeout;g.src=r;
for(b in p){g.setAttribute(b,p[b]);}q=h?W:q||Y,g.onreadystatechange=g.onload=function(){!f&&X(g.readyState)&&(f=1,q(),g.onload=g.onreadystatechange=null);
},R(function(){f||(f=1,q(1));},n),m?g.onload():Q.parentNode.insertBefore(g,Q);},ad.yepnope.injectCss=function(b,n,m,l,k,h){var l=ac.createElement("link"),f,n=h?W:n||Y;
l.href=b,l.rel="stylesheet",l.type="text/css";for(f in m){l.setAttribute(f,m[f]);}k||(Q.parentNode.insertBefore(l,Q),R(n,0));};}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0));
};

View File

@ -0,0 +1,36 @@
/**
* Copyright (c) 2008 Tom Deater (http://www.tomdeater.com)
* Licensed under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
jQuery.onFontResize=(function(a){a(document).ready(function(){var c=a("<iframe />").attr("id","frame-onFontResize"+Date.parse(new Date)).addClass("div-onfontresize").css({width:"100em",height:"10px",position:"absolute",borderWidth:0,top:"-5000px",left:"-5000px"}).appendTo("body");
if(a.browser.msie){c.bind("resize",function(){a.onFontResize.trigger(c[0].offsetWidth/100);});}else{var b=c[0].contentWindow||c[0].contentDocument||c[0].document;
b=b.document||b;b.open();b.write('<script>window.onload = function(){var em = parent.jQuery(".div-onfontresize")[0];window.onresize = function(){if(parent.jQuery.onFontResize){parent.jQuery.onFontResize.trigger(em.offsetWidth / 100);}}};<\/script>');
b.close();}});return{trigger:function(b){a(document).trigger("fontresize",[b]);}};})(jQuery);
/**
* HTML5 placeholder polyfill
*
* code: https://github.com/ginader/HTML5-placeholder-polyfill
* please report issues at: https://github.com/ginader/HTML5-placeholder-polyfill/issues
*
* Copyright (c) 2012 Dirk Ginader (ginader.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Version: 1.9
*/
(function(e){var a=false,h;function b(k,l){if(e.trim(k.val())===""){k.data("placeholder").removeClass(l.hideClass);}else{k.data("placeholder").addClass(l.hideClass);
}}function f(k,l){k.data("placeholder").addClass(l.hideClass);}function g(m,l){var k=l.is("textarea");m.css({width:l.innerWidth()-(k?20:4),height:l.innerHeight()-6,lineHeight:l.css("line-height"),whiteSpace:k?"normal":"nowrap",overflow:"hidden"}).offset(l.offset());
}function c(k,l){var k=k,m=k.val();(function n(){h=requestAnimationFrame(n);if(k.val()!=m){f(k,l);j();i(k,l);}})();}function i(k,l){var k=k,m=k.val();(function n(){h=requestAnimationFrame(n);
b(k,l);})();}function j(){cancelAnimationFrame(h);}function d(k){if(a&&window.console&&window.console.log){window.console.log(k);}}e.fn.placeHolder=function(k){var l=this;
this.options=e.extend({className:"placeholder",visibleToScreenreaders:true,visibleToScreenreadersHideClass:"placeholder-hide-exept-screenreader",visibleToNoneHideClass:"placeholder-hide",hideOnFocus:true},k);
this.options.hideClass=this.options.visibleToScreenreaders?this.options.visibleToScreenreadersHideClass:this.options.visibleToNoneHideClass;return e(this).each(function(){var m=e(this),q=m.attr("placeholder"),r=m.attr("id"),n,p,o;
n=m.closest("label")[0];m.attr("placeholder","");if(!n&&!r){d("the input element with the placeholder needs an id!");return;}n=n||e('label[for="'+r+'"]');
if(!n){d("the input element with the placeholder needs a label!");return;}if(e(n).hasClass("visuallyhidden")){e(n).removeClass("visuallyhidden").addClass("visuallyhidden-with-placeholder");
}p=e('<span class="'+l.options.className+'">'+q+"</span>").appendTo(n);o=(p.width()>m.width());if(o){p.attr("title",q);}g(p,m);m.data("placeholder",p);
p.data("input",p);p.click(function(){e(this).data("input").focus();});m.focusin(function(){if(!l.options.hideOnFocus&&window.requestAnimationFrame){c(m,l.options);
}else{f(m,l.options);}});m.focusout(function(){b(e(this),l.options);if(!l.options.hideOnFocus&&window.cancelAnimationFrame){j();}});b(m,l.options);e(document).bind("fontresize",function(){g(p,m);
});if(e.event.special.resize){e("textarea").bind("resize",function(s){g(p,m);});}else{e("textarea").css("resize","none");}});};e(function(){if("placeholder" in e("<input>")[0]){return;
}e("input[placeholder], textarea[placeholder]").placeHolder({visibleToScreenreaders:true,hideOnFocus:false});});})(jQuery);

View File

@ -1,2 +1,19 @@
/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
(function(e){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return}var w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName("head")[0]||s,g=w.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,y=D.length,B=0,A,z,C,x;for(;B<y;B++){A=D[B],z=A.href,C=A.media,x=A.rel&&A.rel.toLowerCase()==="stylesheet";if(!!z&&x&&!o[z]){if(A.styleSheet&&A.styleSheet.rawCssText){m(A.styleSheet.rawCssText,z,C);o[z]=true}else{if((!/^([a-zA-Z:]*\/\/)/.test(z)&&!g)||z.replace(RegExp.$1,"").split("/")[0]===e.location.host){d.push({href:z,media:C})}}}}u()},u=function(){if(d.length){var x=d.shift();n(x.href,function(y){m(y,x.href,x.media);o[x.href]=true;u()})}},m=function(I,x,z){var G=I.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),J=G&&G.length||0,x=x.substring(0,x.lastIndexOf("/")),y=function(K){return K.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+x+"$2$3")},A=!J&&z,D=0,C,E,F,B,H;if(x.length){x+="/"}if(A){J=1}for(;D<J;D++){C=0;if(A){E=z;k.push(y(I))}else{E=G[D].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1;k.push(RegExp.$2&&y(RegExp.$2))}B=E.split(",");H=B.length;for(;C<H;C++){F=B[C];i.push({media:F.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:k.length-1,hasquery:F.indexOf("(")>-1,minw:F.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}j()},l,r,v=function(){var z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font-size:1em;width:1em";if(!x){x=y=w.createElement("body")}x.appendChild(A);s.insertBefore(x,s.firstChild);z=A.offsetWidth;if(y){s.removeChild(x)}else{x.removeChild(A)}z=p=parseFloat(z);return z},p,j=function(I){var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l<h){clearTimeout(r);r=setTimeout(j,h);return}else{l=z}for(var E in i){var K=i[E],C=K.minw,J=K.maxw,A=C===null,L=J===null,y="em";if(!!C){C=parseFloat(C)*(C.indexOf(y)>-1?(p||v()):1)}if(!!J){J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1)}if(!K.hasquery||(!A||!L)&&(A||H>=C)&&(L||H<=J)){if(!D[K.media]){D[K.media]=[]}D[K.media].push(k[K.rules])}}for(var E in q){if(q[E]&&q[E].parentNode===f){f.removeChild(q[E])}}for(var E in D){var M=w.createElement("style"),F=D[E].join("\n");M.type="text/css";M.media=E;f.insertBefore(M,G.nextSibling);if(M.styleSheet){M.styleSheet.cssText=F}else{M.appendChild(w.createTextNode(F))}q.push(M)}},n=function(x,z){var y=c();if(!y){return}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||y.status!=200&&y.status!=304){return}z(y.responseText)};if(y.readyState==4){return}y.send(null)},c=(function(){var x=false;try{x=new XMLHttpRequest()}catch(y){x=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return x}})();a();respond.update=a;function t(){j(true)}if(e.addEventListener){e.addEventListener("resize",t,false)}else{if(e.attachEvent){e.attachEvent("onresize",t)}}})(this);
(function(e){e.respond={};respond.update=function(){};
respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return;}var w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName("head")[0]||s,g=w.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,y=D.length,B=0,A,z,C,x;
for(;B<y;B++){A=D[B],z=A.href,C=A.media,x=A.rel&&A.rel.toLowerCase()==="stylesheet";if(!!z&&x&&!o[z]){if(A.styleSheet&&A.styleSheet.rawCssText){m(A.styleSheet.rawCssText,z,C);
o[z]=true;}else{if((!/^([a-zA-Z:]*\/\/)/.test(z)&&!g)||z.replace(RegExp.$1,"").split("/")[0]===e.location.host){d.push({href:z,media:C});}}}}u();},u=function(){if(d.length){var x=d.shift();
n(x.href,function(y){m(y,x.href,x.media);o[x.href]=true;u();});}},m=function(I,x,z){var G=I.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),J=G&&G.length||0,x=x.substring(0,x.lastIndexOf("/")),y=function(K){return K.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+x+"$2$3");
},A=!J&&z,D=0,C,E,F,B,H;if(x.length){x+="/";}if(A){J=1;}for(;D<J;D++){C=0;if(A){E=z;k.push(y(I));}else{E=G[D].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1;
k.push(RegExp.$2&&y(RegExp.$2));}B=E.split(",");H=B.length;for(;C<H;C++){F=B[C];i.push({media:F.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:k.length-1,hasquery:F.indexOf("(")>-1,minw:F.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});
}}j();},l,r,v=function(){var z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font-size:1em;width:1em";if(!x){x=y=w.createElement("body");
x.style.background="none";}x.appendChild(A);s.insertBefore(x,s.firstChild);z=A.offsetWidth;if(y){s.removeChild(x);}else{x.removeChild(A);}z=p=parseFloat(z);
return z;},p,j=function(I){var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l<h){clearTimeout(r);
r=setTimeout(j,h);return;}else{l=z;}for(var E in i){var K=i[E],C=K.minw,J=K.maxw,A=C===null,L=J===null,y="em";if(!!C){C=parseFloat(C)*(C.indexOf(y)>-1?(p||v()):1);
}if(!!J){J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1);}if(!K.hasquery||(!A||!L)&&(A||H>=C)&&(L||H<=J)){if(!D[K.media]){D[K.media]=[];}D[K.media].push(k[K.rules]);
}}for(var E in q){if(q[E]&&q[E].parentNode===f){f.removeChild(q[E]);}}for(var E in D){var M=w.createElement("style"),F=D[E].join("\n");M.type="text/css";
M.media=E;f.insertBefore(M,G.nextSibling);if(M.styleSheet){M.styleSheet.cssText=F;}else{M.appendChild(w.createTextNode(F));}q.push(M);}},n=function(x,z){var y=c();
if(!y){return;}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||y.status!=200&&y.status!=304){return;}z(y.responseText);};if(y.readyState==4){return;
}y.send(null);},c=(function(){var x=false;try{x=new XMLHttpRequest();}catch(y){x=new ActiveXObject("Microsoft.XMLHTTP");}return function(){return x;};})();
a();respond.update=a;function t(){j(true);}if(e.addEventListener){e.addEventListener("resize",t,false);}else{if(e.attachEvent){e.attachEvent("onresize",t);
}}})(this);

View File

@ -252,16 +252,11 @@ li ul, li ol, p.break,
blockquote,
blockquote + cite {
display: block;
margin: 0 2.5em 1em;
margin: 0 1em 1em;
}
blockquote + cite:before { content: "\202F"; }
.content blockquote {
border-left: 4px solid #aaa;
padding-left: .75em;
}
dt,
.serendipity_calendar tfoot a,
.serendipity_calendar tfoot a:active,
@ -304,6 +299,7 @@ fieldset,
width: 90%;
}
#identity a,
#primary-nav li,
.archives_date { display: inline-block; }
@ -338,6 +334,11 @@ fieldset,
#searchform>div { padding: 0 1em; }
#searchform label {
position: absolute;
left: -999em;
}
#serendipityQuickSearchTermField,
#serendipity_comment input[type=text],
#serendipity_comment input[type=email],
@ -780,6 +781,38 @@ pre .geshi {
border-radius: 3px;
}
label span.placeholder{
position:absolute;
font-size:75%;
color:#999;
font-family:sans-serif;
padding:4px 3px;
z-index:1;
}
label span.placeholder-hide-exept-screenreader {
clip: rect(1px 1px 1px 1px);
clip: rect(1px, 1px, 1px, 1px);
padding:0 !important;
border:0 !important;
height: 1px !important;
width: 1px !important;
overflow: hidden;
}
label span.placeholder-hide{
display:none;
}
/* overwrite for the HTML5 Boilerplate way to hide labels */
label.visuallyhidden-with-placeholder{
clip: auto !important;
height:auto !important;
overflow: visible !important;
position:absolute !important;
left:-999em;
}
/* Helper classes */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
@ -946,6 +979,14 @@ pre .geshi {
#searchform>div,
.ie7 #searchform>div { padding: 0 1em 0 2em; }
.content blockquote {
border-left: 4px solid #aaa;
padding-left: .75em;
}
.content blockquote,
.content blockquote + cite { margin: 0 2.5em 1em; }
.commentlevel-1 { margin-left: 1em; }
.commentlevel-2 { margin-left: 2em; }
@ -956,6 +997,12 @@ pre .geshi {
.commentlevel-7 { margin-left: 7em; }
.commentlevel-8 { margin-left: 8em; }
.commentlevel-9 { margin-left: 9em; }
#serendipity_comment textarea {
max-width: 100%;
resize: both;
width: 26.25em;
}
}
@media only screen and (min-width:1024px) {
@ -1004,6 +1051,8 @@ pre .geshi {
.serendipity_pagination { margin: 0 2.4615em 1.2308em; }
#colophon small { padding: .9167em 2.4615em 1em; }
#serendipity_comment textarea { width: 30em; }
}
/* Print styles */