wider image on frontpage

This commit is contained in:
Toralf Neby Berge committed 2017-09-06 20:38:46 +02:00
1 parent 904015f8fc
commit 1aff2c949d
4 files changed
+7 -5

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ body {
font-family: $body-font-family;
img {
max-width: 100%;
width: 100%;
height: auto;
}
a, a:link {
@@ -66,4 +66,4 @@ html {
}
.card-z2 {
@include card-z2;
}
}
+1 -1
View File
@@ -1 +1 @@
function supports3d(){if(!window.getComputedStyle)return!1;var e,t=document.createElement("p"),n={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.insertBefore(t,null);for(var r in n)void 0!==t.style[r]&&(t.style[r]="translate3d(1px,1px,1px)",e=window.getComputedStyle(t).getPropertyValue(n[r]));return document.body.removeChild(t),void 0!==e&&e.length>0&&"none"!==e}$(document).ready(function(){function e(e){e.preventDefault();var t="<?php bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php",n="action=infinite_scroll&page="+pageNumber+'&time_scope=past&term=<?php echo get_query_var("term"); ?>&template=loop-taxonomy-event_type';$.ajax({url:t,type:"POST",data:n,success:function(e){$(".events-active").append(e)},error:function(){console.log("snufs :'(")}})}if(supports3d()?$("html").addClass("csstransforms3d"):$("html").addClass("no-csstransforms3d"),$(".menu-toggle").on("click",function(e){e.preventDefault(),$("#main-menu").toggleClass("visible"),$(".menu-toggle").toggleClass("inverted")}),$(document).on("click",function(e){$(e.target).closest("#main-menu, .menu-toggle").length||($("#main-menu").removeClass("visible"),$(".menu-toggle").removeClass("inverted"))}),$("#flickr-feed").length){var t="1292860@N21",n=12,r="https://secure.flickr.com/services/feeds/groups_pool.gne?format=json&id="+t+"&jsoncallback=?";$.getJSON(r,function(e){var t="",r="";$.each(e.items,function(e,o){var a=o.media.m.replace("_m.jpg","_q.jpg");return r=0===e?' class="first-item"':"",t+="<li"+r+'><a href="'+o.link+'" target="_blank">',t+='<img title="'+o.title+'" src="'+a+'" alt="'+o.title+'" />',t+='<span class="flickr-title">'+o.title+"</span</a></li>",parseInt(e,10)!=n-1}),$(".flickr-feed").html(t)})}if($("#wpadminbar").length&&($(".menu-toggle").css("top","64px"),$("#main-menu").css("top","32px")),$(".events--load-more").on("click",e),$(".page-template-page-program").length){var o=$(".program--filter--reset-btn"),a=$(".event-row");$(".program--filter--form").on("change",function(e){var t=$(e.target).val();a.addClass("hidden"),$('[data-root-term-id="'+t+'"').parent().parent().removeClass("hidden"),o.prop("disabled",!1)}).on("reset",function(e){a.removeClass("hidden"),o.prop("disabled",!0)})}});
function supports3d(){if(!window.getComputedStyle)return!1;var e,t=document.createElement("p"),n={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.insertBefore(t,null);for(var r in n)void 0!==t.style[r]&&(t.style[r]="translate3d(1px,1px,1px)",e=window.getComputedStyle(t).getPropertyValue(n[r]));return document.body.removeChild(t),void 0!==e&&e.length>0&&"none"!==e}$(document).ready(function(){function e(e){e.preventDefault();var t="action=infinite_scroll&page="+pageNumber+'&time_scope=past&term=<?php echo get_query_var("term"); ?>&template=loop-taxonomy-event_type';$.ajax({url:"<?php bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php",type:"POST",data:t,success:function(e){$(".events-active").append(e)},error:function(){console.log("snufs :'(")}})}if(supports3d()?$("html").addClass("csstransforms3d"):$("html").addClass("no-csstransforms3d"),$(".menu-toggle").on("click",function(e){e.preventDefault(),$("#main-menu").toggleClass("visible"),$(".menu-toggle").toggleClass("inverted")}),$(document).on("click",function(e){$(e.target).closest("#main-menu, .menu-toggle").length||($("#main-menu").removeClass("visible"),$(".menu-toggle").removeClass("inverted"))}),$("#flickr-feed").length){$.getJSON("https://secure.flickr.com/services/feeds/groups_pool.gne?format=json&id=1292860@N21&jsoncallback=?",function(e){var t="",n="";$.each(e.items,function(e,r){var o=r.media.m.replace("_m.jpg","_q.jpg");return n=0===e?' class="first-item"':"",t+="<li"+n+'><a href="'+r.link+'" target="_blank">',t+='<img title="'+r.title+'" src="'+o+'" alt="'+r.title+'" />',t+='<span class="flickr-title">'+r.title+"</span</a></li>",11!=parseInt(e,10)}),$(".flickr-feed").html(t)})}if($("#wpadminbar").length&&($(".menu-toggle").css("top","64px"),$("#main-menu").css("top","32px")),$(".events--load-more").on("click",e),$(".page-template-page-program").length){var t=$(".program--filter--reset-btn"),n=$(".event-row");$(".program--filter--form").on("change",function(e){var r=$(e.target).val();n.addClass("hidden"),$('[data-root-term-id="'+r+'"').parent().parent().removeClass("hidden"),t.prop("disabled",!1)}).on("reset",function(e){n.removeClass("hidden"),t.prop("disabled",!0)})}});
+1 -1
View File
@@ -1,3 +1,3 @@
@charset "UTF-8";
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;box-sizing:border-box}body{margin:0;background-color:#fafafa;font-family:"Roboto",sans-serif}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a,small{line-height:inherit}a{background-color:transparent;color:#f58220;text-decoration:none}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted #ddd}dfn{font-style:italic}h1{font-size:2em}mark{background:#ff0;color:#000}small{font-size:60%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;border:solid #ddd;border-width:1px 0 0;clear:both;height:0;margin:1.25rem 0 1.1875rem}pre{overflow:auto}code,kbd,pre,samp{font-size:1em}kbd,pre,samp{font-family:monospace,monospace}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible;-webkit-appearance:button}button,select{text-transform:none}html input[type=button],input[type=reset]{-webkit-appearance:button;cursor:pointer}button,input[type=submit]{cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{margin:0 2px;padding:.35em .625em .75em;border:1px solid #ddd;margin:1.125rem 0;padding:1.25rem}legend{border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0;background:#fff;border:solid 1px #ddd;margin-bottom:1.25rem;table-layout:auto}form .row .row.collapse .column,form .row .row.collapse .columns,legend{padding:0}meta.foundation-version{font-family:"/5.5.3/"}meta.foundation-mq-small{font-family:"/only screen/";width:0}meta.foundation-mq-small-only{font-family:"/only screen and (max-width: 40em)/";width:0}meta.foundation-mq-medium{font-family:"/only screen and (min-width:40.0625em)/";width:40.0625em}meta.foundation-mq-medium-only{font-family:"/only screen and (min-width:40.0625em) and (max-width:64em)/";width:40.0625em}meta.foundation-mq-large{font-family:"/only screen and (min-width:64.0625em)/";width:64.0625em}meta.foundation-mq-large-only{font-family:"/only screen and (min-width:64.0625em) and (max-width:90em)/";width:64.0625em}meta.foundation-mq-xlarge{font-family:"/only screen and (min-width:90.0625em)/";width:90.0625em}meta.foundation-mq-xlarge-only{font-family:"/only screen and (min-width:90.0625em) and (max-width:120em)/";width:90.0625em}meta.foundation-mq-xxlarge{font-family:"/only screen and (min-width:120.0625em)/";width:120.0625em}meta.foundation-data-attribute-namespace{font-family:false}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}.text-justify{text-align:justify!important}@media only screen and (max-width:40em){.small-only-text-left{text-align:left!important}.small-only-text-right{text-align:right!important}.small-only-text-center{text-align:center!important}.small-only-text-justify{text-align:justify!important}}@media only screen{.small-text-left{text-align:left!important}.small-text-right{text-align:right!important}.small-text-center{text-align:center!important}.small-text-justify{text-align:justify!important}}@media only screen and (min-width:40.0625em) and (max-width:64em){.medium-only-text-left{text-align:left!important}.medium-only-text-right{text-align:right!important}.medium-only-text-center{text-align:center!important}.medium-only-text-justify{text-align:justify!important}}@media only screen and (min-width:40.0625em){.medium-text-left{text-align:left!important}.medium-text-right{text-align:right!important}.medium-text-center{text-align:center!important}.medium-text-justify{text-align:justify!important}}@media only screen and (min-width:64.0625em) and (max-width:90em){.large-only-text-left{text-align:left!important}.large-only-text-right{text-align:right!important}.large-only-text-center{text-align:center!important}.large-only-text-justify{text-align:justify!important}}@media only screen and (min-width:64.0625em){.large-text-left{text-align:left!important}.large-text-right{text-align:right!important}.large-text-center{text-align:center!important}.large-text-justify{text-align:justify!important}}@media only screen and (min-width:90.0625em) and (max-width:120em){.xlarge-only-text-left{text-align:left!important}.xlarge-only-text-riLine truncated
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;box-sizing:border-box}body{margin:0;background-color:#fafafa;font-family:"Roboto",sans-serif}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a,small{line-height:inherit}a{background-color:transparent;color:#f58220;text-decoration:none}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted #ddd}dfn{font-style:italic}h1{font-size:2em}mark{background:#ff0;color:#000}small{font-size:60%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;border:solid #ddd;border-width:1px 0 0;clear:both;height:0;margin:1.25rem 0 1.1875rem}pre{overflow:auto}code,kbd,pre,samp{font-size:1em}kbd,pre,samp{font-family:monospace,monospace}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible;-webkit-appearance:button}button,select{text-transform:none}html input[type=button],input[type=reset]{-webkit-appearance:button;cursor:pointer}button,input[type=submit]{cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{margin:0 2px;padding:.35em .625em .75em;border:1px solid #ddd;margin:1.125rem 0;padding:1.25rem}legend{border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0;background:#fff;border:solid 1px #ddd;margin-bottom:1.25rem;table-layout:auto}form .row .row.collapse .column,form .row .row.collapse .columns,legend{padding:0}meta.foundation-version{font-family:"/5.5.3/"}meta.foundation-mq-small{font-family:"/only screen/";width:0}meta.foundation-mq-small-only{font-family:"/only screen and (max-width: 40em)/";width:0}meta.foundation-mq-medium{font-family:"/only screen and (min-width:40.0625em)/";width:40.0625em}meta.foundation-mq-medium-only{font-family:"/only screen and (min-width:40.0625em) and (max-width:64em)/";width:40.0625em}meta.foundation-mq-large{font-family:"/only screen and (min-width:64.0625em)/";width:64.0625em}meta.foundation-mq-large-only{font-family:"/only screen and (min-width:64.0625em) and (max-width:90em)/";width:64.0625em}meta.foundation-mq-xlarge{font-family:"/only screen and (min-width:90.0625em)/";width:90.0625em}meta.foundation-mq-xlarge-only{font-family:"/only screen and (min-width:90.0625em) and (max-width:120em)/";width:90.0625em}meta.foundation-mq-xxlarge{font-family:"/only screen and (min-width:120.0625em)/";width:120.0625em}meta.foundation-data-attribute-namespace{font-family:false}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}.text-justify{text-align:justify!important}@media only screen and (max-width:40em){.small-only-text-left{text-align:left!important}.small-only-text-right{text-align:right!important}.small-only-text-center{text-align:center!important}.small-only-text-justify{text-align:justify!important}}@media only screen{.small-text-left{text-align:left!important}.small-text-right{text-align:right!important}.small-text-center{text-align:center!important}.small-text-justify{text-align:justify!important}}@media only screen and (min-width:40.0625em) and (max-width:64em){.medium-only-text-left{text-align:left!important}.medium-only-text-right{text-align:right!important}.medium-only-text-center{text-align:center!important}.medium-only-text-justify{text-align:justify!important}}@media only screen and (min-width:40.0625em){.medium-text-left{text-align:left!important}.medium-text-right{text-align:right!important}.medium-text-center{text-align:center!important}.medium-text-justify{text-align:justify!important}}@media only screen and (min-width:64.0625em) and (max-width:90em){.large-only-text-left{text-align:left!important}.large-only-text-right{text-align:right!important}.large-only-text-center{text-align:center!important}.large-only-text-justify{text-align:justify!important}}@media only screen and (min-width:64.0625em){.large-text-left{text-align:left!important}.large-text-right{text-align:right!important}.large-text-center{text-align:center!important}.large-text-justify{text-align:justify!important}}@media only screen and (min-width:90.0625em) and (max-width:120em){.xlarge-only-text-left{text-align:left!important}.xlarge-only-text-riLine truncated
+3 -1
View File
@@ -2,7 +2,9 @@
"name": "dns2015",
"version": "0.0.1",
"private": true,
"dependencies": {},
"dependencies": {
"jshint": "^2.9.5"
},
"devDependencies": {
"browser-sync": "^2.16.0",
"del": "^2.2.2",