diff --git a/docs/index.rst b/docs/index.rst index 8703177..e6bf775 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -103,7 +103,6 @@ Credits ------- * galleria: http://galleria.aino.se/ -* WordPress Photography Theme: http://thethemefoundry.com/photography/ Changelog diff --git a/sigal/themes/galleria/static/css/style.css b/sigal/themes/galleria/static/css/style.css index 6ec8e8b..cc593dd 100644 --- a/sigal/themes/galleria/static/css/style.css +++ b/sigal/themes/galleria/static/css/style.css @@ -7,7 +7,7 @@ table { border-collapse: collapse; border-spacing: 0; } body { - font: 75% Molengo, sans-serif; + font: 14px/1.5 Molengo, sans-serif; margin: 0; padding: 0; background-color: #242424; @@ -54,21 +54,19 @@ header h1 a:hover { /* gallery */ -#main ul { +#albums ul { list-style-type: none; margin-left: 20px; } -#main ul li { +#albums ul li { display: inline-block; margin: 0 40px 30px 0; text-align: center; } -#main ul li:nth-child(3n+3) { +#albums ul li:nth-child(3n+3) { margin-right: 0; } -#albums ul {} -#albums ul li {} #albums ul li a img { opacity: 1; -webkit-transition: opacity 0.2s ease-in; @@ -107,6 +105,7 @@ header h1 a:hover { line-height: 0; margin: 0 0 40px -10px; width: 980px; + height: 600px; } footer { diff --git a/sigal/themes/galleria/static/js/galleria-1.2.3.min.js b/sigal/themes/galleria/static/js/galleria-1.2.3.min.js deleted file mode 100755 index b694e0e..0000000 --- a/sigal/themes/galleria/static/js/galleria-1.2.3.min.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - Galleria v 1.2.3 2011-04-14 - http://galleria.aino.se - - Copyright (c) 2011, Aino - Licensed under the MIT license. -*/ -(function(e){var j=this,m=j.document,A=e(m),w=!1,o=navigator.userAgent.toLowerCase(),B=j.location.hash.replace(/#\//,""),p=function(){return g.TOUCH?"touchstart":"click"},n=function(){var a=3,b=m.createElement("div"),c=b.getElementsByTagName("i");do b.innerHTML="<\!--[if gt IE "+ ++a+"]>";while(c[0]);return a>4?a:void 0}(),q=function(){return{html:m.documentElement,body:m.body,head:m.getElementsByTagName("head")[0],title:m.title}},C=function(){var a=[];e.each("data ready thumbnail loadstart loadfinish image play pause progress fullscreen_enter fullscreen_exit idle_enter idle_exit rescale lightbox_open lightbox_close lightbox_image".split(" "), -function(b,c){a.push(c);/_/.test(c)&&a.push(c.replace(/_/g,""))});return a}(),D=function(a){var b;if(typeof a!=="object")return a;e.each(a,function(c,d){/^[a-z]+_/.test(c)&&(b="",e.each(c.split("_"),function(a,c){b+=a>0?c.substr(0,1).toUpperCase()+c.substr(1):c}),a[b]=d,delete a[c])});return a},x=function(a){if(e.inArray(a,C)>-1)return g[a.toUpperCase()];return a},r={trunk:{},add:function(a,b,c,d){d=d||!1;this.clear(a);if(d)var e=b,b=function(){e();r.add(a,b,c)};this.trunk[a]=j.setTimeout(b,c)},clear:function(a){var b= -function(a){j.clearTimeout(this.trunk[a]);delete this.trunk[a]},c;if(a&&a in this.trunk)b.call(r,a);else if(typeof a==="undefined")for(c in this.trunk)this.trunk.hasOwnProperty(c)&&b.call(r,c)}},t=[],f=function(){return{array:function(a){return Array.prototype.slice.call(a)},create:function(a,b){var c=m.createElement(b||"div");c.className=a;return c},forceStyles:function(a,b){a=e(a);a.attr("style")&&a.data("styles",a.attr("style")).removeAttr("style");a.css(b)},revertStyles:function(){e.each(f.array(arguments), -function(a,b){b=e(b).removeAttr("style");b.data("styles")&&b.attr("style",b.data("styles")).data("styles",null)})},moveOut:function(a){f.forceStyles(a,{position:"absolute",left:-1E4})},moveIn:function(){f.revertStyles.apply(f,f.array(arguments))},hide:function(a,b,c){a=e(a);a.data("opacity")||a.data("opacity",a.css("opacity"));var d={opacity:0};b?a.stop().animate(d,b,c):a.css(d)},show:function(a,b,c){var a=e(a),d={opacity:parseFloat(a.data("opacity"))||1};b?a.stop().animate(d,b,c):a.css(d)},addTimer:function(){r.add.apply(r, -f.array(arguments));return this},clearTimer:function(){r.clear.apply(r,f.array(arguments));return this},wait:function(a){var a=e.extend({until:function(){return!1},success:function(){},error:function(){g.raise("Could not complete wait function.")},timeout:3E3},a),b=f.timestamp(),c,d,i=function(){d=f.timestamp();c=d-b;if(a.until(c))return a.success(),!1;if(d>=b+a.timeout)return a.error(),!1;j.setTimeout(i,2)};j.setTimeout(i,2)},toggleQuality:function(a,b){if(!(n!==7&&n!==8)&&a)typeof b==="undefined"&& -(b=a.style.msInterpolationMode==="nearest-neighbor"),a.style.msInterpolationMode=b?"bicubic":"nearest-neighbor"},insertStyleTag:function(a){var b=m.createElement("style");q().head.appendChild(b);b.styleSheet?b.styleSheet.cssText=a:(a=m.createTextNode(a),b.appendChild(a))},loadScript:function(a,b){var c=!1,d=e(" @@ -43,7 +42,9 @@ {% if images %}