Revision: 5482
Author:
ph...@designhive.com
Date: Sat May 18 01:25:05 2013
Log: Remove css3-mediaqueries.js and create a specific IE8 stylesheet
http://code.google.com/p/textpattern/source/detail?r=5482
Deleted:
/development/4.x/js/css3-mediaqueries.js
Modified:
/development/4.x/textpattern/setup/txpsql.php
=======================================
--- /development/4.x/js/css3-mediaqueries.js Thu Jul 5 02:02:55 2012
+++ /dev/null
@@ -1,27 +0,0 @@
-"function"!==typeof Object.create&&(Object.create=function(i){function
l(){}l.prototype=i;return new l});var ua={toString:function(){return
navigator.userAgent},test:function(i){return
this.toString().toLowerCase().indexOf(i.toLowerCase())>-1}};ua.version=(ua.toString().toLowerCase().match(/[\s\S]+(?:rv|
it|ra|ie)[\/: ]([\d.]+)/)||
[])[1];ua.webkit=ua.test("webkit");ua.gecko=ua.test("gecko")&&!ua.webkit;ua.opera=ua.test("opera");
ua.ie=ua.test("msie")&&!ua.opera;
-ua.ie6=
ua.ie&&document.compatMode&&"undefined"===typeof
document.documentElement.style.maxHeight;ua.ie7=
ua.ie&&document.documentElement&&"undefined"!==typeof
document.documentElement.style.maxHeight&&"undefined"===typeof
XDomainRequest;ua.ie8=
ua.ie&&"undefined"!==typeof XDomainRequest;
-var domReady=function(){var
i=[],l=function(){if(!arguments.callee.done){arguments.callee.done=true;for(var
l=0;l<i.length;l++)i[l]()}};document.addEventListener&&document.addEventListener("DOMContentLoaded",l,false);if(
ua.ie){(function(){try{document.documentElement.doScroll("left")}catch(i){setTimeout(arguments.callee,50);return}l()})();document.onreadystatechange=function(){if(document.readyState==="complete"){document.onreadystatechange=null;l()}}}ua.webkit&&document.readyState&&function(){document.readyState!==
-"loading"?l():setTimeout(arguments.callee,10)}();window.onload=l;return
function(n){typeof n==="function"&&(l.done?n():i[i.length]=n);return
n}}(),cssHelper=function(){var i=/[^\s{][^{]*\{(?:[^{}]*\{[^{}]*\}[^{}]*|
[^{}]*)*\}/g,l=/[^\s{][^{]*\{[^{}]*\}/g,n=/url\(['"]?([^\/\)'"][^:\)'"]+)['"]?\)/g,y=/(?:\/\*([^*\\\\]|
\*(?!\/))+\*\/|@import[^;]+;)/g,z=/\s*(,|:|;|\{|
\})\s*/g,q=/\s{2,}/g,t=/;\}/g,u=/\S+/g,o,v=false,r=[],w=function(g){typeof
g==="function"&&(r[r.length]=g)},m={},s=function(g,a){if(m[g]){var d=
-m[g].listeners;if(d)for(var
e=0;e<d.length;e++)d[e](a)}},p=function(g,a,d){if(
ua.ie&&!window.XMLHttpRequest)window.XMLHttpRequest=function(){return
new ActiveXObject("Microsoft.XMLHTTP")};if(!XMLHttpRequest)return"";var
e=new
XMLHttpRequest;try{e.open("get",g,true);e.setRequestHeader("X_REQUESTED_WITH","XMLHttpRequest")}catch(b){d();return}var
f=false;setTimeout(function(){f=true},5E3);document.documentElement.style.cursor="progress";e.onreadystatechange=function(){if(e.readyState===4&&!f){!e.status&&
-location.protocol==="file:"||e.status>=200&&e.status<300||e.status===304||
navigator.userAgent.indexOf("Safari")>-1&&typeof
e.status==="undefined"?a(e.responseText):d();document.documentElement.style.cursor="";e=null}};e.send("")},f=function(g){g=g.replace(y,"");g=g.replace(z,"$1");g=g.replace(q," ");return
g=g.replace(t,"}")},h={mediaQueryList:function(g){for(var
a={},d=g.indexOf("{"),e=g.substring(0,d),g=g.substring(d+1,g.length-1),b=[],f=[],c=e.toLowerCase().substring(7).split(","),d=0;d<c.length;d++)b[b.length]=
-h.mediaQuery(c[d],a);c=g.match(l);if(c!==null)for(d=0;d<c.length;d++)f[f.length]=h.rule(c[d],a);a.getMediaQueries=function(){return
b};a.getRules=function(){return
f};a.getListText=function(){return
e};a.getCssText=function(){return g};return
a},mediaQuery:function(g,a){for(var d=false,e,b=[],f=(g|
|"").match(u),h=0;h<f.length;h++){var c=f[h];if(!e&&(c==="not"||
c==="only"))c==="not"&&(d=true);else
if(e){if(c.charAt(0)==="("){c=c.substring(1,c.length-1).split(":");b[b.length]={mediaFeature:c[0],value:c[1]|
|
-null}}}else e=c}return{getList:function(){return a||
null},getValid:function(){return true},getNot:function(){return
d},getMediaType:function(){return e},getExpressions:function(){return
b}}},rule:function(g,a){for(var
d={},e=g.indexOf("{"),b=g.substring(0,e),f=b.split(","),c=[],e=g.substring(e+1,g.length-1).split(";"),j=0;j<e.length;j++)c[c.length]=h.declaration(e[j],d);d.getMediaQueryList=function(){return
a||null};d.getSelectors=function(){return
f};d.getSelectorText=function(){return b};d.getDeclarations=
-function(){return c};d.getPropertyValue=function(g){for(var
a=0;a<c.length;a++)if(c[a].getProperty()===g)return c[a].getValue();return
null};return d},declaration:function(g,a){var
d=g.indexOf(":"),e=g.substring(0,d),b=g.substring(d+1);return{getRule:function(){return
a||null},getProperty:function(){return e},getValue:function(){return
b}}}},a=function(g){if(typeof g.cssHelperText==="string"){var
a={mediaQueryLists:[],rules:[],selectors:{},declarations:[],properties:{}},d=a.mediaQueryLists,e=a.rules,
-b=g.cssHelperText.match(i);if(b!==null)for(var
c=0;c<b.length;c++)if(b[c].substring(0,7)==="@media "){d[d.length]=h.mediaQueryList(b[c]);e=a.rules=e.concat(d[d.length-1].getRules())}else
e[e.length]=h.rule(b[c]);d=a.selectors;for(c=0;c<e.length;c++)for(var
b=e[c],f=b.getSelectors(),j=0;j<f.length;j++){var k=f[j];d[k]||
(d[k]=[]);d[k][d[k].length]=b}d=a.declarations;for(c=0;c<e.length;c++)d=a.declarations=d.concat(e[c].getDeclarations());e=a.properties;for(c=0;c<d.length;c++){b=d[c].getProperty();e[b]|
|
-(e[b]=[]);e[b][e[b].length]=d[c]}g.cssHelperParsed=a;o[o.length]=g;return
a}},c=function(g,b){g.cssHelperText=f(b||g.innerHTML);return
a(g)},k=function(){v=true;o=[];for(var g=[],b=function(){for(var
b=0;b<g.length;b++)a(g[b]);for(var
d=document.getElementsByTagName("style"),b=0;b<d.length;b++)c(d[b]);v=false;for(b=0;b<r.length;b++)r[b](o)},d=document.getElementsByTagName("link"),e=0;e<d.length;e++){var
h=d[e];h.getAttribute("rel").indexOf("style")>-1&&h.href&&h.href.length!==0&&!h.disabled&&(g[g.length]=
-h)}if(g.length>0)for(var
j=0,k=function(){j++;j===g.length&&b()},d=function(a){var
g=a.href;p(g,function(b){b=f(b).replace(n,"url("+g.substring(0,g.lastIndexOf("/"))+"/$1)");a.cssHelperText=b;k()},k)},e=0;e<g.length;e++)d(g[e]);else
b()},j={mediaQueryLists:"array",rules:"array",selectors:"object",declarations:"array",properties:"object"},b={mediaQueryLists:null,rules:null,selectors:null,declarations:null,properties:null},A=function(a,c){if(b[a]!==null){if(j[a]==="array")return
b[a]=b[a].concat(c);
-var d=b[a],e;for(e in
c)c.hasOwnProperty(e)&&(d[e]=d[e]?d[e].concat(c[e]):c[e]);return
d}},x=function(a){b[a]=j[a]==="array"?[]:{};for(var
c=0;c<o.length;c++)A(a,o[c].cssHelperParsed[a]);return
b[a]};domReady(function(){for(var
a=document.body.getElementsByTagName("*"),b=0;b<a.length;b++)a[b].checkedByCssHelper=true;document.implementation.hasFeature("MutationEvents","2.0")|
|
window.MutationEvent?document.body.addEventListener("DOMNodeInserted",function(a){a=a.target;if(a.nodeType===1){s("DOMElementInserted",
-a);a.checkedByCssHelper=true}},false):setInterval(function(){for(var
a=document.body.getElementsByTagName("*"),b=0;b<a.length;b++)if(!a[b].checkedByCssHelper){s("DOMElementInserted",a[b]);a[b].checkedByCssHelper=true}},1E3)});var
B=function(a){if(typeof window.innerWidth!="undefined")return
window["inner"+a];if(typeof document.documentElement!="undefined"&&typeof
document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0)return
document.documentElement["client"+a]};
-return{addStyle:function(a,b){var
d=document.createElement("style");d.setAttribute("type","text/css");document.getElementsByTagName("head")[0].appendChild(d);d.styleSheet?d.styleSheet.cssText=a:d.appendChild(document.createTextNode(a));d.addedWithCssHelper=true;typeof
b==="undefined"||b===true?cssHelper.parsed(function(){var b=c(d,a),f;for(f
in
b)b.hasOwnProperty(f)&&A(f,b[f]);s("newStyleParsed",d)}):d.parsingDisallowed=true;return
d},removeStyle:function(a){return
a.parentNode.removeChild(a)},parsed:function(a){if(v)w(a);
-else if(typeof o!=="undefined")typeof
a==="function"&&a(o);else{w(a);k()}},mediaQueryLists:function(a){cssHelper.parsed(function(){a(b.mediaQueryLists|
|
x("mediaQueryLists"))})},rules:function(a){cssHelper.parsed(function(){a(b.rules|
|
x("rules"))})},selectors:function(a){cssHelper.parsed(function(){a(b.selectors|
|
x("selectors"))})},declarations:function(a){cssHelper.parsed(function(){a(b.declarations|
|
x("declarations"))})},properties:function(a){cssHelper.parsed(function(){a(b.properties|
|x("properties"))})},
-broadcast:s,addListener:function(a,b){if(typeof b==="function"){m[a]||
(m[a]={listeners:[]});m[a].listeners[m[a].listeners.length]=b}},removeListener:function(a,b){if(typeof
b==="function"&&m[a])for(var
c=m[a].listeners,e=0;e<c.length;e++)if(c[e]===b){c.splice(e,1);e=e-1}},getViewportWidth:function(){return
B("Width")},getViewportHeight:function(){return B("Height")}}}();
-domReady(function(){var i,l=/[0-9]+(em|ex|px|in|cm|mm|pt|
pc)$/,n=/[0-9]+(dpi|
dpcm)$/,y=/^[0-9]+\/[0-9]+$/,z=/^[0-9]*(\.[0-9]+)*$/,q=[],t=function(){var
f=document.createElement("div");
f.id="css3-mediaqueries-test";var
h=cssHelper.addStyle("@media all and (width) { #css3-mediaqueries-test {
width: 1px !important; } }",false);document.body.appendChild(f);var
a=f.offsetWidth===1;h.parentNode.removeChild(h);f.parentNode.removeChild(f);t=function(){return
a};return a},u=function(f){i.style.width=f;f=i.offsetWidth;
-i.style.width="";return f},o=function(f,h){var
a=f.length,c=f.substring(0,4)==="min-",k=!c&&f.substring(0,4)==="max-";if(h!==null){var
j,b;if(l.exec(h)){j="length";b=u(h)}else
if(n.exec(h)){j="resolution";b=parseInt(h,10);var
i=h.substring((b+"").length)}else
if(y.exec(h)){j="aspect-ratio";b=h.split("/")}else
if(z){j="absolute";b=h}else
j="unknown"}if("device-width"===f.substring(a-12,a)){a=screen.width;return
h!==null?j==="length"?c&&a>=b||k&&a<b|
|!c&&!k&&a===b:false:a>0}if("device-height"===f.substring(a-
-13,a)){i=screen.height;return h!==null?j==="length"?c&&i>=b||k&&i<b|
|!c&&!k&&i===b:false:i>0}if("width"===f.substring(a-5,a)){a=document.documentElement.clientWidth|
|document.body.clientWidth;return h!==null?j==="length"?c&&a>=b||k&&a<b|
|!c&&!k&&a===b:false:a>0}if("height"===f.substring(a-6,a)){i=document.documentElement.clientHeight|
|document.body.clientHeight;return h!==null?j==="length"?c&&i>=b||k&&i<b|
|!c&&!k&&i===b:false:i>0}if("orientation"===f.substring(a-11,a)){a=document.documentElement.clientWidth|
|
-document.body.clientWidth;i=document.documentElement.clientHeight||
document.body.clientHeight;return
j==="absolute"?b==="portrait"?a<=i:a>i:false}if("aspect-ratio"===f.substring(a-12,a)){a=document.documentElement.clientWidth|
|document.body.clientWidth;i=document.documentElement.clientHeight||
document.body.clientHeight;a=a/i;b=b[1]/b[0];return
j==="aspect-ratio"?c&&a>=b||k&&a<b|
|!c&&!k&&a===b:false}if("device-aspect-ratio"===f.substring(a-19,a))return
j==="aspect-ratio"&&screen.width*b[1]===screen.height*
-b[0];if("color-index"===f.substring(a-11,a)){a=Math.pow(2,screen.colorDepth);return
h!==null?j==="absolute"?c&&a>=b|
|k&&a<b|
|!c&&!k&&a===b:false:a>0}if("color"===f.substring(a-5,a)){a=screen.colorDepth;return
h!==null?j==="absolute"?c&&a>=b||k&&a<b|
|!c&&!k&&a===b:false:a>0}if("resolution"===f.substring(a-10,a)){a=i==="dpcm"?u("1cm"):u("1in");return
h!==null?j==="resolution"?c&&a>=b||k&&a<b||!c&&!k&&a===b:false:a>0}return
false},v=function(f){for(var
h=f.getMediaQueries(),a={},c=0;c<h.length;c++){var i;
-var j=h[c];i=j.getValid();var
b=j.getExpressions(),l=b.length;if(l>0){for(var
m=0;m<l&&i;m++)i=o(b[m].mediaFeature,b[m].value);j=j.getNot();i=i&&!j||
j&&!i}else i=void 0;i&&(a[h[c].getMediaType()]=true)}var h=[],c=0,n;for(n
in
a)if(a.hasOwnProperty(n)){c>0&&(h[c++]=",");h[c++]=n}h.length>0&&(q[q.length]=cssHelper.addStyle("@media "+h.join("")+"{"+f.getCssText()+"}",false))},r=function(f){for(var
h=0;h<f.length;h++)v(f[h]);if(
ua.ie){document.documentElement.style.display="block";setTimeout(function(){document.documentElement.style.display=
-""},0);setTimeout(function(){cssHelper.broadcast("cssMediaQueriesTested")},100)}else
cssHelper.broadcast("cssMediaQueriesTested")},w=function(){for(var
f=0;f<q.length;f++)cssHelper.removeStyle(q[f]);q=[];cssHelper.mediaQueryLists(r)},m=0,s=function(){var
f=cssHelper.getViewportWidth(),h=cssHelper.getViewportHeight();if(
ua.ie){var
a=document.createElement("div");a.style.position="absolute";a.style.top="-9999em";a.style.overflow="scroll";document.body.appendChild(a);m=a.offsetWidth-a.clientWidth;document.body.removeChild(a)}var
c,
-i=function(){var
a=cssHelper.getViewportWidth(),b=cssHelper.getViewportHeight();if(Math.abs(a-f)>m|
|
Math.abs(b-h)>m){f=a;h=b;clearTimeout(c);c=setTimeout(function(){t()?cssHelper.broadcast("cssMediaQueriesTested"):w()},500)}};window.onresize=function(){var
a=window.onresize||function(){};return
function(){a();i()}}()},p=document.documentElement;p.style.marginLeft="-32767px";setTimeout(function(){p.style.marginTop=""},2E4);return
function(){if(t())p.style.marginLeft="";else{cssHelper.addListener("newStyleParsed",
-function(f){r(f.cssHelperParsed.mediaQueryLists)});cssHelper.addListener("cssMediaQueriesTested",function(){if(
ua.ie)p.style.width="1px";setTimeout(function(){p.style.width="";p.style.marginLeft=""},0);cssHelper.removeListener("cssMediaQueriesTested",arguments.callee)});i=document.createElement("div");i.style.cssText="position:absolute;top:-9999em;left:-9999em;margin:0;border:none;padding:0;width:1em;font-size:1em;";document.body.appendChild(i);if(i.offsetWidth!==16)i.style.fontSize=16/i.offsetWidth+
-"em";i.style.width="";w()}s()}}());try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e$$11){};
=======================================
--- /development/4.x/textpattern/setup/txpsql.php Fri May 17 10:28:18 2013
+++ /development/4.x/textpattern/setup/txpsql.php Sat May 18 01:25:05 2013
@@ -156,7 +156,8 @@
) $tabletype ";
// sql:txp_css
-$create_sql[] = "INSERT INTO `".PFX."txp_css`(`name`,`css`)
VALUES('default', '/*
==========================================================================\n
Styling and layout for all media\n
==========================================================================
*/\n\n\n/* correct block display not defined in IE8-9
*/\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nmain,\nnav,\nsection,\nsummary
{\n display: block;\n}\n\n/* correct `<summary>` not showing as clickable
*/\nsummary {\n cursor: pointer;\n}\n\n/* address styling for `hidden`
attribute not present in IE8-9 */\n[hidden] {\n display: none;\n}\n\n\n/*
Clearfix\n
==========================================================================
*/\n/*
http://nicolasgallagher.com/micro-clearfix-hack/
*/\n\nheader:after,\nfooter:after,\nnav
ul:after,\n.container:after,\n.clearfix:after,\n.paginator:after {\n
content: \"\";\n display: table;\n clear: both;\n border-collapse:
collapse;\n}\n\n\n\n/*
==========================================================================\n
Styling and layout for screen media (mobile first)\n
==========================================================================
*/\n\n\n@media screen {\n\n\n/* Layout\n
==========================================================================
*/\n\nhtml {\n -webkit-tap-highlight-color: rgba(0, 102, 255, 0.5);\n /*
always force scrollbar padding so we don\'t get \'jumping\' */\n
overflow-y: scroll;\n /* prevent iOS text size adjust after orientation
change, without disabling user zoom */\n -webkit-text-size-adjust:
100%;\n /* as above, for Windows Phone */\n -ms-text-size-adjust:
100%;\n}\n\nbody {\n margin: 0;\n background: #f7f7f7;\n}\n\n.wrapper
{\n border-bottom: solid 1px #cccccc;\n padding: 1px 0;\n background:
white;\n}\n\nheader,\nfooter,\n.container {\n margin: 0 auto;\n /* 960px
/ 1024px */\n width: 93.75%;\n max-width: 86em;\n}\n\nheader {\n
padding: 1em 0;\n}\n\nheader h1 {\n margin: 0;\n}\n\nheader h3 {\n /*
16px margin top */\n margin: 0.66667em 0 0;\n}\n\n.site-navigation {\n
border-top: solid 1px #bbbbbb;\n border-bottom: solid 1px #bbbbbb;\n
-webkit-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25);\n
-moz-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25);\n box-shadow:
inset 0 1px 0 0 rgba(255, 255, 255, 0.25);\n background-color: #e4e4e4;\n
/* Safari5.1+, Chrome10+ */\n background-image:
-webkit-linear-gradient(#e4e4e4, #cccccc);\n /* Firefox3.6 */\n
background-image: -moz-linear-gradient(#e4e4e4, #cccccc);\n /* Opera11.10+
*/\n background-image: -o-linear-gradient(#e4e4e4, #cccccc);\n /* CSS3
Compliant */\n background-image: linear-gradient(#e4e4e4,
#cccccc);\n}\n\n.site-navigation ul {\n margin: 0 auto;\n padding: 0;\n
max-width: 86em;\n list-style: none;\n}\n\n.site-navigation li {\n
margin: 0;\n border-bottom: solid 1px #bbbbbb;\n}\n\n.site-navigation
li:last-child {\n border-bottom: 0;\n}\n\n.site-navigation
li:hover,\n.site-navigation li.active {\n background-color: #f1f1f1;\n /*
Safari5.1+, Chrome10+ */\n background-image:
-webkit-linear-gradient(#f1f1f1, #d9d9d9);\n /* Firefox3.6 */\n
background-image: -moz-linear-gradient(#f1f1f1, #d9d9d9);\n /* Opera11.10+
*/\n background-image: -o-linear-gradient(#f1f1f1, #d9d9d9);\n /* CSS3
Compliant */\n background-image: linear-gradient(#f1f1f1,
#d9d9d9);\n}\n\n.site-navigation li:active {\n color: #1a1a1a;\n
-webkit-box-shadow: inset 0 0.2em 0.25em rgba(0, 0, 0, 0.15);\n
-moz-box-shadow: inset 0 0.2em 0.25em rgba(0, 0, 0, 0.15);\n box-shadow:
inset 0 0.2em 0.25em rgba(0, 0, 0, 0.15);\n background-color: #bfbfbf;\n
/* Safari5.1+, Chrome10+ */\n background-image:
-webkit-linear-gradient(#bfbfbf, #d7d7d7);\n /* Firefox3.6 */\n
background-image: -moz-linear-gradient(#bfbfbf, #d7d7d7);\n /* Opera11.10+
*/\n background-image: -o-linear-gradient(#bfbfbf, #d7d7d7);\n /* CSS3
Compliant */\n background-image: linear-gradient(#bfbfbf,
#d7d7d7);\n}\n\n.site-navigation li a {\n text-shadow: 1px 1px 0 rgba(255,
255, 255, 0.5);\n display: block;\n padding: 0.5em 3.125%;\n color:
#333333;\n text-decoration: none;\n}\n\n[role=\"article\"] {\n
margin-bottom: 2em;\n}\n\n[role=\"complementary\"] {\n margin: 2em 0;\n
border-top: dashed 2px #cccccc;\n padding-top:
1em;\n}\n\n[role=\"search\"] p {\n margin-top: 0;\n}\n\nfooter {\n
padding: 0.5em 0;\n}\n\n/* address differences between Firefox and other
browsers */\nhr {\n -webkit-box-sizing: content-box;\n -moz-box-sizing:
content-box;\n box-sizing: content-box;\n height: 0;\n}\n\n\n/* Links\n
==========================================================================
*/\n\na {\n text-decoration: none;\n color:
#114eb1;\n}\n\na:hover,\na:active {\n /* improve readability when focused
and also mouse hovered in all browsers */\n outline: 0;\n
text-decoration: underline;\n color: #0066ff;\n}\n\na:focus {\n outline:
thin dotted #0066ff;\n}\n\na:visited {\n color: #183082;\n}\n\nheader a
{\n color: #333333;\n -moz-border-radius: 0.125em;\n border-radius:
0.125em;\n}\n\nheader a:hover,\nheader a:active {\n background:
#e8e8e8;\n}\n\nh1 a {\n color: #333333;\n -moz-border-radius: 0.125em;\n
border-radius: 0.125em;\n}\n\nh1 a:visited {\n color: #333333;\n}\n\nh1
a:hover,\nh1 a:active {\n text-decoration: none;\n color: #333333;\n
background: #ededed;\n}\n\n.paginator {\n margin-bottom:
2em;\n}\n\n.paginator-prev {\n float: left;\n}\n\n.paginator-next {\n
float: right;\n}\n\n\n/* Typography\n
==========================================================================
*/\n\nbody {\n font-family: \"PT Serif\", Georgia, serif;\n /* 14px /
16px */\n font-size: 16px;\n line-height: 1.5;\n color:
#333333;\n}\n\n.site-navigation {\n font-family: Arial, Helvetica,
sans-serif;\n font-weight: bold;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n
clear: both;\n font-family: Arial, Helvetica, sans-serif;\n}\n\nh1 {\n /*
40px / 16px */\n font-size: 2.5em;\n /* 48px / 40px */\n line-height:
1.2;\n /* 30px margin top/bottom */\n margin: 0.625em 0;\n}\n\nh2 {\n /*
32px / 16px */\n font-size: 2em;\n /* 40px / 32px */\n line-height:
1.25;\n /* 24px margin top/bottom */\n margin: 0.75em 0;\n}\n\nh3 {\n /*
24px / 16px */\n font-size: 1.5em;\n /* 32px / 24px */\n line-height:
1.33333;\n /* 20px margin top/bottom */\n margin: 0.83333em 0;\n}\n\nh4
{\n /* 20px / 16px */\n font-size: 1.25em;\n /* 28px / 20px */\n
line-height: 1.4;\n /* 16px margin top/bottom */\n margin: 0.8em
0;\n}\n\n/* address style set to `bolder` in Firefox4+, Safari5, and Chrome
*/\nb,\nstrong {\n font-weight: bold;\n}\n\naddress {\n margin: 1em
0;\n}\n\nblockquote {\n /* 18px / 16px */\n font-size: 1.125em;\n
font-style: italic;\n /* 16px / 18px */\n margin: 0.88889em 0 0.88889em
0;\n border-left: 3px solid #cccccc;\n padding: 0 0 0 0.88889em;\n}\n\n/*
sets consistent quote types */\nq {\n quotes: \"\\\\201C\" \"\\\\201D\"
\"\\\\2018\" \"\\\\2019\";\n}\n\n/* address styling not present in Safari5
and Chrome */\ndfn {\n font-style: italic;\n}\n\n/* address styling not
present in IE8-9, Safari5, Chrome */\nabbr[title],\ndfn[title] {\n
border-bottom: dotted 1px;\n cursor: help;\n}\n\nmark,\nvar {\n padding:
0 0.25em;\n /* 4px / 16px */\n -moz-border-radius: 0.25em;\n
border-radius: 0.25em;\n color: #333333;\n background:
#e8f0fd;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family: Cousine, Consolas,
\"Lucida Console\", Monaco, monospace;\n}\n\ncode,\nkbd,\nsamp {\n /* 14px
/ 16px */\n font-size: 0.875em;\n border: 1px solid #e3e3e3;\n /* 2px /
14px + 3px / 14px */\n padding: 0.07143em 0.21429em;\n /* 4px / 14px
*/\n -moz-border-radius: 0.28571em;\n border-radius: 0.28571em;\n
background: #f7f7f7;\n}\n\npre {\n /* 14px / 16px */\n font-size:
0.875em;\n overflow-x: auto;\n border: 1px solid #e3e3e3;\n padding:
1em;\n /* 8px / 14px */\n -moz-border-radius: 0.57143em;\n
border-radius: 0.57143em;\n background: #f7f7f7;\n /* set tab size to 4
spaces */\n tab-size: 4;\n}\n\npre code {\n /* 14px */\n font-size:
1em;\n border: 0;\n padding: 0;\n background: none;\n}\n\n/* prevent
`<sub>` and `<sup>` affecting line height in all browsers */\nsub,\nsup
{\n /* 13px / 16px */\n font-size: 0.8125em;\n line-height: 0;\n
position: relative;\n vertical-align: baseline;\n}\n\nsup {\n top:
-0.5em;\n}\n\nsub {\n bottom:
-0.25em;\n}\n\nsmall,\nfigcaption,\ntfoot,\n.footnote {\n /* 13px / 16px
*/\n font-size: 0.8125em;\n}\n\nfigcaption,\ntfoot,\n.footnote {\n color:
#999999;\n}\n\nfigcaption {\n margin-top: 0.5em;\n font-style:
italic;\n}\n\n\n/* Support for non-latin languages (can be removed if not
required)\n
==========================================================================
*/\n\nhtml[lang=\"ja-jp\"] {\n font-family: \"Hiragino Kaku Gothic Pro\",
Meiryo, sans-serif;\n}\n\nhtml[lang=\"ko-kr\"] {\n font-family: GulimChe,
Gulim, sans-serif;\n}\n\nhtml[lang=\"zh-cn\"] {\n font-family: SimHei,
sans-serif;\n}\n\nhtml[lang=\"zh-tw\"] {\n font-family: PMingLiU,
sans-serif;\n}\n\n\n/* Embedded content\n
==========================================================================
*/\n\n/* correct `inline-block` display not defined in IE8-9
*/\naudio,\ncanvas,\nvideo {\n display: inline-block;\n}\n\n/* make
embedded elements responsive */\nimg,\nembed,\nobject,\nvideo {\n
max-width: 100%;\n height: auto;\n}\n\nimg {\n /* remove border when
inside `<a>` element in IE8-9 */\n border: 0;\n}\n\nimg.align-left {\n
float: left;\n margin: 1em 1em 1em 0;\n}\n\nimg.align-right {\n float:
right;\n margin: 1em 0 1em 1em;\n}\n\nimg.align-center {\n display:
block;\n margin: 1em auto;\n}\n\n/* address margin not present in IE8-9
and Safari5 */\nfigure {\n margin: 0;\n}\n\n/* prevent modern browsers
from displaying `<audio>` without controls, remove excess height in iOS5
devices */\naudio:not([controls]) {\n display: none;\n height:
0;\n}\n\n/* correct overflow displayed oddly in IE9 */\nsvg:not(:root) {\n
overflow: hidden;\n}\n\n\n/* Tables\n
==========================================================================
*/\n\n/* consistent tables */\ntable {\n margin-bottom: 1em;\n
border-collapse: collapse;\n border-spacing: 0;\n width:
100%;\n}\n\ncaption {\n font-style: italic;\n text-align: left;\n
margin-bottom: 0.5em;\n}\n\nth,\ntd {\n /* make table cells align top and
left by default */\n vertical-align: top;\n text-align: left;\n
border-bottom: solid 1px #cccccc;\n padding: 0.25em 0.5em 0.25em
0;\n}\n\nth:last-child,\ntd:last-child {\n padding-right: 0;\n}\n\nthead
th,\nthead td {\n border-bottom: solid 2px #cccccc;\n}\n\ntfoot th,\ntfoot
td {\n border-bottom: 0;\n padding: 0.325em 0.61538em 0.325em
0;\n}\n\ntfoot:last-child {\n padding-right: 0;\n}\n\n\n/* Lists\n
==========================================================================
*/\n\n/* address paddings set differently */\nmenu,\nol,\nul {\n padding:
0 0 0 2em;\n}\n\n/* remove margins from nested lists */\ndl dl,\nul ul,\nol
ol {\n margin: 0;\n}\n\ndd {\n margin: 0 0 0 2em;\n}\n\ndt {\n
font-style: italic;\n}\n\n.article-list {\n list-style: none;\n margin: 0
0 2em 0;\n padding: 0;\n border-top: solid 1px
#cccccc;\n}\n\n.article-list li {\n border-bottom: solid 1px #cccccc;\n
margin-bottom: 0;\n}\n\n\n/* Forms\n
==========================================================================
*/\n\n/* zero out fieldsets */\nfieldset {\n margin: 0;\n border: 0;\n
padding: 0;\n}\n\n/* zero out legends */\nlegend {\n border: 0;\n
padding: 0;\n}\n\nbutton,\ninput,\nselect,\ntextarea {\n /* address
margins set differently in Firefox4+, Safari5+, and Chrome */\n margin:
0;\n font-family: Arial, Helvetica, sans-serif;\n /* correct font size
not being inherited in all browsers */\n font-size: 100%;\n font-size:
0.875em;\n line-height: 1.4;\n vertical-align: baseline;\n}\n\n/* colour
placeholder text (WebKit and Mozilla only, so far)
*/\ninput::-webkit-input-placeholder,\ntextarea::-webkit-input-placeholder
{\n color:
#999999;\n}\n\ninput:-moz-placeholder,\ntextarea:-moz-placeholder {\n
color: #999999;\n}\n\n/* remove inner padding and border in Firefox 4+
*/\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n
padding: 0;\n}\n\n/* remove inner padding and search cancel button in
Safari5+ and Chrome on OS X
*/\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration
{\n -webkit-appearance:
none;\n}\n\ninput[type=\"color\"],\ninput[type=\"date\"],\ninput[type=\"datetime\"],\ninput[type=\"datetime-local\"],\ninput[type=\"email\"],\ninput[type=\"month\"],\ninput[type=\"number\"],\ninput[type=\"password\"],\ninput[type=\"search\"],\ninput[type=\"tel\"],\ninput[type=\"text\"],\ninput[type=\"time\"],\ninput[type=\"url\"],\ninput[type=\"week\"],\nselect,\ntextarea
{\n /* remove iOS Safari default styling */\n -webkit-appearance:
none;\n text-align: left;\n border: solid 1px #cccccc;\n padding:
0.5em;\n background: #fff;\n outline: 0;\n -moz-border-radius: 0;\n
border-radius: 0;\n -webkit-box-sizing: border-box;\n -moz-box-sizing:
border-box;\n box-sizing:
border-box;\n}\n\ninput[type=\"color\"]:focus,\ninput[type=\"date\"]:focus,\ninput[type=\"datetime\"]:focus,\ninput[type=\"datetime-local\"]:focus,\ninput[type=\"email\"]:focus,\ninput[type=\"month\"]:focus,\ninput[type=\"number\"]:focus,\ninput[type=\"password\"]:focus,\ninput[type=\"search\"]:focus,\ninput[type=\"tel\"]:focus,\ninput[type=\"text\"]:focus,\ninput[type=\"time\"]:focus,\ninput[type=\"url\"]:focus,\ninput[type=\"week\"]:focus,\nselect:focus,\ntextarea:focus
{\n /* better form focus glows */\n outline: 0;\n -webkit-box-shadow: 0
0 7px #0066ff;\n -moz-box-shadow: 0 0 7px #0066ff;\n box-shadow: 0 0 7px
#0066ff;\n /* Opera fix */\n z-index: 1;\n}\n\ninput[type=\"color\"] {\n
padding: 0;\n /* 35px / 14px */\n height: 2.5em;\n}\n\n/* address box
sizing set to `content-box` and excess padding in IE8-9
*/\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n padding: 0;\n
box-sizing: border-box;\n}\n\n[role=\"complementary\"]
input[type=\"search\"] {\n margin-right: 2px;\n width: 66%;\n display:
inline-block;\n}\n\n/* address inconsistent `text-transform` inheritance
for `select` in Firefox 4+ and Opera */\nselect {\n text-transform:
none;\n}\n\nselect[size],\nselect[multiple] {\n height:
auto;\n}\n\nselect[size=\"0\"],\nselect[size=\"1\"] {\n /* 35px / 14px
*/\n height: 2.5em;\n}\n\noptgroup {\n font-family: Arial, Helvetica,
sans-serif;\n font-style: normal;\n font-weight: normal;\n color:
#333333;\n}\n\n/* kill phantom spacing and dotted border that appears in
Firefox */\noptgroup::-moz-focus-inner {\n border: 0;\n padding:
0;\n}\n\ntextarea {\n height: auto;\n min-height: 3em;\n /* remove
default vertical scrollbar in IE8-9 */\n overflow: auto;\n resize:
vertical;\n width: 100%;\n}\n\n/* make sure disable elements really are
disabled */\nbutton[disabled],\nhtml
input[disabled],\ninput[type=\"button\"][disabled],\ninput[type=\"reset\"][disabled],\ninput[type=\"submit\"][disabled],\nselect[disabled],\nselect[disabled]
option,\nselect[disabled] optgroup,\ntextarea[disabled],\nspan.disabled
{\n opacity: 1;\n border-color: #e3e3e3 !important;\n text-shadow:
none !important;\n color: #999999 !important;\n background:
#eeeeee !important;\n cursor: default !important;\n top:
0 !important;\n}\n\n.large input {\n width: 50%;\n min-width:
302px;\n}\n\n.large textarea {\n height: 156px;\n}\n\n.small input {\n
width: 25%;\n min-width: 151px;\n}\n\n.small textarea {\n height:
5.5em;\n}\n\n\n/* Buttons\n
==========================================================================
*/\n\n/* address inconsistent `text-transform` inheritance for `button` in
Chrome, Safari5+, and IE6+ */\nbutton {\n text-transform:
none;\n}\n\nbutton,\ninput[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"]
{\n /* remove iOS Safari default styling */\n -webkit-appearance:
none;\n width: auto;\n overflow: visible;\n font-family: Arial,
Helvetica, sans-serif;\n font-weight: normal;\n text-align: center;\n
text-decoration: none;\n text-shadow: 1px 1px 0 rgba(255, 255, 255,
0.5);\n cursor: pointer;\n border: solid 1px #bbbbbb;\n
-moz-border-radius: 0.5em;\n border-radius: 0.5em;\n padding: 0.5em
1em;\n display: inline-block;\n color: #333333;\n -webkit-box-shadow:
inset 0 1px 0 0 rgba(255, 255, 255, 0.25);\n -moz-box-shadow: inset 0 1px
0 0 rgba(255, 255, 255, 0.25);\n box-shadow: inset 0 1px 0 0 rgba(255,
255, 255, 0.25);\n -webkit-background-clip: padding;\n
-moz-background-clip: padding;\n background-clip: padding-box;\n
-webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n
box-sizing: border-box;\n background-color: #e4e4e4;\n /* Safari5.1+,
Chrome10+ */\n background-image: -webkit-linear-gradient(#e4e4e4,
#cccccc);\n /* Firefox3.6 */\n background-image:
-moz-linear-gradient(#e4e4e4, #cccccc);\n /* Opera11.10+ */\n
background-image: -o-linear-gradient(#e4e4e4, #cccccc);\n /* CSS3
Compliant */\n background-image: linear-gradient(#e4e4e4,
#cccccc);\n}\n\nbutton:hover,\ninput[type=\"button\"]:hover,\ninput[type=\"reset\"]:hover,\ninput[type=\"submit\"]:hover
{\n background-color: #f1f1f1;\n /* Safari5.1+, Chrome10+ */\n
background-image: -webkit-linear-gradient(#f1f1f1, #d9d9d9);\n /*
Firefox3.6 */\n background-image: -moz-linear-gradient(#f1f1f1,
#d9d9d9);\n /* Opera11.10+ */\n background-image:
-o-linear-gradient(#f1f1f1, #d9d9d9);\n /* CSS3 Compliant */\n
background-image: linear-gradient(#f1f1f1,
#d9d9d9);\n}\n\nbutton:active,\ninput[type=\"button\"]:active,\ninput[type=\"reset\"]:active,\ninput[type=\"submit\"]:active
{\n color: #1a1a1a;\n -webkit-box-shadow: inset 0 0.2em 0.25em rgba(0, 0,
0, 0.15);\n -moz-box-shadow: inset 0 0.2em 0.25em rgba(0, 0, 0, 0.15);\n
box-shadow: inset 0 0.2em 0.25em rgba(0, 0, 0, 0.15);\n background-color:
#bfbfbf;\n /* Safari5.1+, Chrome10+ */\n background-image:
-webkit-linear-gradient(#bfbfbf, #d7d7d7);\n /* Firefox3.6 */\n
background-image: -moz-linear-gradient(#bfbfbf, #d7d7d7);\n /* Opera11.10+
*/\n background-image: -o-linear-gradient(#bfbfbf, #d7d7d7);\n /* CSS3
Compliant */\n background-image: linear-gradient(#bfbfbf,
#d7d7d7);\n}\n\nbutton:focus,\ninput[type=\"button\"]:focus,\ninput[type=\"reset\"]:focus,\ninput[type=\"submit\"]:focus
{\n /* better button focus glows */\n outline: 0;\n -webkit-box-shadow:
0 0 7px #0066ff;\n -moz-box-shadow: 0 0 7px #0066ff;\n box-shadow: 0 0
7px #0066ff;\n z-index: 1;\n}\n\n\n/* Comments\n
==========================================================================
*/\n\n.comments {\n margin-bottom: 1em;\n -moz-border-radius: 0.5em;\n
border-radius: 0.5em;\n padding: 1px 1em;\n background: #f7f7f7;\n
word-wrap: break-word;\n}\n\n.comments h4 .is-author {\n font-weight:
normal;\n}\n\n.comments h4 .comment-anchor {\n float: right;\n
font-weight: normal;\n}\n\n.comments-author {\n background:
#efefef;\n}\n\n#cpreview {\n margin-bottom: 2px;\n -moz-border-radius:
0.5em;\n border-radius: 0.5em;\n padding: 1em;\n background:
#fff3d6;\n}\n\n.comments_error {\n background:
#f2dede !important;\n}\n\n.required,\n.error_message li {\n color:
#9d261d;\n}\n\n.required {\n cursor: help;\n}\n\n\n/* Popup comments (can
be removed if you don\'t use popups)\n
==========================================================================
*/\n\n#popup-page .container {\n max-width: 52em;\n}\n\n\n} /* end of
@media screen */\n\n\n\n/*
==========================================================================\n
addresses `<select>` alignment in Safari/Chrome\n
==========================================================================
*/\n\n\n@media screen and (-webkit-min-device-pixel-ratio: 0)
{\n\n\nselect[size],\nselect[multiple],\nselect[multiple][size] {\n
background-image: none;\n padding-right:
0.5em;\n}\n\nselect,\nselect[size=\"0\"],\nselect[size=\"1\"] {\n
background: white url(\"data:image/svg+xml,<svg version=\'1.1\'
baseProfile=\'full\' xmlns=\'
http://www.w3.org/2000/svg\'
xmlns:xlink=\'
http://www.w3.org/1999/xlink\' x=\'0px\' y=\'0px\'
width=\'21px\' height=\'7px\' viewBox=\'0 0 21 7\' enable-background=\'new
0 0 21 7\' xml:space=\'preserve\'><polygon fill=\'#333333\' points=\'2,0
7,7 12,0\'/></svg>\") no-repeat right center;\n padding-right: 2.25em;\n
-webkit-background-size: 1.5em 0.5em;\n background-size: 1.5em
0.5em;\n}\n\n\n} /* end of @media screen and
(-webkit-min-device-pixel-ratio: 0) */\n\n\n\n/*
==========================================================================\n
Additional layout for screen media 576px and up\n
==========================================================================
*/\n\n\n@media only screen and (min-width: 36em) {\n\n\n.site-navigation ul
{\n width: 93.75%;\n}\n\n.site-navigation li {\n float: left;\n
border-right: solid 1px #bbbbbb;\n border-bottom:
0;\n}\n\n.site-navigation li:first-child {\n border-left: solid 1px
#bbbbbb;\n}\n\n.site-navigation li a {\n padding: 0.5em 1em;\n}\n\n\n} /*
end of @media screen and (min-width: 36em) */\n\n\n\n/*
==========================================================================\n
Additional layout for screen media 864px and up\n
==========================================================================
*/\n\n\n@media only screen and (min-width: 54em) {\n\n\nmain {\n float:
left;\n width: 62.5%;\n}\n\n[role=\"complementary\"] {\n float: right;\n
border: solid 1px #e3e3e3;\n -moz-border-radius: 0.5em;\n border-radius:
0.5em;\n padding: 0 1em;\n width: 30%;\n background: #f7f7f7;\n}\n\n\n}
/* end of @media screen and (min-width: 54em) */\n\n\n\n/*
==========================================================================\n
Additional layout for screen media 1280px and up\n
==========================================================================
*/\n\n\n@media only screen and (min-width: 82em)
{\n\n\nheader,\nfooter,\n.container,\n.site-navigation ul {\n /* 1200px /
1280px */\n width: 93.75%;\n}\n\n\n} /* end of @media screen and
(min-width: 82em) */\n\n\n\n/*
==========================================================================\n
Fix for reponsive embedded content in IE8\n
==========================================================================
*/\n\n\n@media \\\\0screen {\n\n\nimg,\nvideo {\n width: auto;\n}\n\n\n}
/* end of @media \\\\0screen */\n\n\n\n/*
==========================================================================\n
Styling and layout for print media\n
==========================================================================
*/\n\n\n@media print {\n\n\n* {\n /* black prints faster -
http://sanbeiji.com/archives/953 */\n color: black !important;\n
text-shadow: none !important;\n background: transparent !important;\n
-webkit-box-shadow: none !important;\n -moz-box-shadow:
none !important;\n box-shadow: none !important;\n}\n\nbody {\n
font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n
font-size: 8pt;\n line-height: 1.5;\n margin: 0.5cm;\n padding: 2em
5em;\n}\n\nheader {\n border-bottom: solid 1pt black;\n}\n\nfooter {\n
margin-top: 12pt;\n border-top: solid 1pt black;\n}\n\n/* hide unnecessary
content from print
*/\nnav,\naudio,\nvideo,\nform,\n[role=\"complementary\"],\n#comments-form,\n.comments
h4 a:last-child,\n.paginator {\n display: none;\n}\n\na {\n
text-decoration: none;\n}\n\n/* show URLs for certain links in print
*/\na[href]:after {\n content: \" (\" attr(href) \")\";\n}\n\nh1
a[href]:after,\nh2 a[href]:after,\nh3 a[href]:after,\nsup
a[href]:after,\na[itemprop=\"discussionUrl\"]:after,\na[rel=\"tag\"]:after
{\n content: \"\";\n}\n\n/* show long-form for abbreviations in print
*/\nabbr[title]:after {\n content: \" (\" attr(title) \")\";\n}\n\nh1 {\n
font-size: 32pt;\n line-height: 36pt;\n font-weight: normal;\n margin:
0.5em 0;\n}\n\nh2 {\n font-size: 18pt;\n line-height: 23pt;\n
page-break-after: avoid;\n orphans: 3;\n widows: 3;\n margin: 0.66667em
0;\n}\n\nh3 {\n font-size: 12pt;\n line-height: 17pt;\n
page-break-after: avoid;\n orphans: 3;\n widows: 3;\n margin: 0.75em
0;\n}\n\nh4 {\n font-size: 10pt;\n line-height: 14pt;\n
page-break-after: avoid;\n orphans: 3;\n widows: 3;\n margin: 0.875em
0;\n}\n\np {\n orphans: 3;\n widows:
3;\n}\n\nfooter,\nfigcaption,\ntfoot,\nsmall,\n.footnote {\n font-size:
6pt;\n}\n\nblockquote {\n font-size: 16pt;\n border-left: 3pt solid
black;\n padding: 0 0 0 8pt;\n page-break-inside: avoid;\n}\n\npre {\n
margin-bottom: 8pt;\n border: solid 1pt black;\n padding:
8pt;\n}\n\n.comments {\n page-break-inside:
avoid;\n}\n\npre,\ncode,\nkbd,\nsamp,\nvar {\n font-family: \"Courier
New\", Courier, monospace;\n}\n\ndfn,\nq,\ndt {\n font-style:
italic;\n}\n\nimg {\n max-width: 100% !important;\n page-break-inside:
avoid;\n}\n\nimg.align-left {\n float: left;\n margin: 1em 1em 1em
0;\n}\n\nimg.align-right {\n float: right;\n margin: 1em 0 1em
1em;\n}\n\nimg.align-center {\n display: block;\n margin: 1em
auto;\n}\n\nfigure {\n margin-bottom: 8pt;\n}\n\nfigcaption {\n
margin-top: 4pt;\n}\n\nul {\n list-style: square;\n margin: 0 0 8pt
1.8em;\n}\n\nol {\n list-style: decimal;\n margin: 0 0 8pt
1.8em;\n}\n\ndl {\n margin: 0 0 8pt 1.8em;\n}\n\ntable {\n margin-bottom:
8pt;\n width: 100%;\n}\n\ncaption {\n font-weight: bold;\n text-align:
left;\n margin-bottom: 4pt;\n}\n\n/* display table head across multi-page
tables */\nthead {\n display: table-header-group;\n}\n\nthead th {\n
border-top: solid 1pt black;\n}\n\ntr {\n page-break-inside:
avoid;\n}\n\nth,\ntd {\n border-bottom: solid 1pt black;\n padding: 4pt
8pt;\n}\n\n\n} /* end of @media print */\n')";
+$create_sql[] = "INSERT INTO `".PFX."txp_css`(`name`,`css`)
VALUES('default', '/*
==========================================================================\n
Styling and layout for all media\n
==========================================================================
*/\n\n\n/* correct block display not defined in IE8-9
*/\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nmain,\nnav,\nsection,\nsummary
{\n display: block;\n}\n\n/* correct `<summary>` not showing as clickable
*/\nsummary {\n cursor: pointer;\n}\n\n/* address styling for `hidden`
attribute not present in IE8-9 */\n[hidden] {\n display: none;\n}\n\n\n/*
Clearfix\n
==========================================================================
*/\n/*
http://nicolasgallagher.com/micro-clearfix-hack/
*/\n\nheader:after,\nfooter:after,\nnav
ul:after,\n.container:after,\n.clearfix:after,\n.paginator:after {\n
content: \"\";\n display: table;\n clear: both;\n border-collapse:
collapse;\n}\n\n\n\n/*
==========================================================================\n
Styling and layout for screen media (mobile first)\n
==========================================================================
*/\n\n\n@media screen {\n\n\n/* Layout\n
==========================================================================
*/\n\nhtml {\n -webkit-tap-highlight-color: rgba(0, 102, 255, 0.5);\n /*
always force scrollbar padding so we don\'t get \'jumping\' */\n
overflow-y: scroll;\n /* prevent iOS text size adjust after orientation
change, without disabling user zoom */\n -webkit-text-size-adjust:
100%;\n /* as above, for Windows Phone */\n -ms-text-size-adjust:
100%;\n}\n\nbody {\n margin: 0;\n background: #f7f7f7;\n}\n\n.wrapper
{\n border-bottom: solid 1px #cccccc;\n padding: 1px 0;\n background:
white;\n}\n\nheader,\nfooter,\n.container {\n margin: 0 auto;\n /* 960px
/ 1024px */\n width: 93.75%;\n max-width: 86em;\n}\n\nheader {\n
padding: 1em 0;\n}\n\nheader h1 {\n margin: 0;\n}\n\nheader h3 {\n /*
16px margin top */\n margin: 0.66667em 0 0;\n}\n\n.site-navigation {\n
border-top: solid 1px #bbbbbb;\n border-bottom: solid 1px #bbbbbb;\n
-webkit-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25);\n
-moz-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25);\n box-shadow:
inset 0 1px 0 0 rgba(255, 255, 255, 0.25);\n background-color: #e4e4e4;\n
/* Safari5.1+, Chrome10+ */\n background-image:
-webkit-linear-gradient(#e4e4e4, #cccccc);\n /* Firefox3.6 */\n
background-image: -moz-linear-gradient(#e4e4e4, #cccccc);\n /* Opera11.10+
*/\n background-image: -o-linear-gradient(#e4e4e4, #cccccc);\n /* CSS3
Compliant */\n background-image: linear-gradient(#e4e4e4,
#cccccc);\n}\n\n.site-navigation ul {\n margin: 0 auto;\n padding: 0;\n
max-width: 86em;\n list-style: none;\n}\n\n.site-navigation li {\n
margin: 0;\n border-bottom: solid 1px #bbbbbb;\n}\n\n.site-navigation
li:last-child {\n border-bottom: 0;\n}\n\n.site-navigation
li:hover,\n.site-navigation li.active {\n background-color: #f1f1f1;\n /*
Safari5.1+, Chrome10+ */\n background-image:
-webkit-linear-gradient(#f1f1f1, #d9d9d9);\n /* Firefox3.6 */\n
background-image: -moz-linear-gradient(#f1f1f1, #d9d9d9);\n /* Opera11.10+
*/\n background-image: -o-linear-gradient(#f1f1f1, #d9d9d9);\n /* CSS3
Compliant */\n background-image: linear-gradient(#f1f1f1,
#d9d9d9);\n}\n\n.site-navigation li:active {\n color: #1a1a1a;\n
-webkit-box-shadow: inset 0 0.2em 0.25em rgba(0, 0, 0, 0.15);\n
-moz-box-shadow: inset 0 0.2em 0.25em rgba(0, 0, 0, 0.15);\n box-shadow:
inset 0 0.2em 0.25em rgba(0, 0, 0, 0.15);\n background-color: #bfbfbf;\n
/* Safari5.1+, Chrome10+ */\n background-image:
-webkit-linear-gradient(#bfbfbf, #d7d7d7);\n /* Firefox3.6 */\n
background-image: -moz-linear-gradient(#bfbfbf, #d7d7d7);\n /* Opera11.10+
*/\n background-image: -o-linear-gradient(#bfbfbf, #d7d7d7);\n /* CSS3
Compliant */\n background-image: linear-gradient(#bfbfbf,
#d7d7d7);\n}\n\n.site-navigation li a {\n text-shadow: 1px 1px 0 rgba(255,
255, 255, 0.5);\n display: block;\n padding: 0.5em 3.125%;\n color:
#333333;\n text-decoration: none;\n}\n\n[role=\"article\"] {\n
margin-bottom: 2em;\n}\n\n[role=\"complementary\"] {\n margin: 2em 0;\n
border-top: dashed 2px #cccccc;\n padding-top:
1em;\n}\n\n[role=\"search\"] p {\n margin-top: 0;\n}\n\nfooter {\n
padding: 0.5em 0;\n}\n\n/* address differences between Firefox and other
browsers */\nhr {\n -webkit-box-sizing: content-box;\n -moz-box-sizing:
content-box;\n box-sizing: content-box;\n height: 0;\n}\n\n\n/* Links\n
==========================================================================
*/\n\na {\n text-decoration: none;\n color:
#114eb1;\n}\n\na:hover,\na:active {\n /* improve readability when focused
and also mouse hovered in all browsers */\n outline: 0;\n
text-decoration: underline;\n color: #0066ff;\n}\n\na:focus {\n outline:
thin dotted #0066ff;\n}\n\na:visited {\n color: #183082;\n}\n\nheader a
{\n color: #333333;\n -moz-border-radius: 0.125em;\n border-radius:
0.125em;\n}\n\nheader a:hover,\nheader a:active {\n background:
#e8e8e8;\n}\n\nh1 a {\n color: #333333;\n -moz-border-radius: 0.125em;\n
border-radius: 0.125em;\n}\n\nh1 a:visited {\n color: #333333;\n}\n\nh1
a:hover,\nh1 a:active {\n text-decoration: none;\n color: #333333;\n
background: #ededed;\n}\n\n.paginator {\n margin-bottom:
2em;\n}\n\n.paginator-prev {\n float: left;\n}\n\n.paginator-next {\n
float: right;\n}\n\n\n/* Typography\n
==========================================================================
*/\n\nbody {\n font-family: \"PT Serif\", Georgia, serif;\n /* 14px /
16px */\n font-size: 16px;\n line-height: 1.5;\n color:
#333333;\n}\n\n.site-navigation {\n font-family: Arial, Helvetica,
sans-serif;\n font-weight: bold;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n
clear: both;\n font-family: Arial, Helvetica, sans-serif;\n}\n\nh1 {\n /*
40px / 16px */\n font-size: 2.5em;\n /* 48px / 40px */\n line-height:
1.2;\n /* 30px margin top/bottom */\n margin: 0.625em 0;\n}\n\nh2 {\n /*
32px / 16px */\n font-size: 2em;\n /* 40px / 32px */\n line-height:
1.25;\n /* 24px margin top/bottom */\n margin: 0.75em 0;\n}\n\nh3 {\n /*
24px / 16px */\n font-size: 1.5em;\n /* 32px / 24px */\n line-height:
1.33333;\n /* 20px margin top/bottom */\n margin: 0.83333em 0;\n}\n\nh4
{\n /* 20px / 16px */\n font-size: 1.25em;\n /* 28px / 20px */\n
line-height: 1.4;\n /* 16px margin top/bottom */\n margin: 0.8em
0;\n}\n\n/* address style set to `bolder` in Firefox4+, Safari5, and Chrome
*/\nb,\nstrong {\n font-weight: bold;\n}\n\naddress {\n margin: 1em
0;\n}\n\nblockquote {\n /* 18px / 16px */\n font-size: 1.125em;\n
font-style: italic;\n /* 16px / 18px */\n margin: 0.88889em 0 0.88889em
0;\n border-left: 3px solid #cccccc;\n padding: 0 0 0 0.88889em;\n}\n\n/*
sets consistent quote types */\nq {\n quotes: \"\\\\201C\" \"\\\\201D\"
\"\\\\2018\" \"\\\\2019\";\n}\n\n/* address styling not present in Safari5
and Chrome */\ndfn {\n font-style: italic;\n}\n\n/* address styling not
present in IE8-9, Safari5, Chrome */\nabbr[title],\ndfn[title] {\n
border-bottom: dotted 1px;\n cursor: help;\n}\n\nmark,\nvar {\n padding:
0 0.25em;\n /* 4px / 16px */\n -moz-border-radius: 0.25em;\n
border-radius: 0.25em;\n color: #333333;\n background:
#e8f0fd;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family: Cousine, Consolas,
\"Lucida Console\", Monaco, monospace;\n}\n\ncode,\nkbd,\nsamp {\n /* 14px
/ 16px */\n font-size: 0.875em;\n border: 1px solid #e3e3e3;\n /* 2px /
14px + 3px / 14px */\n padding: 0.07143em 0.21429em;\n /* 4px / 14px
*/\n -moz-border-radius: 0.28571em;\n border-radius: 0.28571em;\n
background: #f7f7f7;\n}\n\npre {\n /* 14px / 16px */\n font-size:
0.875em;\n overflow-x: auto;\n border: 1px solid #e3e3e3;\n padding:
1em;\n /* 8px / 14px */\n -moz-border-radius: 0.57143em;\n
border-radius: 0.57143em;\n background: #f7f7f7;\n /* set tab size to 4
spaces */\n tab-size: 4;\n}\n\npre code {\n /* 14px */\n font-size:
1em;\n border: 0;\n padding: 0;\n background: none;\n}\n\n/* prevent
`<sub>` and `<sup>` affecting line height in all browsers */\nsub,\nsup
{\n /* 13px / 16px */\n font-size: 0.8125em;\n line-height: 0;\n
position: relative;\n vertical-align: baseline;\n}\n\nsup {\n top:
-0.5em;\n}\n\nsub {\n bottom:
-0.25em;\n}\n\nsmall,\nfigcaption,\ntfoot,\n.footnote {\n /* 13px / 16px
*/\n font-size: 0.8125em;\n}\n\nfigcaption,\ntfoot,\n.footnote {\n color:
#999999;\n}\n\nfigcaption {\n margin-top: 0.5em;\n font-style:
italic;\n}\n\n\n/* Support for non-latin languages (can be removed if not
required)\n
==========================================================================
*/\n\nhtml[lang=\"ja-jp\"] {\n font-family: \"Hiragino Kaku Gothic Pro\",
Meiryo, sans-serif;\n}\n\nhtml[lang=\"ko-kr\"] {\n font-family: GulimChe,
Gulim, sans-serif;\n}\n\nhtml[lang=\"zh-cn\"] {\n font-family: SimHei,
sans-serif;\n}\n\nhtml[lang=\"zh-tw\"] {\n font-family: PMingLiU,
sans-serif;\n}\n\n\n/* Embedded content\n
==========================================================================
*/\n\n/* correct `inline-block` display not defined in IE8-9
*/\naudio,\ncanvas,\nvideo {\n display: inline-block;\n}\n\n/* make
embedded elements responsive */\nimg,\nembed,\nobject,\nvideo {\n
max-width: 100%;\n height: auto;\n}\n\nimg {\n /* remove border when
inside `<a>` element in IE8-9 */\n border: 0;\n}\n\nimg.align-left {\n
float: left;\n margin: 1em 1em 1em 0;\n}\n\nimg.align-right {\n float:
right;\n margin: 1em 0 1em 1em;\n}\n\nimg.align-center {\n display:
block;\n margin: 1em auto;\n}\n\n/* address margin not present in IE8-9
and Safari5 */\nfigure {\n margin: 0;\n}\n\n/* prevent modern browsers
from displaying `<audio>` without controls, remove excess height in iOS5
devices */\naudio:not([controls]) {\n display: none;\n height:
0;\n}\n\n/* correct overflow displayed oddly in IE9 */\nsvg:not(:root) {\n
overflow: hidden;\n}\n\n\n/* Tables\n
==========================================================================
*/\n\n/* consistent tables */\ntable {\n margin-bottom: 1em;\n
border-collapse: collapse;\n border-spacing: 0;\n width:
100%;\n}\n\ncaption {\n font-style: italic;\n text-align: left;\n
margin-bottom: 0.5em;\n}\n\nth,\ntd {\n /* make table cells align top and
left by default */\n vertical-align: top;\n text-align: left;\n
border-bottom: solid 1px #cccccc;\n padding: 0.25em 0.5em 0.25em
0;\n}\n\nth:last-child,\ntd:last-child {\n padding-right: 0;\n}\n\nthead
th,\nthead td {\n border-bottom: solid 2px #cccccc;\n}\n\ntfoot th,\ntfoot
td {\n border-bottom: 0;\n padding: 0.325em 0.61538em 0.325em
0;\n}\n\ntfoot:last-child {\n padding-right: 0;\n}\n\n\n/* Lists\n
==========================================================================
*/\n\n/* address paddings set differently */\nmenu,\nol,\nul {\n padding:
0 0 0 2em;\n}\n\n/* remove margins from nested lists */\ndl dl,\nul ul,\nol
ol {\n margin: 0;\n}\n\ndd {\n margin: 0 0 0 2em;\n}\n\ndt {\n
font-style: italic;\n}\n\n.article-list {\n list-style: none;\n margin: 0
0 2em 0;\n padding: 0;\n border-top: solid 1px
#cccccc;\n}\n\n.article-list li {\n border-bottom: solid 1px #cccccc;\n
margin-bottom: 0;\n}\n\n\n/* Forms\n
==========================================================================
*/\n\n/* zero out fieldsets */\nfieldset {\n margin: 0;\n border: 0;\n
padding: 0;\n}\n\n/* zero out legends */\nlegend {\n border: 0;\n
padding: 0;\n}\n\nbutton,\ninput,\nselect,\ntextarea {\n /* address
margins set differently in Firefox4+, Safari5+, and Chrome */\n margin:
0;\n font-family: Arial, Helvetica, sans-serif;\n /* correct font size
not being inherited in all browsers */\n font-size: 100%;\n font-size:
0.875em;\n line-height: 1.4;\n vertical-align: baseline;\n}\n\n/* colour
placeholder text (WebKit and Mozilla only, so far)
*/\ninput::-webkit-input-placeholder,\ntextarea::-webkit-input-placeholder
{\n color:
#999999;\n}\n\ninput:-moz-placeholder,\ntextarea:-moz-placeholder {\n
color: #999999;\n}\n\n/* remove inner padding and border in Firefox 4+
*/\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n
padding: 0;\n}\n\n/* remove inner padding and search cancel button in
Safari5+ and Chrome on OS X
*/\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration
{\n -webkit-appearance:
none;\n}\n\ninput[type=\"color\"],\ninput[type=\"date\"],\ninput[type=\"datetime\"],\ninput[type=\"datetime-local\"],\ninput[type=\"email\"],\ninput[type=\"month\"],\ninput[type=\"number\"],\ninput[type=\"password\"],\ninput[type=\"search\"],\ninput[type=\"tel\"],\ninput[type=\"text\"],\ninput[type=\"time\"],\ninput[type=\"url\"],\ninput[type=\"week\"],\nselect,\ntextarea
{\n /* remove iOS Safari default styling */\n -webkit-appearance:
none;\n text-align: left;\n border: solid 1px #cccccc;\n padding:
0.5em;\n background: #fff;\n outline: 0;\n -moz-border-radius: 0;\n
border-radius: 0;\n -webkit-box-sizing: border-box;\n -moz-box-sizing:
border-box;\n box-sizing:
border-box;\n}\n\ninput[type=\"color\"]:focus,\ninput[type=\"date\"]:focus,\ninput[type=\"datetime\"]:focus,\ninput[type=\"datetime-local\"]:focus,\ninput[type=\"email\"]:focus,\ninput[type=\"month\"]:focus,\ninput[type=\"number\"]:focus,\ninput[type=\"password\"]:focus,\ninput[type=\"search\"]:focus,\ninput[type=\"tel\"]:focus,\ninput[type=\"text\"]:focus,\ninput[type=\"time\"]:focus,\ninput[type=\"url\"]:focus,\ninput[type=\"week\"]:focus,\nselect:focus,\ntextarea:focus
{\n /* better form focus glows */\n outline: 0;\n -webkit-box-shadow: 0
0 7px #0066ff;\n -moz-box-shadow: 0 0 7px #0066ff;\n box-shadow: 0 0 7px
#0066ff;\n /* Opera fix */\n z-index: 1;\n}\n\ninput[type=\"color\"] {\n
padding: 0;\n /* 35px / 14px */\n height: 2.5em;\n}\n\n/* address box
sizing set to `content-box` and excess padding in IE8-9
*/\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n padding: 0;\n
box-sizing: border-box;\n}\n\n[role=\"complementary\"]
input[type=\"search\"] {\n margin-right: 2px;\n width: 66%;\n display:
inline-block;\n}\n\n/* address inconsistent `text-transform` inheritance
for `select` in Firefox 4+ and Opera */\nselect {\n text-transform:
none;\n}\n\nselect[size],\nselect[multiple] {\n height:
auto;\n}\n\nselect[size=\"0\"],\nselect[size=\"1\"] {\n /* 35px / 14px
*/\n height: 2.5em;\n}\n\noptgroup {\n font-family: Arial, Helvetica,
sans-serif;\n font-style: normal;\n font-weight: normal;\n color:
#333333;\n}\n\n/* kill phantom spacing and dotted border that appears in
Firefox */\noptgroup::-moz-focus-inner {\n border: 0;\n padding:
0;\n}\n\ntextarea {\n height: auto;\n min-height: 3em;\n /* remove
default vertical scrollbar in IE8-9 */\n overflow: auto;\n resize:
vertical;\n width: 100%;\n}\n\n/* make sure disable elements really are
disabled */\nbutton[disabled],\nhtml
input[disabled],\ninput[type=\"button\"][disabled],\ninput[type=\"reset\"][disabled],\ninput[type=\"submit\"][disabled],\nselect[disabled],\nselect[disabled]
option,\nselect[disabled] optgroup,\ntextarea[disabled],\nspan.disabled
{\n opacity: 1;\n border-color: #e3e3e3 !important;\n text-shadow:
none !important;\n color: #999999 !important;\n background:
#eeeeee !important;\n cursor: default !important;\n top:
0 !important;\n}\n\n.large input {\n width: 50%;\n min-width:
302px;\n}\n\n.large textarea {\n height: 156px;\n}\n\n.small input {\n
width: 25%;\n min-width: 151px;\n}\n\n.small textarea {\n height:
5.5em;\n}\n\n\n/* Buttons\n
==========================================================================
*/\n\n/* address inconsistent `text-transform` inheritance for `button` in
Chrome, Safari5+, and IE6+ */\nbutton {\n text-transform:
none;\n}\n\nbutton,\ninput[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"]
{\n /* remove iOS Safari default styling */\n -webkit-appearance:
none;\n width: auto;\n overflow: visible;\n font-family: Arial,
Helvetica, sans-serif;\n font-weight: normal;\n text-align: center;\n
text-decoration: none;\n text-shadow: 1px 1px 0 rgba(255, 255, 255,
0.5);\n cursor: pointer;\n border: solid 1px #bbbbbb;\n
-moz-border-radius: 0.5em;\n border-radius: 0.5em;\n padding: 0.5em
1em;\n display: inline-block;\n color: #333333;\n -webkit-box-shadow:
inset 0 1px 0 0 rgba(255, 255, 255, 0.25);\n -moz-box-shadow: inset 0 1px
0 0 rgba(255, 255, 255, 0.25);\n box-shadow: inset 0 1px 0 0 rgba(255,
255, 255, 0.25);\n -webkit-background-clip: padding;\n
-moz-background-clip: padding;\n background-clip: padding-box;\n
-webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n
box-sizing: border-box;\n background-color: #e4e4e4;\n /* Safari5.1+,
Chrome10+ */\n background-image: -webkit-linear-gradient(#e4e4e4,
#cccccc);\n /* Firefox3.6 */\n background-image:
-moz-linear-gradient(#e4e4e4, #cccccc);\n /* Opera11.10+ */\n
background-image: -o-linear-gradient(#e4e4e4, #cccccc);\n /* CSS3
Compliant */\n background-image: linear-gradient(#e4e4e4,
#cccccc);\n}\n\nbutton:hover,\ninput[type=\"button\"]:hover,\ninput[type=\"reset\"]:hover,\ninput[type=\"submit\"]:hover
{\n background-color: #f1f1f1;\n /* Safari5.1+, Chrome10+ */\n
background-image: -webkit-linear-gradient(#f1f1f1, #d9d9d9);\n /*
Firefox3.6 */\n background-image: -moz-linear-gradient(#f1f1f1,
#d9d9d9);\n /* Opera11.10+ */\n background-image:
-o-linear-gradient(#f1f1f1, #d9d9d9);\n /* CSS3 Compliant */\n
background-image: linear-gradient(#f1f1f1,
#d9d9d9);\n}\n\nbutton:active,\ninput[type=\"button\"]:active,\ninput[type=\"reset\"]:active,\ninput[type=\"submit\"]:active
{\n color: #1a1a1a;\n -webkit-box-shadow: inset 0 0.2em 0.25em rgba(0, 0,
0, 0.15);\n -moz-box-shadow: inset 0 0.2em 0.25em rgba(0, 0, 0, 0.15);\n
box-shadow: inset 0 0.2em 0.25em rgba(0, 0, 0, 0.15);\n background-color:
#bfbfbf;\n /* Safari5.1+, Chrome10+ */\n background-image:
-webkit-linear-gradient(#bfbfbf, #d7d7d7);\n /* Firefox3.6 */\n
background-image: -moz-linear-gradient(#bfbfbf, #d7d7d7);\n /* Opera11.10+
*/\n background-image: -o-linear-gradient(#bfbfbf, #d7d7d7);\n /* CSS3
Compliant */\n background-image: linear-gradient(#bfbfbf,
#d7d7d7);\n}\n\nbutton:focus,\ninput[type=\"button\"]:focus,\ninput[type=\"reset\"]:focus,\ninput[type=\"submit\"]:focus
{\n /* better button focus glows */\n outline: 0;\n -webkit-box-shadow:
0 0 7px #0066ff;\n -moz-box-shadow: 0 0 7px #0066ff;\n box-shadow: 0 0
7px #0066ff;\n z-index: 1;\n}\n\n\n/* Comments\n
==========================================================================
*/\n\n.comments {\n margin-bottom: 1em;\n -moz-border-radius: 0.5em;\n
border-radius: 0.5em;\n padding: 1px 1em;\n background: #f7f7f7;\n
word-wrap: break-word;\n}\n\n.comments h4 .is-author {\n font-weight:
normal;\n}\n\n.comments h4 .comment-anchor {\n float: right;\n
font-weight: normal;\n}\n\n.comments-author {\n background:
#efefef;\n}\n\n#cpreview {\n margin-bottom: 2px;\n -moz-border-radius:
0.5em;\n border-radius: 0.5em;\n padding: 1em;\n background:
#fff3d6;\n}\n\n.comments_error {\n background:
#f2dede !important;\n}\n\n.required,\n.error_message li {\n color:
#9d261d;\n}\n\n.required {\n cursor: help;\n}\n\n\n/* Popup comments (can
be removed if you don\'t use popups)\n
==========================================================================
*/\n\n#popup-page .container {\n max-width: 52em;\n}\n\n\n} /* end of
@media screen */\n\n\n\n/*
==========================================================================\n
addresses `<select>` alignment in Safari/Chrome\n
==========================================================================
*/\n\n\n@media screen and (-webkit-min-device-pixel-ratio: 0)
{\n\n\nselect[size],\nselect[multiple],\nselect[multiple][size] {\n
background-image: none;\n padding-right:
0.5em;\n}\n\nselect,\nselect[size=\"0\"],\nselect[size=\"1\"] {\n
background: white url(\"data:image/svg+xml,<svg version=\'1.1\'
baseProfile=\'full\' xmlns=\'
http://www.w3.org/2000/svg\'
xmlns:xlink=\'
http://www.w3.org/1999/xlink\' x=\'0px\' y=\'0px\'
width=\'21px\' height=\'7px\' viewBox=\'0 0 21 7\' enable-background=\'new
0 0 21 7\' xml:space=\'preserve\'><polygon fill=\'#333333\' points=\'2,0
7,7 12,0\'/></svg>\") no-repeat right center;\n padding-right: 2.25em;\n
-webkit-background-size: 1.5em 0.5em;\n background-size: 1.5em
0.5em;\n}\n\n\n} /* end of @media screen and
(-webkit-min-device-pixel-ratio: 0) */\n\n\n\n/*
==========================================================================\n
Additional layout for screen media 576px and up\n
==========================================================================
*/\n\n\n@media only screen and (min-width: 36em) {\n\n\n.site-navigation ul
{\n width: 93.75%;\n}\n\n.site-navigation li {\n float: left;\n
border-right: solid 1px #bbbbbb;\n border-bottom:
0;\n}\n\n.site-navigation li:first-child {\n border-left: solid 1px
#bbbbbb;\n}\n\n.site-navigation li a {\n padding: 0.5em 1em;\n}\n\n\n} /*
end of @media screen and (min-width: 36em) */\n\n\n\n/*
==========================================================================\n
Additional layout for screen media 864px and up\n
==========================================================================
*/\n\n\n@media only screen and (min-width: 54em) {\n\n\nmain {\n float:
left;\n width: 62.5%;\n}\n\n[role=\"complementary\"] {\n float: right;\n
border: solid 1px #e3e3e3;\n -moz-border-radius: 0.5em;\n border-radius:
0.5em;\n padding: 0 1em;\n width: 30%;\n background: #f7f7f7;\n}\n\n\n}
/* end of @media screen and (min-width: 54em) */\n\n\n\n/*
==========================================================================\n
Additional layout for screen media 1280px and up\n
==========================================================================
*/\n\n\n@media only screen and (min-width: 82em)
{\n\n\nheader,\nfooter,\n.container {\n width: 93.75%;\n}\n\n\n} /* end of
@media screen and (min-width: 82em) */\n\n\n\n/*
==========================================================================\n
Styling and layout for print media\n
==========================================================================
*/\n\n\n@media print {\n\n\n* {\n /* black prints faster -
http://sanbeiji.com/archives/953 */\n color: black !important;\n
text-shadow: none !important;\n background: transparent !important;\n
-webkit-box-shadow: none !important;\n -moz-box-shadow:
none !important;\n box-shadow: none !important;\n}\n\nbody {\n
font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n
font-size: 8pt;\n line-height: 1.5;\n margin: 0.5cm;\n padding: 2em
5em;\n}\n\nheader {\n border-bottom: solid 1pt black;\n}\n\nfooter {\n
margin-top: 12pt;\n border-top: solid 1pt black;\n}\n\n/* hide unnecessary
content from print
*/\nnav,\naudio,\nvideo,\nform,\n[role=\"complementary\"],\n#comments-form,\n.comments
h4 a:last-child,\n.paginator {\n display: none;\n}\n\na {\n
text-decoration: none;\n}\n\n/* show URLs for certain links in print
*/\na[href]:after {\n content: \" (\" attr(href) \")\";\n}\n\nh1
a[href]:after,\nh2 a[href]:after,\nh3 a[href]:after,\nsup
a[href]:after,\na[itemprop=\"discussionUrl\"]:after,\na[rel=\"tag\"]:after
{\n content: \"\";\n}\n\n/* show long-form for abbreviations in print
*/\nabbr[title]:after {\n content: \" (\" attr(title) \")\";\n}\n\nh1 {\n
font-size: 32pt;\n line-height: 36pt;\n font-weight: normal;\n margin:
0.5em 0;\n}\n\nh2 {\n font-size: 18pt;\n line-height: 23pt;\n
page-break-after: avoid;\n orphans: 3;\n widows: 3;\n margin: 0.66667em
0;\n}\n\nh3 {\n font-size: 12pt;\n line-height: 17pt;\n
page-break-after: avoid;\n orphans: 3;\n widows: 3;\n margin: 0.75em
0;\n}\n\nh4 {\n font-size: 10pt;\n line-height: 14pt;\n
page-break-after: avoid;\n orphans: 3;\n widows: 3;\n margin: 0.875em
0;\n}\n\np {\n orphans: 3;\n widows:
3;\n}\n\nfooter,\nfigcaption,\ntfoot,\nsmall,\n.footnote {\n font-size:
6pt;\n}\n\nblockquote {\n font-size: 16pt;\n border-left: 3pt solid
black;\n padding: 0 0 0 8pt;\n page-break-inside: avoid;\n}\n\npre {\n
margin-bottom: 8pt;\n border: solid 1pt black;\n padding:
8pt;\n}\n\n.comments {\n page-break-inside:
avoid;\n}\n\npre,\ncode,\nkbd,\nsamp,\nvar {\n font-family: \"Courier
New\", Courier, monospace;\n}\n\ndfn,\nq,\ndt {\n font-style:
italic;\n}\n\nimg {\n max-width: 100% !important;\n page-break-inside:
avoid;\n}\n\nimg.align-left {\n float: left;\n margin: 1em 1em 1em
0;\n}\n\nimg.align-right {\n float: right;\n margin: 1em 0 1em
1em;\n}\n\nimg.align-center {\n display: block;\n margin: 1em
auto;\n}\n\nfigure {\n margin-bottom: 8pt;\n}\n\nfigcaption {\n
margin-top: 4pt;\n}\n\nul {\n list-style: square;\n margin: 0 0 8pt
1.8em;\n}\n\nol {\n list-style: decimal;\n margin: 0 0 8pt
1.8em;\n}\n\ndl {\n margin: 0 0 8pt 1.8em;\n}\n\ntable {\n margin-bottom:
8pt;\n width: 100%;\n}\n\ncaption {\n font-weight: bold;\n text-align:
left;\n margin-bottom: 4pt;\n}\n\n/* display table head across multi-page
tables */\nthead {\n display: table-header-group;\n}\n\nthead th {\n
border-top: solid 1pt black;\n}\n\ntr {\n page-break-inside:
avoid;\n}\n\nth,\ntd {\n border-bottom: solid 1pt black;\n padding: 4pt
8pt;\n}\n\n\n} /* end of @media print */\n')";
+$create_sql[] = "INSERT INTO `".PFX."txp_css`(`name`,`css`)
VALUES('ie8', '/*
==========================================================================\n
Desktop version layout for IE8 due to lack of media queries support\n
==========================================================================
*/\n\nheader,\nfooter,\n.container,\n.site-navigation ul {\n width:
93.75%;\n}\n\n.site-navigation li {\n float: left;\n border-right: solid
1px #bbbbbb;\n border-bottom: 0;\n}\n\n.site-navigation li:first-child {\n
border-left: solid 1px #bbbbbb;\n}\n\n.site-navigation a {\n padding: 0.5em
1em;\n}\n\nmain {\n float: left;\n width:
62.5%;\n}\n\n[role=\"complementary\"] {\n float: right;\n border: solid 1px
#e3e3e3;\n -moz-border-radius: 0.5em;\n border-radius: 0.5em;\n padding: 0
1em;\n width: 30%;\n background: #f7f7f7;\n}\n\n\n/* Fix for reponsive
embedded content in IE8\n
==========================================================================
*/\n\nimg,\nvideo {\n width: auto;\n}\n')";
// /sql:txp_css
$create_sql[] = "CREATE TABLE `".PFX."txp_discuss` (
@@ -289,9 +290,9 @@
) $tabletype PACK_KEYS=1";
// sql:txp_page
-$create_sql[] = "INSERT INTO `".PFX."txp_page`(`name`,`user_html`)
VALUES('archive', '<!DOCTYPE html>\n<html lang=\"<txp:lang
/>\">\n\n<head>\n <meta charset=\"utf-8\">\n\n <title><txp:page_title
/></title>\n <meta name=\"generator\" content=\"Textpattern CMS\">\n
<meta name=\"robots\" content=\"index, follow, noodp, noydir\">\n\n<!--
mobile viewport optimised, more info:
http://h5bp.com/viewport -->\n <meta
name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n
<txp:if_individual_article>\n<!-- add meta author for individual articles
-->\n <txp:meta_author title=\"1\" />\n
</txp:if_individual_article>\n\n<!-- content feeds -->\n <txp:feed_link
flavor=\"atom\" format=\"link\" label=\"Atom\" />\n <txp:feed_link
flavor=\"rss\" format=\"link\" label=\"RSS\" />\n <txp:rsd />\n\n<!--
specify canonical, more info:
http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
-->\n <txp:if_individual_article>\n <link rel=\"canonical\"
href=\"<txp:permlink />\">\n <txp:else />\n <link rel=\"canonical\"
href=\"<txp:section url=\'1\' />\">\n </txp:if_individual_article>\n\n<!--
css -->\n <!-- Google font API (remove this if you intend to use the theme
in a project without internet access) -->\n <link rel=\"stylesheet\"
href=\"
http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic|
Cousine\">\n\n <txp:css format=\"link\" media=\"\" />\n <!-- or you can
use (faster) external CSS files eg. <link rel=\"stylesheet\"
href=\"<txp:site_url />css/default.css\"> -->\n\n<!-- HTML5/Media Queries
support for IE < 9 (you can remove this section and the corresponding
\'js\' directory files if you don\'t intend to support IE < 9) -->\n
<!--[if lt IE 9]>\n <script src=\"<txp:site_url
/>js/html5shiv.js\"></script>\n <script src=\"<txp:site_url
/>js/css3-mediaqueries.js\"></script>\n <![endif]-->\n\n</head>\n\n<body
class=\"<txp:section />-page\">\n\n<!-- header -->\n <header
role=\"banner\">\n <h1><txp:link_to_home><txp:site_name
/></txp:link_to_home></h1>\n <h3><txp:site_slogan /></h3>\n
</header>\n\n<!-- navigation -->\n <nav role=\"navigation\"
class=\"site-navigation\" aria-label=\"<txp:text item=\'navigation\'
/>\">\n <txp:section_list default_title=\'<txp:text item=\"home\" />\'
include_default=\"1\" wraptag=\"ul\" break=\"\">\n <li<txp:if_section
name=\'<txp:section />\'> class=\"active\"</txp:if_section>>\n
<txp:section title=\"1\" link=\"1\" />\n </li>\n
</txp:section_list>\n </nav>\n\n <div class=\"wrapper\">\n <div
class=\"container\">\n\n<!-- left (main) column -->\n <main
role=\"main\" aria-label=\"<txp:text item=\'main_content\' />\">\n\n
<txp:if_article_list>\n <section role=\"region\" itemscope
itemtype=\"
http://schema.org/CollectionPage\">\n <h1
itemprop=\"name\"><txp:section title=\"1\" /></h1>\n <div
itemprop=\"mainContentOfPage\">\n\n <txp:article
listform=\"article_listing\" limit=\"5\" />\n <!-- or if you
want to list all articles from all sections instead, then replace
txp:article with txp:article_custom -->\n\n </div>\n
</section>\n <txp:else />\n <txp:article />\n
</txp:if_article_list>\n\n <!-- add pagination links to foot of
article/article listings if there are more articles available,\n
this method is more flexibile than using simple
txp:link_to_prev/txp:link_to_next or txp:older/txp:newer tags -->\n
<txp:if_individual_article>\n\n <txp:variable name=\"more\"
value=\'<txp:link_to_prev /><txp:link_to_next />\' />\n
<txp:variable name=\"prev\" value=\'<txp:link_to_prev />\' />\n
<txp:variable name=\"next\" value=\'<txp:link_to_next />\' />\n\n
<txp:if_variable name=\"more\" value=\"\">\n <txp:else
/>\n <p class=\"paginator\">\n\n <txp:if_variable
name=\"prev\" value=\"\">\n <txp:else />\n <a
class=\"paginator-prev\" href=\"<txp:link_to_prev />\"
title=\"<txp:prev_title />\" rel=\"prev\">← <txp:text item=\"older\"
/></a>\n </txp:if_variable>\n\n <txp:if_variable
name=\"next\" value=\"\">\n <txp:else />\n <a
class=\"paginator-next\" href=\"<txp:link_to_next />\"
title=\"<txp:next_title />\" rel=\"next\"><txp:text item=\"newer\" />
→</a>\n </txp:if_variable>\n\n </p>\n
</txp:if_variable>\n\n <txp:else />\n\n <txp:variable
name=\"more\" value=\'<txp:older /><txp:newer />\' />\n
<txp:variable name=\"prev\" value=\'<txp:older />\' />\n
<txp:variable name=\"next\" value=\'<txp:newer />\' />\n\n
<txp:if_variable name=\"more\" value=\"\">\n <txp:else
/>\n <p class=\"paginator\">\n\n <txp:if_variable
name=\"prev\" value=\"\">\n <txp:else />\n <a
class=\"paginator-prev\" href=\"<txp:older />\" title=\"<txp:text
item=\'older\' />\" rel=\"prev\">← <txp:text item=\"older\"
/></a>\n </txp:if_variable>\n\n <txp:if_variable
name=\"next\" value=\"\">\n <txp:else />\n <a
class=\"paginator-next\" href=\"<txp:newer />\" title=\"<txp:text
item=\'newer\' />\" rel=\"next\"><txp:text item=\"newer\" />
→</a>\n </txp:if_variable>\n\n
</p>\n </txp:if_variable>\n\n
</txp:if_individual_article>\n\n </main>\n\n <!-- right
(complementary) column -->\n <div role=\"complementary\">\n
<txp:search_input /> <!-- links by default to form:
\'search_input.misc.txp\' unless you specify a different form -->\n
\n <!-- Feed links, default flavor is rss, so we don\'t need to
specify a flavor on the first feed_link -->\n <p><txp:feed_link
label=\"RSS\" class=\"feed-rss\" /> / <txp:feed_link flavor=\"atom\"
label=\"Atom\" class=\"feed-atom\" /></p>\n\n <h4><txp:text
item=\"external_links\" /></h4>\n <txp:linklist wraptag=\"ul\"
break=\"li\" limit=\"10\" /> <!-- links by default to form:
\'plainlinks.link.txp\' unless you specify a different form -->\n
</div> <!-- /complementary -->\n\n </div> <!-- /.container -->\n </div>
<!-- /.wrapper -->\n\n<!-- footer -->\n <footer role=\"contentinfo\">\n
<p><small><txp:text item=\"published_with\" /> <a
href=\"
http://textpattern.com\" rel=\"external\" title=\"<txp:text
item=\'go_txp_com\' />\">Textpattern CMS</a>.</small></p>\n
</footer>\n\n<!-- JavaScript at the bottom for fast page loading, more
info:
http://developer.yahoo.com/performance/rules.html#js_bottom -->\n\n
<!-- add your own JavaScript here -->\n\n</body>\n</html>')";
-$create_sql[] = "INSERT INTO `".PFX."txp_page`(`name`,`user_html`)
VALUES('default', '<!DOCTYPE html>\n<html lang=\"<txp:lang
/>\">\n\n<head>\n <meta charset=\"utf-8\">\n\n <title><txp:page_title
/></title>\n <meta name=\"generator\" content=\"Textpattern CMS\">\n
<txp:if_search>\n <meta name=\"robots\" content=\"none\">\n <txp:else
/>\n <txp:if_category>\n <meta name=\"robots\" content=\"noindex,
follow, noodp, noydir\">\n <txp:else />\n <txp:if_author>\n <meta
name=\"robots\" content=\"noindex, follow, noodp, noydir\">\n <txp:else
/>\n <meta name=\"robots\" content=\"index, follow, noodp, noydir\">\n
</txp:if_author>\n </txp:if_category>\n </txp:if_search>\n\n<!-- mobile
viewport optimised, more info:
http://h5bp.com/viewport -->\n <meta
name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n<!--
content feeds -->\n <txp:feed_link flavor=\"atom\" format=\"link\"
label=\"Atom\" />\n <txp:feed_link flavor=\"rss\" format=\"link\"
label=\"RSS\" />\n <txp:rsd />\n\n<!-- specify canonical, more info:
http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
-->\n <txp:if_section name=\"\">\n <link rel=\"canonical\"
href=\"<txp:site_url />\">\n <txp:else />\n
<txp:if_individual_article>\n <link rel=\"canonical\"
href=\"<txp:permlink />\">\n <txp:else />\n <link rel=\"canonical\"
href=\"<txp:section url=\'1\' />\">\n </txp:if_individual_article>\n
</txp:if_section>\n\n<!-- css -->\n <!-- Google font API (remove this if
you intend to use the theme in a project without internet access) -->\n
<link rel=\"stylesheet\"
href=\"
http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic|
Cousine\">\n\n <txp:css format=\"link\" media=\"\" />\n <!-- or you can
use (faster) external CSS files eg. <link rel=\"stylesheet\"
href=\"<txp:site_url />css/default.css\"> -->\n\n<!-- HTML5/Media Queries
support for IE < 9 (you can remove this section and the corresponding
\'js\' directory files if you don\'t intend to support IE < 9) -->\n
<!--[if lt IE 9]>\n <script src=\"<txp:site_url
/>js/html5shiv.js\"></script>\n <script src=\"<txp:site_url
/>js/css3-mediaqueries.js\"></script>\n <![endif]-->\n\n</head>\n\n<body
class=\"<txp:if_section name=\"\"><txp:if_search>search<txp:else
/>front</txp:if_search><txp:else /><txp:section
/></txp:if_section>-page\">\n\n<!-- header -->\n <header
role=\"banner\">\n <h1><txp:link_to_home><txp:site_name
/></txp:link_to_home></h1>\n <h3><txp:site_slogan /></h3>\n
</header>\n\n<!-- navigation -->\n <nav role=\"navigation\"
class=\"site-navigation\" aria-label=\"<txp:text item=\'navigation\'
/>\">\n <txp:section_list default_title=\'<txp:text item=\"home\" />\'
include_default=\"1\" wraptag=\"ul\" break=\"\">\n <li<txp:if_section
name=\'<txp:section />\'><txp:if_search><txp:else
/><txp:if_category><txp:else /><txp:if_author><txp:else />
class=\"active\"</txp:if_author></txp:if_category></txp:if_search></txp:if_section>>\n
<txp:section title=\"1\" link=\"1\" />\n </li>\n
</txp:section_list>\n </nav>\n\n <div class=\"wrapper\">\n <div
class=\"container\">\n\n<!-- left (main) column -->\n <main
role=\"main\" aria-label=\"<txp:text item=\'main_content\' />\">\n\n
<!-- is this result result page? also omits the pagination links below
(uses pagination format within search_results.article.txp instead)
-->\n <txp:if_search>\n\n <section role=\"region\" itemscope
itemtype=\"
http://schema.org/SearchResultsPage\">\n <h1
itemprop=\"name\"><txp:text item=\"search_results\" /></h1>\n <div
itemprop=\"mainContentOfPage\">\n <txp:output_form
form=\"search_results\" />\n </div>\n </section>\n\n
<txp:else />\n\n <!-- else is this an article category list?
-->\n <txp:if_category>\n\n <section role=\"region\" itemscope
itemtype=\"
http://schema.org/CollectionPage\">\n <h1
itemprop=\"name\"><txp:text item=\"category\" /> <txp:category title=\"1\"
/></h1>\n <div itemprop=\"mainContentOfPage\">\n
<txp:article form=\"article_listing\" limit=\"5\" />\n
</div>\n </section>\n\n <txp:else />\n\n <!-- else is
this an article author list? -->\n <txp:if_author>\n\n
<section role=\"region\" itemscope
itemtype=\"
http://schema.org/CollectionPage\">\n <h1
itemprop=\"name\"><txp:text item=\"author\" /> <txp:author
/></h1>\n <div
itemprop=\"mainContentOfPage\">\n <txp:article
form=\"article_listing\" limit=\"5\" />\n </div>\n
</section>\n\n <txp:else />\n\n <!-- else display
articles normally -->\n <txp:article limit=\"5\" /> <!-- links
by default to form: \'default.article.txp\' unless you specify a different
form -->\n\n </txp:if_author>\n
</txp:if_category>\n\n <!-- add pagination links to foot of
article/article listings/category listings if there are more articles
available,\n this method is more flexibile than using simple
txp:link_to_prev/txp:link_to_next or txp:older/txp:newer tags -->\n
<txp:variable name=\"more\" value=\'<txp:older /><txp:newer />\'
/>\n <txp:variable name=\"prev\" value=\'<txp:older />\' />\n
<txp:variable name=\"next\" value=\'<txp:newer />\' />\n\n
<txp:if_variable name=\"more\" value=\"\">\n <txp:else />\n
<p class=\"paginator\">\n\n <txp:if_variable name=\"prev\"
value=\"\">\n <txp:else />\n <a
class=\"paginator-prev\" href=\"<txp:older />\" title=\"<txp:text
item=\'older\' />\" rel=\"prev\">← <txp:text item=\"older\"
/></a>\n </txp:if_variable>\n\n <txp:if_variable
name=\"next\" value=\"\">\n <txp:else />\n <a
class=\"paginator-next\" href=\"<txp:newer />\" title=\"<txp:text
item=\'newer\' />\" rel=\"next\"><txp:text item=\"newer\" />
→</a>\n </txp:if_variable>\n\n </p>\n
</txp:if_variable>\n\n </txp:if_search>\n\n </main>\n\n<!-- right
(complementary) column -->\n <div role=\"complementary\">\n
<txp:search_input /> <!-- links by default to form:
\'search_input.misc.txp\' unless you specify a different form
-->\n\n <!-- Feed links, default flavor is rss, so we don\'t need to
specify a flavor on the first feed_link -->\n <p><txp:feed_link
label=\"RSS\" class=\"feed-rss\" /> / <txp:feed_link flavor=\"atom\"
label=\"Atom\" class=\"feed-atom\" /></p>\n\n <h4><txp:text
item=\"external_links\" /></h4>\n <txp:linklist wraptag=\"ul\"
break=\"li\" limit=\"10\" /> <!-- links by default to form:
\'plainlinks.link.txp\' unless you specify a different form -->\n
</div> <!-- /complementary -->\n\n </div> <!-- /.container -->\n </div>
<!-- /.wrapper -->\n\n<!-- footer -->\n <footer role=\"contentinfo\">\n
<p><small><txp:text item=\"published_with\" /> <a
href=\"
http://textpattern.com\" rel=\"external\" title=\"<txp:text
item=\'go_txp_com\' />\">Textpattern CMS</a>.</small></p>\n
</footer>\n\n<!-- JavaScript at the bottom for fast page loading, more
info:
http://developer.yahoo.com/performance/rules.html#js_bottom -->\n\n
<!-- add your own JavaScript here -->\n\n</body>\n</html>')";
-$create_sql[] = "INSERT INTO `".PFX."txp_page`(`name`,`user_html`)
VALUES('error_default', '<!DOCTYPE html>\n<html lang=\"<txp:lang
/>\">\n\n<head>\n <meta charset=\"utf-8\">\n\n <title><txp:error_status
/></title>\n <meta name=\"generator\" content=\"Textpattern CMS\">\n
<meta name=\"robots\" content=\"none\">\n\n<!-- mobile viewport optimised,
more info:
http://h5bp.com/viewport -->\n <meta name=\"viewport\"
content=\"width=device-width, initial-scale=1\">\n\n<!-- content feeds
-->\n <txp:feed_link flavor=\"atom\" format=\"link\" label=\"Atom\" />\n
<txp:feed_link flavor=\"rss\" format=\"link\" label=\"RSS\" />\n <txp:rsd
/>\n\n<!-- css -->\n <!-- Google font API (remove this if you intend to
use the theme in a project without internet access) -->\n <link
rel=\"stylesheet\"
href=\"
http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic|
Cousine\">\n\n <txp:css format=\"link\" media=\"\" />\n <!-- or you can
use (faster) external CSS files eg. <link rel=\"stylesheet\"
href=\"<txp:site_url />css/default.css\"> -->\n\n<!-- HTML5/Media Queries
support for IE < 9 (you can remove this section and the corresponding
\'js\' directory files if you don\'t intend to support IE < 9) -->\n
<!--[if lt IE 9]>\n <script src=\"<txp:site_url
/>js/html5shiv.js\"></script>\n <script src=\"<txp:site_url
/>js/css3-mediaqueries.js\"></script>\n <![endif]-->\n\n</head>\n\n<body
class=\"error-page\">\n\n<!-- header -->\n <header role=\"banner\">\n
<h1><txp:link_to_home><txp:site_name /></txp:link_to_home></h1>\n
<h3><txp:site_slogan /></h3>\n </header>\n\n<!-- navigation -->\n <nav
role=\"navigation\" class=\"site-navigation\" aria-label=\"<txp:text
item=\'navigation\' />\">\n <txp:section_list default_title=\'<txp:text
item=\"home\" />\' include_default=\"1\" wraptag=\"ul\"
break=\"li\">\n <txp:section title=\"1\" link=\"1\" />\n
</txp:section_list>\n </nav>\n\n <div class=\"wrapper\">\n <div
class=\"container\">\n\n<!-- left (main) column -->\n <main
role=\"main\" aria-label=\"<txp:text item=\'main_content\' />\">\n
<h1 class=\"error-status\"><txp:error_status /></h1>\n <p
class=\"error-msg\"><txp:error_message /></p>\n </main>\n\n<!-- right
(complementary) column -->\n <div role=\"complementary\">\n
<txp:search_input /> <!-- links by default to form:
\'search_input.misc.txp\' unless you specify a different form
-->\n\n <!-- Feed links, default flavor is rss, so we don\'t need to
specify a flavor on the first feed_link -->\n <p><txp:feed_link
label=\"RSS\" class=\"feed-rss\" /> / <txp:feed_link flavor=\"atom\"
label=\"Atom\" class=\"feed-atom\" /></p>\n\n <h4><txp:text
item=\"external_links\" /></h4>\n <txp:linklist wraptag=\"ul\"
break=\"li\" limit=\"10\" /> <!-- links by default to form:
\'plainlinks.link.txp\' unless you specify a different form -->\n
</div> <!-- /complementary -->\n\n </div> <!-- /.container -->\n </div>
<!-- /.wrapper -->\n\n<!-- footer -->\n <footer role=\"contentinfo\">\n
<p><small><txp:text item=\"published_with\" /> <a
href=\"
http://textpattern.com\" rel=\"external\" title=\"<txp:text
item=\'go_txp_com\' />\">Textpattern CMS</a>.</small></p>\n
</footer>\n\n<!-- JavaScript at the bottom for fast page loading, more
info:
http://developer.yahoo.com/performance/rules.html#js_bottom -->\n\n
<!-- add your own JavaScript here -->\n\n</body>\n</html>')";
+$create_sql[] = "INSERT INTO `".PFX."txp_page`(`name`,`user_html`)
VALUES('archive', '<!DOCTYPE html>\n<html lang=\"<txp:lang
/>\">\n\n<head>\n <meta charset=\"utf-8\">\n\n <title><txp:page_title
/></title>\n <meta name=\"generator\" content=\"Textpattern CMS\">\n
<meta name=\"robots\" content=\"index, follow, noodp, noydir\">\n\n<!--
mobile viewport optimised, more info:
http://h5bp.com/viewport -->\n <meta
name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n
<txp:if_individual_article>\n<!-- add meta author for individual articles
-->\n <txp:meta_author title=\"1\" />\n
</txp:if_individual_article>\n\n<!-- content feeds -->\n <txp:feed_link
flavor=\"atom\" format=\"link\" label=\"Atom\" />\n <txp:feed_link
flavor=\"rss\" format=\"link\" label=\"RSS\" />\n <txp:rsd />\n\n<!--
specify canonical, more info:
http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
-->\n <txp:if_individual_article>\n <link rel=\"canonical\"
href=\"<txp:permlink />\">\n <txp:else />\n <link rel=\"canonical\"
href=\"<txp:section url=\'1\' />\">\n </txp:if_individual_article>\n\n<!--
css -->\n <!-- Google font API (remove this if you intend to use the theme
in a project without internet access) -->\n <link rel=\"stylesheet\"
href=\"
http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic|
Cousine\">\n\n <txp:css format=\"link\" media=\"\" />\n <!-- or you can
use (faster) external CSS files eg. <link rel=\"stylesheet\"
href=\"<txp:site_url />css/default.css\"> -->\n\n<!-- HTML5/Media Queries
support for IE8 (you can remove this section and the corresponding \'js\'
directory file if you don\'t intend to support IE8) -->\n <!--[if lt IE
9]>\n <script src=\"<txp:site_url />js/html5shiv.js\"></script>\n
<txp:css format=\"link\" media=\"\" name=\"ie8\" />\n
<![endif]-->\n\n</head>\n\n<body class=\"<txp:section />-page\">\n\n<!--
header -->\n <header role=\"banner\">\n
<h1><txp:link_to_home><txp:site_name /></txp:link_to_home></h1>\n
<h3><txp:site_slogan /></h3>\n </header>\n\n<!-- navigation -->\n <nav
role=\"navigation\" class=\"site-navigation\" aria-label=\"<txp:text
item=\'navigation\' />\">\n <txp:section_list default_title=\'<txp:text
item=\"home\" />\' include_default=\"1\" wraptag=\"ul\" break=\"\">\n
<li<txp:if_section name=\'<txp:section />\'>
class=\"active\"</txp:if_section>>\n <txp:section title=\"1\"
link=\"1\" />\n </li>\n </txp:section_list>\n </nav>\n\n <div
class=\"wrapper\">\n <div class=\"container\">\n\n<!-- left (main)
column -->\n <main role=\"main\" aria-label=\"<txp:text
item=\'main_content\' />\">\n\n <txp:if_article_list>\n
<section role=\"region\" itemscope
itemtype=\"
http://schema.org/CollectionPage\">\n <h1
itemprop=\"name\"><txp:section title=\"1\" /></h1>\n <div
itemprop=\"mainContentOfPage\">\n\n <txp:article
listform=\"article_listing\" limit=\"5\" />\n <!-- or if you
want to list all articles from all sections instead, then replace
txp:article with txp:article_custom -->\n\n </div>\n
</section>\n <txp:else />\n <txp:article />\n
</txp:if_article_list>\n\n <!-- add pagination links to foot of
article/article listings if there are more articles available,\n
this method is more flexibile than using simple
txp:link_to_prev/txp:link_to_next or txp:older/txp:newer tags -->\n
<txp:if_individual_article>\n\n <txp:variable name=\"more\"
value=\'<txp:link_to_prev /><txp:link_to_next />\' />\n
<txp:variable name=\"prev\" value=\'<txp:link_to_prev />\' />\n
<txp:variable name=\"next\" value=\'<txp:link_to_next />\' />\n\n
<txp:if_variable name=\"more\" value=\"\">\n <txp:else
/>\n <p class=\"paginator\">\n\n <txp:if_variable
name=\"prev\" value=\"\">\n <txp:else />\n <a
class=\"paginator-prev\" href=\"<txp:link_to_prev />\"
title=\"<txp:prev_title />\" rel=\"prev\">← <txp:text item=\"older\"
/></a>\n </txp:if_variable>\n\n <txp:if_variable
name=\"next\" value=\"\">\n <txp:else />\n <a
class=\"paginator-next\" href=\"<txp:link_to_next />\"
title=\"<txp:next_title />\" rel=\"next\"><txp:text item=\"newer\" />
→</a>\n </txp:if_variable>\n\n </p>\n
</txp:if_variable>\n\n <txp:else />\n\n <txp:variable
name=\"more\" value=\'<txp:older /><txp:newer />\' />\n
<txp:variable name=\"prev\" value=\'<txp:older />\' />\n
<txp:variable name=\"next\" value=\'<txp:newer />\' />\n\n
<txp:if_variable name=\"more\" value=\"\">\n <txp:else
/>\n <p class=\"paginator\">\n\n <txp:if_variable
name=\"prev\" value=\"\">\n <txp:else />\n <a
class=\"paginator-prev\" href=\"<txp:older />\" title=\"<txp:text
item=\'older\' />\" rel=\"prev\">← <txp:text item=\"older\"
/></a>\n </txp:if_variable>\n\n <txp:if_variable
name=\"next\" value=\"\">\n <txp:else />\n <a
class=\"paginator-next\" href=\"<txp:newer />\" title=\"<txp:text
item=\'newer\' />\" rel=\"next\"><txp:text item=\"newer\" />
→</a>\n </txp:if_variable>\n\n
</p>\n </txp:if_variable>\n\n
</txp:if_individual_article>\n\n </main>\n\n <!-- right
(complementary) column -->\n <div role=\"complementary\">\n
<txp:search_input /> <!-- links by default to form:
\'search_input.misc.txp\' unless you specify a different form -->\n
\n <!-- Feed links, default flavor is rss, so we don\'t need to
specify a flavor on the first feed_link -->\n <p><txp:feed_link
label=\"RSS\" class=\"feed-rss\" /> / <txp:feed_link flavor=\"atom\"
label=\"Atom\" class=\"feed-atom\" /></p>\n\n <h4><txp:text
item=\"external_links\" /></h4>\n <txp:linklist wraptag=\"ul\"
break=\"li\" limit=\"10\" /> <!-- links by default to form:
\'plainlinks.link.txp\' unless you specify a different form -->\n
</div> <!-- /complementary -->\n\n </div> <!-- /.container -->\n </div>
<!-- /.wrapper -->\n\n<!-- footer -->\n <footer role=\"contentinfo\">\n
<p><small><txp:text item=\"published_with\" /> <a
href=\"
http://textpattern.com\" rel=\"external\" title=\"<txp:text
item=\'go_txp_com\' />\">Textpattern CMS</a>.</small></p>\n
</footer>\n\n<!-- JavaScript at the bottom for fast page loading, more
info:
http://developer.yahoo.com/performance/rules.html#js_bottom -->\n\n
<!-- add your own JavaScript here -->\n\n</body>\n</html>')";
+$create_sql[] = "INSERT INTO `".PFX."txp_page`(`name`,`user_html`)
VALUES('default', '<!DOCTYPE html>\n<html lang=\"<txp:lang
/>\">\n\n<head>\n <meta charset=\"utf-8\">\n\n <title><txp:page_title
/></title>\n <meta name=\"generator\" content=\"Textpattern CMS\">\n
<txp:if_search>\n <meta name=\"robots\" content=\"none\">\n <txp:else
/>\n <txp:if_category>\n <meta name=\"robots\" content=\"noindex,
follow, noodp, noydir\">\n <txp:else />\n <txp:if_author>\n <meta
name=\"robots\" content=\"noindex, follow, noodp, noydir\">\n <txp:else
/>\n <meta name=\"robots\" content=\"index, follow, noodp, noydir\">\n
</txp:if_author>\n </txp:if_category>\n </txp:if_search>\n\n<!-- mobile
viewport optimised, more info:
http://h5bp.com/viewport -->\n <meta
name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n<!--
content feeds -->\n <txp:feed_link flavor=\"atom\" format=\"link\"
label=\"Atom\" />\n <txp:feed_link flavor=\"rss\" format=\"link\"
label=\"RSS\" />\n <txp:rsd />\n\n<!-- specify canonical, more info:
http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
-->\n <txp:if_section name=\"\">\n <link rel=\"canonical\"
href=\"<txp:site_url />\">\n <txp:else />\n
<txp:if_individual_article>\n <link rel=\"canonical\"
href=\"<txp:permlink />\">\n <txp:else />\n <link rel=\"canonical\"
href=\"<txp:section url=\'1\' />\">\n </txp:if_individual_article>\n
</txp:if_section>\n\n<!-- css -->\n <!-- Google font API (remove this if
you intend to use the theme in a project without internet access) -->\n
<link rel=\"stylesheet\"
href=\"
http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic|
Cousine\">\n\n <txp:css format=\"link\" media=\"\" />\n <!-- or you can
use (faster) external CSS files eg. <link rel=\"stylesheet\"
href=\"<txp:site_url />css/default.css\"> -->\n\n<!-- HTML5/Media Queries
support for IE8 (you can remove this section and the corresponding \'js\'
directory file if you don\'t intend to support IE8) -->\n <!--[if lt IE
9]>\n <script src=\"<txp:site_url />js/html5shiv.js\"></script>\n
<txp:css format=\"link\" media=\"\" name=\"ie8\" />\n
<![endif]-->\n\n</head>\n\n<body class=\"<txp:if_section
name=\"\"><txp:if_search>search<txp:else />front</txp:if_search><txp:else
/><txp:section /></txp:if_section>-page\">\n\n<!-- header -->\n <header
role=\"banner\">\n <h1><txp:link_to_home><txp:site_name
/></txp:link_to_home></h1>\n <h3><txp:site_slogan /></h3>\n
</header>\n\n<!-- navigation -->\n <nav role=\"navigation\"
class=\"site-navigation\" aria-label=\"<txp:text item=\'navigation\'
/>\">\n <txp:section_list default_title=\'<txp:text item=\"home\" />\'
include_default=\"1\" wraptag=\"ul\" break=\"\">\n <li<txp:if_section
name=\'<txp:section />\'><txp:if_search><txp:else
/><txp:if_category><txp:else /><txp:if_author><txp:else />
class=\"active\"</txp:if_author></txp:if_category></txp:if_search></txp:if_section>>\n
<txp:section title=\"1\" link=\"1\" />\n </li>\n
</txp:section_list>\n </nav>\n\n <div class=\"wrapper\">\n <div
class=\"container\">\n\n<!-- left (main) column -->\n <main
role=\"main\" aria-label=\"<txp:text item=\'main_content\' />\">\n\n
<!-- is this result result page? also omits the pagination links below
(uses pagination format within search_results.article.txp instead)
-->\n <txp:if_search>\n\n <section role=\"region\" itemscope
itemtype=\"
http://schema.org/SearchResultsPage\">\n <h1
itemprop=\"name\"><txp:text item=\"search_results\" /></h1>\n <div
itemprop=\"mainContentOfPage\">\n <txp:output_form
form=\"search_results\" />\n </div>\n </section>\n\n
<txp:else />\n\n <!-- else is this an article category list?
-->\n <txp:if_category>\n\n <section role=\"region\" itemscope
itemtype=\"
http://schema.org/CollectionPage\">\n <h1
itemprop=\"name\"><txp:text item=\"category\" /> <txp:category title=\"1\"
/></h1>\n <div itemprop=\"mainContentOfPage\">\n
<txp:article form=\"article_listing\" limit=\"5\" />\n
</div>\n </section>\n\n <txp:else />\n\n <!-- else is
this an article author list? -->\n <txp:if_author>\n\n
<section role=\"region\" itemscope
itemtype=\"
http://schema.org/CollectionPage\">\n <h1
itemprop=\"name\"><txp:text item=\"author\" /> <txp:author
/></h1>\n <div
itemprop=\"mainContentOfPage\">\n <txp:article
form=\"article_listing\" limit=\"5\" />\n </div>\n
</section>\n\n <txp:else />\n\n <!-- else display
articles normally -->\n <txp:article limit=\"5\" /> <!-- links
by default to form: \'default.article.txp\' unless you specify a different
form -->\n\n </txp:if_author>\n
</txp:if_category>\n\n <!-- add pagination links to foot of
article/article listings/category listings if there are more articles
available,\n this method is more flexibile than using simple
txp:link_to_prev/txp:link_to_next or txp:older/txp:newer tags -->\n
<txp:variable name=\"more\" value=\'<txp:older /><txp:newer />\'
/>\n <txp:variable name=\"prev\" value=\'<txp:older />\' />\n
<txp:variable name=\"next\" value=\'<txp:newer />\' />\n\n
<txp:if_variable name=\"more\" value=\"\">\n <txp:else />\n
<p class=\"paginator\">\n\n <txp:if_variable name=\"prev\"
value=\"\">\n <txp:else />\n <a
class=\"paginator-prev\" href=\"<txp:older />\" title=\"<txp:text
item=\'older\' />\" rel=\"prev\">← <txp:text item=\"older\"
/></a>\n </txp:if_variable>\n\n <txp:if_variable
name=\"next\" value=\"\">\n <txp:else />\n <a
class=\"paginator-next\" href=\"<txp:newer />\" title=\"<txp:text
item=\'newer\' />\" rel=\"next\"><txp:text item=\"newer\" />
→</a>\n </txp:if_variable>\n\n </p>\n
</txp:if_variable>\n\n </txp:if_search>\n\n </main>\n\n<!-- right
(complementary) column -->\n <div role=\"complementary\">\n
<txp:search_input /> <!-- links by default to form:
\'search_input.misc.txp\' unless you specify a different form
-->\n\n <!-- Feed links, default flavor is rss, so we don\'t need to
specify a flavor on the first feed_link -->\n <p><txp:feed_link
label=\"RSS\" class=\"feed-rss\" /> / <txp:feed_link flavor=\"atom\"
label=\"Atom\" class=\"feed-atom\" /></p>\n\n <h4><txp:text
item=\"external_links\" /></h4>\n <txp:linklist wraptag=\"ul\"
break=\"li\" limit=\"10\" /> <!-- links by default to form:
\'plainlinks.link.txp\' unless you specify a different form -->\n
</div> <!-- /complementary -->\n\n </div> <!-- /.container -->\n </div>
<!-- /.wrapper -->\n\n<!-- footer -->\n <footer role=\"contentinfo\">\n
<p><small><txp:text item=\"published_with\" /> <a
href=\"
http://textpattern.com\" rel=\"external\" title=\"<txp:text
item=\'go_txp_com\' />\">Textpattern CMS</a>.</small></p>\n
</footer>\n\n<!-- JavaScript at the bottom for fast page loading, more
info:
http://developer.yahoo.com/performance/rules.html#js_bottom -->\n\n
<!-- add your own JavaScript here -->\n\n</body>\n</html>')";
+$create_sql[] = "INSERT INTO `".PFX."txp_page`(`name`,`user_html`)
VALUES('error_default', '<!DOCTYPE html>\n<html lang=\"<txp:lang
/>\">\n\n<head>\n <meta charset=\"utf-8\">\n\n <title><txp:error_status
/></title>\n <meta name=\"generator\" content=\"Textpattern CMS\">\n
<meta name=\"robots\" content=\"none\">\n\n<!-- mobile viewport optimised,
more info:
http://h5bp.com/viewport -->\n <meta name=\"viewport\"
content=\"width=device-width, initial-scale=1\">\n\n<!-- content feeds
-->\n <txp:feed_link flavor=\"atom\" format=\"link\" label=\"Atom\" />\n
<txp:feed_link flavor=\"rss\" format=\"link\" label=\"RSS\" />\n <txp:rsd
/>\n\n<!-- css -->\n <!-- Google font API (remove this if you intend to
use the theme in a project without internet access) -->\n <link
rel=\"stylesheet\"
href=\"
http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic|
Cousine\">\n\n <txp:css format=\"link\" media=\"\" />\n <!-- or you can
use (faster) external CSS files eg. <link rel=\"stylesheet\"
href=\"<txp:site_url />css/default.css\"> -->\n\n<!-- HTML5/Media Queries
support for IE8 (you can remove this section and the corresponding \'js\'
directory file if you don\'t intend to support IE8) -->\n <!--[if lt IE
9]>\n <script src=\"<txp:site_url />js/html5shiv.js\"></script>\n
<txp:css format=\"link\" media=\"\" name=\"ie8\" />\n
<![endif]-->\n\n</head>\n\n<body class=\"error-page\">\n\n<!-- header
-->\n <header role=\"banner\">\n <h1><txp:link_to_home><txp:site_name
/></txp:link_to_home></h1>\n <h3><txp:site_slogan /></h3>\n
</header>\n\n<!-- navigation -->\n <nav role=\"navigation\"
class=\"site-navigation\" aria-label=\"<txp:text item=\'navigation\'
/>\">\n <txp:section_list default_title=\'<txp:text item=\"home\" />\'
include_default=\"1\" wraptag=\"ul\" break=\"li\">\n <txp:section
title=\"1\" link=\"1\" />\n </txp:section_list>\n </nav>\n\n <div
class=\"wrapper\">\n <div class=\"container\">\n\n<!-- left (main)
column -->\n <main role=\"main\" aria-label=\"<txp:text
item=\'main_content\' />\">\n <h1
class=\"error-status\"><txp:error_status /></h1>\n <p
class=\"error-msg\"><txp:error_message /></p>\n </main>\n\n<!-- right
(complementary) column -->\n <div role=\"complementary\">\n
<txp:search_input /> <!-- links by default to form:
\'search_input.misc.txp\' unless you specify a different form
-->\n\n <!-- Feed links, default flavor is rss, so we don\'t need to
specify a flavor on the first feed_link -->\n <p><txp:feed_link
label=\"RSS\" class=\"feed-rss\" /> / <txp:feed_link flavor=\"atom\"
label=\"Atom\" class=\"feed-atom\" /></p>\n\n <h4><txp:text
item=\"external_links\" /></h4>\n <txp:linklist wraptag=\"ul\"
break=\"li\" limit=\"10\" /> <!-- links by default to form:
\'plainlinks.link.txp\' unless you specify a different form -->\n
</div> <!-- /complementary -->\n\n </div> <!-- /.container -->\n </div>
<!-- /.wrapper -->\n\n<!-- footer -->\n <footer role=\"contentinfo\">\n
<p><small><txp:text item=\"published_with\" /> <a
href=\"
http://textpattern.com\" rel=\"external\" title=\"<txp:text
item=\'go_txp_com\' />\">Textpattern CMS</a>.</small></p>\n
</footer>\n\n<!-- JavaScript at the bottom for fast page loading, more
info:
http://developer.yahoo.com/performance/rules.html#js_bottom -->\n\n
<!-- add your own JavaScript here -->\n\n</body>\n</html>')";
// /sql:txp_page
$create_sql[] = "CREATE TABLE `".PFX."txp_plugin` (