Compare commits
7 Commits
1.0.7
...
69a36eb456
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69a36eb456 | ||
|
|
810fdd7489 | ||
|
|
ec3e5525a5 | ||
|
|
f0e2e44980 | ||
|
|
98fc38b770 | ||
|
|
50f424cfa7 | ||
|
|
f37bc329af |
@@ -6,7 +6,6 @@ og: tag: pluginnal!
|
||||
|
||||
`@media print{}`
|
||||
|
||||
képaláírás régi, galéria működjön
|
||||
|
||||
régi interjú ne legyen dőlt
|
||||
|
||||
scroll a galléria nézetben
|
||||
File diff suppressed because one or more lines are too long
@@ -107,8 +107,8 @@ function dis2019_header_scripts()
|
||||
wp_deregister_script('jquery');
|
||||
wp_register_script('jquery', get_template_directory_uri() . '/js/lib/jquery-3.3.1.min.js', array(), '3.3.1');
|
||||
|
||||
wp_register_script('conditionizr', get_template_directory_uri() . '/js/lib/conditionizr-4.3.0.min.js', array(), '4.3.0'); // Conditionizr
|
||||
wp_enqueue_script('conditionizr'); // Enqueue it!
|
||||
// wp_register_script('conditionizr', get_template_directory_uri() . '/js/lib/conditionizr-4.3.0.min.js', array(), '4.3.0'); // Conditionizr
|
||||
// wp_enqueue_script('conditionizr'); // Enqueue it!
|
||||
|
||||
wp_register_script('modernizr', get_template_directory_uri() . '/js/lib/modernizr-custom.js', array(), '2.7.1'); // Modernizr
|
||||
wp_enqueue_script('modernizr'); // Enqueue it!
|
||||
@@ -136,7 +136,7 @@ function dis2019_header_scripts()
|
||||
|
||||
wp_register_script('dis2019scripts', get_template_directory_uri() . '/js/scripts.js', array(
|
||||
'jquery',
|
||||
'conditionizr',
|
||||
// 'conditionizr',
|
||||
'modernizr',
|
||||
'simpler-sidebar',
|
||||
'fittext',
|
||||
|
||||
@@ -23,15 +23,6 @@
|
||||
<meta name="description" content="<?php bloginfo('description');?>">
|
||||
|
||||
<?php wp_head();?>
|
||||
<script>
|
||||
// conditionizr.com
|
||||
// configure environment tests
|
||||
conditionizr.config({
|
||||
assets: '<?php echo get_template_directory_uri(); ?>',
|
||||
tests: {}
|
||||
});
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body <?php body_class();?>>
|
||||
|
||||
1
js/lib/_del-modernizr-2.7.1.min.js
vendored
1
js/lib/_del-modernizr-2.7.1.min.js
vendored
File diff suppressed because one or more lines are too long
6
js/lib/_del-snap-scroll.min.js
vendored
6
js/lib/_del-snap-scroll.min.js
vendored
File diff suppressed because one or more lines are too long
2
js/lib/conditionizr-4.3.0.min.js
vendored
2
js/lib/conditionizr-4.3.0.min.js
vendored
@@ -1,2 +0,0 @@
|
||||
/*! Conditionizr v4.3.0 | (c) 2014 @toddmotto, @markgdyr | MIT license | conditionizr.com */
|
||||
!function(a,b){"function"==typeof define&&define.amd?define([],b):"object"==typeof exports?module.exports=b:a.conditionizr=b()}(this,function(){"use strict";var a,b={},c=document.head||document.getElementsByTagName("head")[0],d=function(b,d,e){var f=e?b:a+b+("style"===d?".css":".js");switch(d){case"script":var g=document.createElement("script");g.src=f,c.appendChild(g);break;case"style":var h=document.createElement("link");h.href=f,h.rel="stylesheet",c.appendChild(h);break;case"class":document.documentElement.className+=" "+b}};return b.config=function(c){var e=c||{},f=e.tests;a=e.assets||"";for(var g in f){var h=g.toLowerCase();if(b[h])for(var i=f[g],j=i.length;j--;)d(h,i[j])}},b.add=function(a,c,e){var f=a.toLowerCase();if(b[f]=e(),b[f])for(var g=c.length;g--;)d(f,c[g])},b.on=function(a,c){var d=/^\!/;(b[a.toLowerCase()]||d.test(a)&&!b[a.replace(d,"")])&&c()},b.load=b.polyfill=function(a,c){for(var e=/\.js$/.test(a)?"script":"style",f=c.length;f--;)b[c[f].toLowerCase()]&&d(a,e,!0)},b});
|
||||
@@ -1065,7 +1065,24 @@
|
||||
|
||||
//wrap images on old posts
|
||||
$('.single-content>.wp-block-image>img, .single-content>.wp-block-gallery>img').each(function () {
|
||||
let src = $(this).attr('src')
|
||||
var src = $(this).attr('src')
|
||||
var datasrc = $(this).attr('data-src')
|
||||
|
||||
var srcArr = src.split('.')
|
||||
switch (srcArr[srcArr.length - 1]) {
|
||||
case 'jpg':
|
||||
case 'png':
|
||||
case 'jpeg':
|
||||
case 'gif':
|
||||
|
||||
break;
|
||||
default:
|
||||
if (datasrc) {
|
||||
src = datasrc
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
$(this).wrap('<a class="cb-gallery" href="' + src + '" ></a>')
|
||||
// $(this).parent('p').addClass('wp-block-image')
|
||||
})
|
||||
|
||||
@@ -198,13 +198,9 @@
|
||||
}
|
||||
|
||||
@mixin single-author {
|
||||
@include single-metadata();
|
||||
font-size: 2rem;
|
||||
font: bold 2rem "Westeinde Caption";
|
||||
color: #fff;
|
||||
-webkit-text-stroke: #000 1px;
|
||||
@media #{$smalldesktop} {
|
||||
font-size: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin single-h2 {
|
||||
@@ -240,8 +236,24 @@
|
||||
}
|
||||
|
||||
@mixin related-title {
|
||||
font: 500 2rem "Westeinde Caption";
|
||||
font: 500 2rem "Westeinde Caption" !important;
|
||||
line-height: 1.3;
|
||||
@media #{$tablet} {
|
||||
font-size: 0.9rem !important;
|
||||
}
|
||||
@media #{$smalldesktop} {
|
||||
font-size: 1.3rem !important;
|
||||
}
|
||||
@media #{$bigdesktop} {
|
||||
font-size: 1.6rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin related-metadata {
|
||||
@include home-metadata();
|
||||
@media #{$verybigdesktop} {
|
||||
font-size: 1.6rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------- event --------------------------------- */
|
||||
|
||||
@@ -2116,6 +2116,10 @@ $padd: 2rem;
|
||||
top: 0.5rem;
|
||||
left: 2rem;
|
||||
}
|
||||
em {
|
||||
//fix italics in old articles
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
//nagyon nagy kiemelt
|
||||
@@ -2490,6 +2494,9 @@ $padd: 2rem;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
* {
|
||||
@include related-metadata();
|
||||
}
|
||||
|
||||
.vr {
|
||||
height: 100%;
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
<!-- Facebook -->
|
||||
<?php
|
||||
if ($categories) {
|
||||
if (is_single()) {
|
||||
?>
|
||||
<div class="fb-like" data-href="<?php the_permalink();?>" data-width="" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="true"></div>
|
||||
<div class="fb-page" data-href="https://www.facebook.com/designisso/" data-tabs="" data-width="" data-height="" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/designisso/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/designisso/">designisso</a></blockquote></div>
|
||||
@@ -131,7 +131,7 @@
|
||||
|
||||
|
||||
<?php
|
||||
if ($categories) {
|
||||
if (is_single()) {
|
||||
?>
|
||||
<div class="toHome">
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
|
||||
Reference in New Issue
Block a user