CSS updates.
h3rald h3rald@h3rald.com
Sun, 11 Nov 2012 15:19:05 +0100
8 files changed,
6 insertions(+),
299 deletions(-)
D
content/js/head.js
@@ -1,7 +0,0 @@
-/** - Head JS The only script in your <HEAD> - Copyright Tero Piirainen (tipiirai) - License MIT / http://bit.ly/mit-license - - http://headjs.com -*/(function(a){var b=a.documentElement,c={screens:[320,480,640,768,1024,1280,1440,1680,1920],section:"-section",page:"-page",head:"head"},d=[];if(window.head_conf)for(var e in head_conf)head_conf[e]&&(c[e]=head_conf[e]);function f(a){d.push(a)}function g(a){var c=new RegExp("\\b"+a+"\\b");b.className=b.className.replace(c,"")}function h(a,b){for(var c=0;c<a.length;c++)b.call(a,a[c],c)}var i=window[c.head]=function(){i.ready.apply(null,arguments)};i.feature=function(a,c,e){{if(a){Object.prototype.toString.call(c)=="[object Function]"&&(c=c.call()),f((c?"":"no-")+a),i[a]=!!c,e||(g("no-"+a),g(a),i.feature());return i}b.className+=" "+d.join(" "),d=[]}};var j=navigator.userAgent.toLowerCase();j=/(webkit)[ \/]([\w.]+)/.exec(j)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(j)||/(msie) ([\w.]+)/.exec(j)||!/compatible/.test(j)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(j)||[],j[1]=="msie"&&(j[1]="ie"),f(j[1]),i.browser={version:j[2]},i.browser[j[1]]=true;if(i.browser.ie)for(var k=3;k<11;k++)parseFloat(j[2])<k&&f("lt-ie"+k);h("abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"),function(b){a.createElement(b)}),h(location.pathname.split("/"),function(a,d){if(this.length>2&&this[d+1]!==undefined)d&&f(this.slice(1,d+1).join("-")+c.section);else{var e=a||"index",g=e.indexOf(".");g>0&&(e=e.substring(0,g)),b.id=e+c.page,d||f("root"+c.section)}});function l(){var a=window.outerWidth||b.clientWidth;b.className=b.className.replace(/ (w|lt)-\d+/g,""),f("w-"+Math.round(a/100)*100),h(c.screens,function(b){a<=b&&f("lt-"+b)}),i.feature()}l(),window.onresize=l,i.feature("js",true).feature()})(document),function(){var a=document.createElement("i"),b=a.style,c=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),d=window.head_conf&&head_conf.head||"head",e=window[d];function f(a){b.cssText=c.join(a+";");var d=b.cssText;if(d.indexOf("-o")!=-1&&d.indexOf("-ms")!=-1)return false;return!!d}var g={gradient:function(){var a="background-image:",d="gradient(linear,left top,right bottom,from(#9f9),to(#fff));",e="linear-gradient(left top,#eee,#fff);";b.cssText=(a+c.join(d+a)+c.join(e+a)).slice(0,-a.length);return!!b.backgroundImage},rgba:function(){b.cssText="background-color:rgba(0,0,0,0.5)";return!!b.backgroundColor},boxshadow:function(){return f("box-shadow: 0 0 0 red")},textshadow:function(){return b.textShadow===""},multiplebgs:function(){b.cssText="background:url(//:),url(//:),red url(//:)";return(new RegExp("(url\\s*\\(.*?){3}")).test(b.background)},borderimage:function(){return f("border-image: url(m.png) 1 1 stretch")},borderradius:function(){return f("border-radius:0")},opacity:function(){return a.style.opacity===""},reflections:function(){return f("box-reflect:right 0")},transforms:function(){return f("transform:rotate(1deg)")},transitions:function(){return f("transition:all .1s linear")}};for(var h in g)g[h]&&e.feature(h,g[h].call(),true);e.feature()}(),function(a){var b=a.documentElement,c=navigator.userAgent.toLowerCase().indexOf("msie")!=-1,d=false,e=[],f={},g={};var h=window.head_conf&&head_conf.head||"head",i=window[h]=window[h]||function(){i.ready.apply(null,arguments)};i.js=function(){var a=arguments,b=[].slice.call(a,1),c=b[0];if(!d){e.push(function(){i.js.apply(null,a)});return i}c?(m(c)||l(b,function(a){m(a)||o(k(a))}),p(k(a[0]),m(c)?c:function(){i.js.apply(null,b)})):p(k(a[0]));return i},i.ready=function(a,b){var c=g[a];if(c&&c.state=="loaded"){b.call();return i}m(a)&&(b=a,a="ALL");var d=f[a];d?d.push(b):d=f[a]=[b];return i};function j(a){var b=a.split("/"),c=b[b.length-1],d=c.indexOf("?");return d!=-1?c.substring(0,d):c}function k(a){var b;if(typeof a=="object")for(var c in a)a[c]&&(b={name:c,url:a[c]});else b={name:j(a),url:a};var d=g[b.name];if(d)return d;g[b.name]=b;return b}function l(a,b){if(a){typeof a=="object"&&(a=[].slice.call(a));for(var c=0;c<a.length;c++)b.call(a,a[c],c)}}function m(a){return Object.prototype.toString.call(a)=="[object Function]"}function n(a){a.state="preloaded",l(a.onpreload,function(a){a.call()})}function o(c,d){if(!c.state){c.state="preloading",c.onpreload=[];if(/Firefox/.test(navigator.userAgent)){var e=a.createElement("object");e.data=c.url,e.width=0,e.height=0,e.onload=function(){n(c),setTimeout(function(){b.removeChild(e)},1)},b.appendChild(e)}else q({src:c.url,type:"cache"},function(){n(c)})}}function p(a,b){if(a.state=="loaded")return b&&b();if(a.state=="preloading")return a.onpreload.push(function(){p(a,b)});a.state="loading",q(a.url,function(){a.state="loaded",b&&b.call(),l(f[a.name],function(a){a.call()});var c=true;for(var d in g)g[d].state!="loaded"&&(c=false);c&&l(f.ALL,function(a){a.done||a.call(),a.done=true})})}function q(c,d){var e=a.createElement("script");e.type="text/"+(c.type||"javascript"),e.src=c.src||c,e.onreadystatechange=e.onload=function(){var a=e.readyState;!d.done&&(!a||/loaded|complete/.test(a))&&(d.call(),d.done=true)},b.appendChild(e)}setTimeout(function(){d=true,l(e,function(a){a.call()})},200)}(document)
D
content/js/jquery-fancybox.js
@@ -1,9 +0,0 @@
-/* - * FancyBox - simple and fancy jQuery plugin - * Examples and documentation at: http://fancy.klade.lv/ - * Version: 1.2.1 (13/03/2009) - * Copyright (c) 2009 Janis Skarnelis - * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License - * Requires: jQuery v1.3+ -*/ -eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}(';(7($){$.b.2Q=7(){u B.2t(7(){9 1J=$(B).n(\'2Z\');5(1J.1c(/^3w\\(["\']?(.*\\.2p)["\']?\\)$/i)){1J=3t.$1;$(B).n({\'2Z\':\'45\',\'2o\':"3W:3R.4m.4d(3h=F, 3T="+($(B).n(\'41\')==\'2J-3Z\'?\'4c\':\'3N\')+", Q=\'"+1J+"\')"}).2t(7(){9 1b=$(B).n(\'1b\');5(1b!=\'2e\'&&1b!=\'2n\')$(B).n(\'1b\',\'2n\')})}})};9 A,4,16=D,s=1t 1o,1w,1v=1,1y=/\\.(3A|3Y|2p|3c|3d)(.*)?$/i;9 P=($.2q.3K&&2f($.2q.3z.2k(0,1))<8);$.b.c=7(Y){Y=$.3x({},$.b.c.2R,Y);9 2s=B;7 2h(){A=B;4=Y;2r();u D};7 2r(){5(16)u;5($.1O(4.2c)){4.2c()}4.j=[];4.h=0;5(Y.j.N>0){4.j=Y.j}t{9 O={};5(!A.1H||A.1H==\'\'){9 O={d:A.d,X:A.X};5($(A).1G("1m:1D").N){O.1a=$(A).1G("1m:1D")}4.j.2j(O)}t{9 Z=$(2s).2o("a[1H="+A.1H+"]");9 O={};3C(9 i=0;i<Z.N;i++){O={d:Z[i].d,X:Z[i].X};5($(Z[i]).1G("1m:1D").N){O.1a=$(Z[i]).1G("1m:1D")}4.j.2j(O)}3F(4.j[4.h].d!=A.d){4.h++}}}5(4.23){5(P){$(\'1U, 1Q, 1P\').n(\'1S\',\'3s\')}$("#1i").n(\'25\',4.2U).J()}1d()};7 1d(){$("#1f, #1e, #V, #G").S();9 d=4.j[4.h].d;5(d.1c(/#/)){9 U=11.3r.d.3f(\'#\')[0];U=d.3g(U,\'\');U=U.2k(U.2l(\'#\'));1k(\'<6 l="3e">\'+$(U).o()+\'</6>\',4.1I,4.1x)}t 5(d.1c(1y)){s=1t 1o;s.Q=d;5(s.3a){1K()}t{$.b.c.34();$(s).x().14(\'3b\',7(){$(".I").S();1K()})}}t 5(d.1c("17")||A.3j.2l("17")>=0){1k(\'<17 l="35" 3q="$.b.c.38()" 3o="3n\'+C.T(C.3l()*3m)+\'" 2K="0" 3E="0" Q="\'+d+\'"></17>\',4.1I,4.1x)}t{$.4p(d,7(2m){1k(\'<6 l="3L">\'+2m+\'</6>\',4.1I,4.1x)})}};7 1K(){5(4.30){9 w=$.b.c.1n();9 r=C.1M(C.1M(w[0]-36,s.g)/s.g,C.1M(w[1]-4b,s.f)/s.f);9 g=C.T(r*s.g);9 f=C.T(r*s.f)}t{9 g=s.g;9 f=s.f}1k(\'<1m 48="" l="49" Q="\'+s.Q+\'" />\',g,f)};7 2F(){5((4.j.N-1)>4.h){9 d=4.j[4.h+1].d;5(d.1c(1y)){1A=1t 1o();1A.Q=d}}5(4.h>0){9 d=4.j[4.h-1].d;5(d.1c(1y)){1A=1t 1o();1A.Q=d}}};7 1k(1j,g,f){16=F;9 L=4.2Y;5(P){$("#q")[0].1E.2u("f");$("#q")[0].1E.2u("g")}5(L>0){g+=L*2;f+=L*2;$("#q").n({\'v\':L+\'z\',\'2E\':L+\'z\',\'2i\':L+\'z\',\'y\':L+\'z\',\'g\':\'2B\',\'f\':\'2B\'});5(P){$("#q")[0].1E.2C(\'f\',\'(B.2D.4j - 20)\');$("#q")[0].1E.2C(\'g\',\'(B.2D.3S - 20)\')}}t{$("#q").n({\'v\':0,\'2E\':0,\'2i\':0,\'y\':0,\'g\':\'2z%\',\'f\':\'2z%\'})}5($("#k").1u(":19")&&g==$("#k").g()&&f==$("#k").f()){$("#q").1Z("2N",7(){$("#q").1C().1F($(1j)).21("1s",7(){1g()})});u}9 w=$.b.c.1n();9 2v=(g+36)>w[0]?w[2]:(w[2]+C.T((w[0]-g-36)/2));9 2w=(f+1z)>w[1]?w[3]:(w[3]+C.T((w[1]-f-1z)/2));9 K={\'y\':2v,\'v\':2w,\'g\':g+\'z\',\'f\':f+\'z\'};5($("#k").1u(":19")){$("#q").1Z("1s",7(){$("#q").1C();$("#k").24(K,4.2X,4.2T,7(){$("#q").1F($(1j)).21("1s",7(){1g()})})})}t{5(4.1W>0&&4.j[4.h].1a!==1L){$("#q").1C().1F($(1j));9 M=4.j[4.h].1a;9 15=$.b.c.1R(M);$("#k").n({\'y\':(15.y-18)+\'z\',\'v\':(15.v-18)+\'z\',\'g\':$(M).g(),\'f\':$(M).f()});5(4.1X){K.25=\'J\'}$("#k").24(K,4.1W,4.2W,7(){1g()})}t{$("#q").S().1C().1F($(1j)).J();$("#k").n(K).21("1s",7(){1g()})}}};7 2y(){5(4.h!=0){$("#1e, #2O").x().14("R",7(e){e.2x();4.h--;1d();u D});$("#1e").J()}5(4.h!=(4.j.N-1)){$("#1f, #2M").x().14("R",7(e){e.2x();4.h++;1d();u D});$("#1f").J()}};7 1g(){2y();2F();$(W).1B(7(e){5(e.29==27){$.b.c.1l();$(W).x("1B")}t 5(e.29==37&&4.h!=0){4.h--;1d();$(W).x("1B")}t 5(e.29==39&&4.h!=(4.j.N-1)){4.h++;1d();$(W).x("1B")}});5(4.1r){$(11).14("1N 1T",$.b.c.2g)}t{$("6#k").n("1b","2e")}5(4.2b){$("#22").R($.b.c.1l)}$("#1i, #V").14("R",$.b.c.1l);$("#V").J();5(4.j[4.h].X!==1L&&4.j[4.h].X.N>0){$(\'#G 6\').o(4.j[4.h].X);$(\'#G\').J()}5(4.23&&P){$(\'1U, 1Q, 1P\',$(\'#q\')).n(\'1S\',\'19\')}5($.1O(4.2a)){4.2a()}16=D};u B.x(\'R\').R(2h)};$.b.c.2g=7(){9 m=$.b.c.1n();$("#k").n(\'y\',(($("#k").g()+36)>m[0]?m[2]:m[2]+C.T((m[0]-$("#k").g()-36)/2)));$("#k").n(\'v\',(($("#k").f()+1z)>m[1]?m[3]:m[3]+C.T((m[1]-$("#k").f()-1z)/2)))};$.b.c.1h=7(H,2A){u 2f($.3I(H.3u?H[0]:H,2A,F))||0};$.b.c.1R=7(H){9 m=H.4g();m.v+=$.b.c.1h(H,\'3k\');m.v+=$.b.c.1h(H,\'3J\');m.y+=$.b.c.1h(H,\'3H\');m.y+=$.b.c.1h(H,\'3D\');u m};$.b.c.38=7(){$(".I").S();$("#35").J()};$.b.c.1n=7(){u[$(11).g(),$(11).f(),$(W).3i(),$(W).3p()]};$.b.c.2G=7(){5(!$("#I").1u(\':19\')){33(1w);u}$("#I > 6").n(\'v\',(1v*-40)+\'z\');1v=(1v+1)%12};$.b.c.34=7(){33(1w);9 m=$.b.c.1n();$("#I").n({\'y\':((m[0]-40)/2+m[2]),\'v\':((m[1]-40)/2+m[3])}).J();$("#I").14(\'R\',$.b.c.1l);1w=3Q($.b.c.2G,3X)};$.b.c.1l=7(){16=F;$(s).x();$("#1i, #V").x();5(4.2b){$("#22").x()}$("#V, .I, #1e, #1f, #G").S();5(4.1r){$(11).x("1N 1T")}1q=7(){$("#1i, #k").S();5(4.1r){$(11).x("1N 1T")}5(P){$(\'1U, 1Q, 1P\').n(\'1S\',\'19\')}5($.1O(4.1V)){4.1V()}16=D};5($("#k").1u(":19")!==D){5(4.26>0&&4.j[4.h].1a!==1L){9 M=4.j[4.h].1a;9 15=$.b.c.1R(M);9 K={\'y\':(15.y-18)+\'z\',\'v\':(15.v-18)+\'z\',\'g\':$(M).g(),\'f\':$(M).f()};5(4.1X){K.25=\'S\'}$("#k").31(D,F).24(K,4.26,4.2S,1q)}t{$("#k").31(D,F).1Z("2N",1q)}}t{1q()}u D};$.b.c.2V=7(){9 o=\'\';o+=\'<6 l="1i"></6>\';o+=\'<6 l="22">\';o+=\'<6 p="I" l="I"><6></6></6>\';o+=\'<6 l="k">\';o+=\'<6 l="2I">\';o+=\'<6 l="V"></6>\';o+=\'<6 l="E"><6 p="E 44"></6><6 p="E 43"></6><6 p="E 42"></6><6 p="E 3V"></6><6 p="E 3U"></6><6 p="E 3O"></6><6 p="E 3M"></6><6 p="E 3P"></6></6>\';o+=\'<a d="2P:;" l="1e"><1p p="1Y" l="2O"></1p></a><a d="2P:;" l="1f"><1p p="1Y" l="2M"></1p></a>\';o+=\'<6 l="q"></6>\';o+=\'<6 l="G"></6>\';o+=\'</6>\';o+=\'</6>\';o+=\'</6>\';$(o).2H("46");$(\'<32 4i="0" 4h="0" 4k="0"><2L><13 p="G" l="4l"></13><13 p="G" l="4o"><6></6></13><13 p="G" l="4n"></13></2L></32>\').2H(\'#G\');5(P){$("#2I").47(\'<17 p="4a" 4e="2J" 2K="0"></17>\');$("#V, .E, .G, .1Y").2Q()}};$.b.c.2R={2Y:10,30:F,1X:D,1W:0,26:0,2X:3G,2W:\'28\',2S:\'28\',2T:\'28\',1I:3B,1x:3v,23:F,2U:0.3,2b:F,1r:F,j:[],2c:2d,2a:2d,1V:2d};$(W).3y(7(){$.b.c.2V()})})(4f);',62,274,'||||opts|if|div|function||var||fn|fancybox|href||height|width|itemCurrent||itemArray|fancy_outer|id|pos|css|html|class|fancy_content||imagePreloader|else|return|top||unbind|left|px|elem|this|Math|false|fancy_bg|true|fancy_title|el|fancy_loading|show|itemOpts|pad|orig_item|length|item|isIE|src|click|hide|round|target|fancy_close|document|title|settings|subGroup||window||td|bind|orig_pos|busy|iframe||visible|orig|position|match|_change_item|fancy_left|fancy_right|_finish|getNumeric|fancy_overlay|value|_set_content|close|img|getViewport|Image|span|__cleanup|centerOnScroll|normal|new|is|loadingFrame|loadingTimer|frameHeight|imageRegExp|50|objNext|keydown|empty|first|style|append|children|rel|frameWidth|image|_proceed_image|undefined|min|resize|isFunction|select|object|getPosition|visibility|scroll|embed|callbackOnClose|zoomSpeedIn|zoomOpacity|fancy_ico|fadeOut||fadeIn|fancy_wrap|overlayShow|animate|opacity|zoomSpeedOut||swing|keyCode|callbackOnShow|hideOnContentClick|callbackOnStart|null|absolute|parseInt|scrollBox|_initialize|bottom|push|substr|indexOf|data|relative|filter|png|browser|_start|matchedGroup|each|removeExpression|itemLeft|itemTop|stopPropagation|_set_navigation|100|prop|auto|setExpression|parentNode|right|_preload_neighbor_images|animateLoading|appendTo|fancy_inner|no|frameborder|tr|fancy_right_ico|fast|fancy_left_ico|javascript|fixPNG|defaults|easingOut|easingChange|overlayOpacity|build|easingIn|zoomSpeedChange|padding|backgroundImage|imageScale|stop|table|clearInterval|showLoading|fancy_frame|||showIframe||complete|load|bmp|jpeg|fancy_div|split|replace|enabled|scrollLeft|className|paddingTop|random|1000|fancy_iframe|name|scrollTop|onload|location|hidden|RegExp|jquery|355|url|extend|ready|version|jpg|425|for|borderLeftWidth|hspace|while|300|paddingLeft|curCSS|borderTopWidth|msie|fancy_ajax|fancy_bg_w|scale|fancy_bg_sw|fancy_bg_nw|setInterval|DXImageTransform|clientWidth|sizingMethod|fancy_bg_s|fancy_bg_se|progid|66|gif|repeat||backgroundRepeat|fancy_bg_e|fancy_bg_ne|fancy_bg_n|none|body|prepend|alt|fancy_img|fancy_bigIframe|60|crop|AlphaImageLoader|scrolling|jQuery|offset|cellpadding|cellspacing|clientHeight|border|fancy_title_left|Microsoft|fancy_title_right|fancy_title_main|get'.split('|'),0,{}))
M
content/styles/_content.scss
→
content/styles/_content.scss
@@ -105,7 +105,7 @@ /* Headers */
#main-content > article h1, article.page > header h1 { - font-size: 2.2em; + font-size: 2em; } #secondary-content > article h1{@@ -118,7 +118,7 @@ }
#body-text section header h1, #body-text h2 { - font-size: 2em; + font-size: 1.8em; } #main-content > article h2,@@ -161,7 +161,8 @@ display: block;
} article { - font-size: 100; + font-size: 1.1em; + line-height: 1.4em; header > p { font-size: 95%; } }
M
content/styles/_definitions.scss
→
content/styles/_definitions.scss
@@ -6,8 +6,8 @@ $border-color: #ccc;
$separator-color: #555; $link-color: #802B00; $link-hover-color: #BD3F00; -$text-color: #333; -$emphasis-color: #222; +$text-color: #000; +$emphasis-color: #000; @mixin standard-font { font-family: 'Crimson Text', 'Palatino', 'Bookman', 'Georgia', 'Times';
D
content/styles/_fancybox-gallery.scss
@@ -1,29 +0,0 @@
-#gallery { - padding: 1em; - width: 750px; - ul { - list-style: none; - li { - float: left; - margin-left: 2px; - padding-left: 0; - } - img { - border: 5px solid #dedede; - } - a:hover { - color: white; - img { - border: 5px solid #cccccc ; - color: white; - } - } - a { border-bottom: none; } - } -} -#fancy_content { - a { border-bottom: none; } -} -#fancy_title td, #fancy_title tr, #fancy_title table { - border: none; -}
D
content/styles/_fancybox.scss
@@ -1,245 +0,0 @@
-html, body { - height: 100%; } - -div#fancy_overlay { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-color: #666666; - display: none; - z-index: 30; } - -* html div#fancy_overlay { - position: absolute; - height: 580px; } - -div { - &#fancy_wrap { - text-align: left; } - &#fancy_loading { - position: absolute; - height: 40px; - width: 40px; - cursor: pointer; - display: none; - overflow: hidden; - background: transparent; - z-index: 100; - div { - position: absolute; - top: 0; - left: 0; - width: 40px; - height: 480px; - background: transparent url("/images/fancybox/fancy_progress.png") no-repeat; } } - &#fancy_loading_overlay { - position: absolute; - background-color: white; - z-index: 30; } - &#fancy_loading_icon { - position: absolute; - background: url("/images/fancybox/fancy_loading.gif") no-repeat; - z-index: 35; - width: 16px; - height: 16px; } - &#fancy_outer { - position: absolute; - top: 0; - left: 0; - z-index: 90; - padding: 18px 18px 33px 18px; - margin: 0; - overflow: hidden; - background: transparent; - display: none; } - &#fancy_inner { - position: relative; - width: 100%; - height: 100%; - border: 1px solid #bbbbbb; - background: white; } - &#fancy_content { - margin: 0; - z-index: 100; - position: absolute; } - &#fancy_div { - background: black; - color: white; - height: 100%; - width: 100%; - z-index: 100; } } - -img#fancy_img { - position: absolute; - top: 0; - left: 0; - border: 0; - padding: 0; - margin: 0; - z-index: 100; - width: 100%; - height: 100%; } - -div#fancy_close { - position: absolute; - top: -12px; - right: -15px; - height: 30px; - width: 30px; - background: url("/images/fancybox/fancy_closebox.png") top left no-repeat; - cursor: pointer; - z-index: 181; - display: none; } - -#fancy_frame { - position: relative; - width: 100%; - height: 100%; - display: none; } - -#fancy_ajax { - width: 100%; - height: 100%; - overflow: auto; } - -a { - &#fancy_left, &#fancy_right { - position: absolute; - bottom: 0px; - height: 100%; - width: 35%; - cursor: pointer; - z-index: 111; - display: none; - outline: none; } - &#fancy_left { - left: 0px; } - &#fancy_right { - right: 0px; } } - -span { - &.fancy_ico { - position: absolute; - top: 50%; - margin-top: -15px; - width: 30px; - height: 30px; - z-index: 112; - cursor: pointer; - display: block; } - &#fancy_left_ico { - left: -9999px; - background: transparent url("/images/fancybox/fancy_left.png") no-repeat; } - &#fancy_right_ico { - right: -9999px; - background: transparent url("/images/fancybox/fancy_right.png") no-repeat; } } - -a { - &#fancy_left:hover, &#fancy_right:hover { - visibility: visible; } - &#fancy_left:hover span { - left: 20px; } - &#fancy_right:hover span { - right: 20px; } } - -.fancy_bigIframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: transparent; } - -div { - &#fancy_bg { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 70; - border: 0; - padding: 0; - margin: 0; } - &.fancy_bg { - position: absolute; - display: block; - z-index: 70; - border: 0; - padding: 0; - margin: 0; } - &.fancy_bg_n { - top: -18px; - width: 100%; - height: 18px; - background: transparent url("/images/fancybox/fancy_shadow_n.png") repeat-x; } - &.fancy_bg_ne { - top: -18px; - right: -13px; - width: 13px; - height: 18px; - background: transparent url("/images/fancybox/fancy_shadow_ne.png") no-repeat; } - &.fancy_bg_e { - right: -13px; - height: 100%; - width: 13px; - background: transparent url("/images/fancybox/fancy_shadow_e.png") repeat-y; } - &.fancy_bg_se { - bottom: -18px; - right: -13px; - width: 13px; - height: 18px; - background: transparent url("/images/fancybox/fancy_shadow_se.png") no-repeat; } - &.fancy_bg_s { - bottom: -18px; - width: 100%; - height: 18px; - background: transparent url("/images/fancybox/fancy_shadow_s.png") repeat-x; } - &.fancy_bg_sw { - bottom: -18px; - left: -13px; - width: 13px; - height: 18px; - background: transparent url("/images/fancybox/fancy_shadow_sw.png") no-repeat; } - &.fancy_bg_w { - left: -13px; - height: 100%; - width: 13px; - background: transparent url("/images/fancybox/fancy_shadow_w.png") repeat-y; } - &.fancy_bg_nw { - top: -18px; - left: -13px; - width: 13px; - height: 18px; - background: transparent url("/images/fancybox/fancy_shadow_nw.png") no-repeat; } - &#fancy_title { - position: absolute; - bottom: -33px; - left: 0; - width: 100%; - z-index: 100; - display: none; - div { - color: white; - font: bold 12px Arial; - padding-bottom: 3px; } - table { - margin: 0 auto; - td { - padding: 0; - vertical-align: middle; } } } } - -td { - &#fancy_title_left { - height: 32px; - width: 15px; - background: transparent url(/images/fancybox/fancy_title_left.png) repeat-x; } - &#fancy_title_main { - height: 32px; - background: transparent url(/images/fancybox/fancy_title_main.png) repeat-x; } - &#fancy_title_right { - height: 32px; - width: 15px; - background: transparent url(/images/fancybox/fancy_title_right.png) repeat-x; } }
M
content/styles/style.scss
→
content/styles/style.scss
@@ -2,7 +2,5 @@ @import "_fonts.scss";
@import "_definitions.scss"; @import "_layout.scss"; @import "_content.scss"; -@import "_fancybox.scss"; -@import "_fancybox-gallery.scss"; @import "_vendor.scss"; @import "_code.scss";
M
layouts/default.erb
→
layouts/default.erb
@@ -43,14 +43,12 @@
<link rel="stylesheet" type="text/css" href="/styles/html5reset.css" /> <link rel="stylesheet" type="text/css" href="/styles/style.css" /> - <script src="/js/head.js" type="text/javascript"></script> <script src="http://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> <script src="/js/sevenup.js" type="text/javascript"></script> <script src="/js/sevenup_black.js" type="text/javascript"></script> <script type="text/javascript">google.load("jquery", "1");</script> <script src="/js/jquery-timeago.js" type="text/javascript"></script> <script src="/js/jquery-easing.js" type="text/javascript"></script> - <script src="/js/jquery-fancybox.js" type="text/javascript"></script> <script src="/js/date.js" type="text/javascript"></script> <script src="/js/feeds.js" type="text/javascript"></script> <script src="/js/hyphenator.js" type="text/javascript"></script>