5 Commits

Author SHA1 Message Date
infeeeee
f37bc329af todo update 2019-09-11 19:57:44 +02:00
infeeeee
f9b7bb5d3a mobile thumbnail fixed 2019-09-11 19:55:42 +02:00
infeeeee
5ba4282209 1.0.6 2019-09-11 19:49:49 +02:00
infeeeee
c1ad3bba53 bump 1.0.5 2019-09-11 19:46:38 +02:00
infeeeee
4766e59307 fix figcaption in js 2019-09-11 19:46:07 +02:00
5 changed files with 6 additions and 13 deletions

View File

@@ -6,7 +6,6 @@ og: tag: pluginnal!
`@media print{}` `@media print{}`
képaláírás régi, galéria működjön
régi interjú ne legyen dőlt régi interjú ne legyen dőlt
scroll a galléria nézetben

File diff suppressed because one or more lines are too long

View File

@@ -811,12 +811,6 @@
/* ------------------------- Click on small articles ------------------------ */ /* ------------------------- Click on small articles ------------------------ */
// $('article.home-small').click(function () {
// let href = $(this).children('a.thumbnailwrapper').attr("href")
// window.open(href, "_self")
// })
$(document).on({ $(document).on({
mouseup: function () { mouseup: function () {
let href = $(this).children('a.thumbnailwrapper').attr("href") let href = $(this).children('a.thumbnailwrapper').attr("href")
@@ -1060,7 +1054,7 @@
/* ----------------------------- images, gallery ---------------------------- */ /* ----------------------------- images, gallery ---------------------------- */
//wrap old galleries //wrap old galleries
$('.single-content>p').each(function () { $('.single-content>p, .single-content>.wp-caption').each(function () {
let nrOfImgs = $(this).children('img').length let nrOfImgs = $(this).children('img').length
if (nrOfImgs > 1) { if (nrOfImgs > 1) {
$(this).addClass('wp-block-gallery') $(this).addClass('wp-block-gallery')
@@ -1070,7 +1064,7 @@
}) })
//wrap images on old posts //wrap images on old posts
$('.single-content div.wp-caption img, .single-content>.wp-block-image>img, .single-content>.wp-block-gallery>img').each(function () { $('.single-content>.wp-block-image>img, .single-content>.wp-block-gallery>img').each(function () {
let src = $(this).attr('src') let src = $(this).attr('src')
$(this).wrap('<a class="cb-gallery" href="' + src + '" ></a>') $(this).wrap('<a class="cb-gallery" href="' + src + '" ></a>')
// $(this).parent('p').addClass('wp-block-image') // $(this).parent('p').addClass('wp-block-image')

View File

@@ -1870,7 +1870,7 @@ $padd: 2rem;
.thumbnailwrapper { .thumbnailwrapper {
padding: 0; padding: 0;
img.attachment-post-thumbnail { img.attachment-single-thumbnail {
// post thumbnail on home // post thumbnail on home
height: 75vh; height: 75vh;
width: 100vw; width: 100vw;

View File

@@ -2,7 +2,7 @@
Theme Name: dis-2019 Theme Name: dis-2019
Theme URI: https://git.gyetpet.dynu.net/infeeeee/dis-2019 Theme URI: https://git.gyetpet.dynu.net/infeeeee/dis-2019
Description: Designisso téma 2019 | <a target="_blank" href="https://git.gyetpet.dynu.net/infeeeee/dis-2019/src/branch/master/K%c3%89ZIK%c3%96NYV.md">Használati utasítás magyarul</a> | <a target="_blank" href="https://git.gyetpet.dynu.net/infeeeee/dis-2019/issues">Hibák, problémák jelentése</a> Description: Designisso téma 2019 | <a target="_blank" href="https://git.gyetpet.dynu.net/infeeeee/dis-2019/src/branch/master/K%c3%89ZIK%c3%96NYV.md">Használati utasítás magyarul</a> | <a target="_blank" href="https://git.gyetpet.dynu.net/infeeeee/dis-2019/issues">Hibák, problémák jelentése</a>
Version: 1.0.4 Version: 1.0.7
Author: Gyetvai Péter Author: Gyetvai Péter
Author URI: https://gyetvai-peter.hu Author URI: https://gyetvai-peter.hu
Tags: Designisso Tags: Designisso