diff --git a/KÉZIKÖNYV.md b/KÉZIKÖNYV.md index 14815b4..e121abd 100644 --- a/KÉZIKÖNYV.md +++ b/KÉZIKÖNYV.md @@ -10,10 +10,14 @@ esemény cat-id-t átírni!! (Line 195) settings>reading>Blog pages show at most 6 -## Paraméterek, elemek szerkesztése +## Különböző elemek szerkesztése ### Bejegyzések +#### Egyéni mezők + +Ezek a cikk alján láthatóak a szerkesztő felületen + dis-alcim: - Csak az első két nagy cikknél jelenik meg @@ -22,6 +26,26 @@ dis-bevezeto: - Csak az első két nagy cikknél jelenik meg +#### Dokumentum beállítások + +Ezek a szerkesztőben a jobb oldali oldalsávon láthatóak, ha nincs kijelölve semmi, vagy az oldalsáv tetején bal oldali Dokumentumok gombra kattintva + +Kategóriák: + +- Egyértelmű, ide a cikk témájához kapcsolódó dolognak kell kerülnie, pl Design, Animáció + +Címkék: + +- be, do, think, love +- A kereső felajánlja gépelés elkezdése után +- Lehetőleg kisbetűvel mindent + +Formátum: +- Ide a bejegyzés formátumát kell beírni, pl interjú, portfólió, hír, stb... +- A kereső felajánlja gépelés elkezdése után a már korábban szereplőket + + + ### Események dis-esemeny-datum: diff --git a/alm_templates/default.php b/alm_templates/default.php deleted file mode 100644 index 1a59515..0000000 --- a/alm_templates/default.php +++ /dev/null @@ -1,31 +0,0 @@ -
> - - - - - - - - - -
-
- -
-
- -
- - -
- - - -

- -

- - - - -
\ No newline at end of file diff --git a/css/base.css b/css/base.css index a914c11..8c90338 100644 --- a/css/base.css +++ b/css/base.css @@ -1146,7 +1146,8 @@ object { -ms-transform: skewX(-45deg); -webkit-transform: skewX(-45deg); transform: skewX(-45deg); - transform-origin: left bottom; } + transform-origin: left bottom; + border-top: #000 solid 1px; } .archive main section .home-wrapper-big.home-wrapper-1 article .metadata .filler, .home main section .home-wrapper-big.home-wrapper-1 article .metadata .filler { position: relative; } @@ -1299,7 +1300,8 @@ object { -ms-transform: skewX(-45deg); -webkit-transform: skewX(-45deg); transform: skewX(-45deg); - transform-origin: left bottom; } + transform-origin: left bottom; + border-top: #000 solid 1px; } .archive main section .home-wrapper-small article .metadata.vis, .archive main section .home-wrapper-small .archivetitle .metadata.vis, .archive main section .home-wrapper-small .archivedescription .metadata.vis, @@ -1468,7 +1470,8 @@ object { -ms-transform: skewX(-45deg); -webkit-transform: skewX(-45deg); transform: skewX(-45deg); - transform-origin: left bottom; } + transform-origin: left bottom; + border-top: #000 solid 1px; } .archive main section .home-wrapper-small .archivetitle h1, .home main section .home-wrapper-small .archivetitle h1 { font: bold 3rem "Westeinde Caption"; @@ -1548,13 +1551,15 @@ body.category.category-esemeny main { display: flex; flex-direction: column; padding: 2rem; } - body.category.category-esemeny main article .event-metadata .top-row, body.category.category-esemeny main article .event-metadata .bottom-row { + body.category.category-esemeny main article .event-metadata .top-row, + body.category.category-esemeny main article .event-metadata .bottom-row { display: flex; flex-direction: row; justify-content: space-between; height: 50%; flex: 0 0 auto; } - body.category.category-esemeny main article .event-metadata .top-row h2, body.category.category-esemeny main article .event-metadata .bottom-row h2 { + body.category.category-esemeny main article .event-metadata .top-row h2, + body.category.category-esemeny main article .event-metadata .bottom-row h2 { height: unset; } body.category.category-esemeny main article .event-metadata .hr { flex: 0 0 auto; @@ -1565,259 +1570,245 @@ body.category.category-esemeny main { /* -------------------------------------------------------------------------- */ /* single */ /* -------------------------------------------------------------------------- */ -@media (min-width: 769px) { - .single .wrapper { - height: unset; } - .single .wrapper .header .header-1, - .single .wrapper .header .header-2 { - background: transparent; - border: none; } - .single .wrapper .header .header-1 .social-link, - .single .wrapper .header .header-1 .search-box, - .single .wrapper .header .header-1 .events-link, - .single .wrapper .header .header-2 .social-link, - .single .wrapper .header .header-2 .search-box, - .single .wrapper .header .header-2 .events-link { - display: none; } } - -.single article { - /* --------------------------- single sub sections -------------------------- */ - /* ----------------------------- single content ----------------------------- */ } +.single { + /* ---------------------------- single on mobile ---------------------------- */ } @media (min-width: 769px) { - .single article { - margin-top: 100vh; - margin-left: calc(5rem); - background-color: #fff; - border-left: #000 solid 1px; } } - .single article > * { - padding: 2rem; - margin: 0; } - @media (min-width: 769px) { - .single article > * { - padding: 2rem 5rem; } } - .single article .thumbnailwrapper { - padding: 0; } - @media (min-width: 769px) { - .single article .thumbnailwrapper { - position: fixed; - top: 0; - right: 0; - left: calc(-5rem); - z-index: -1; - bottom: 0; } } - .single article .thumbnailwrapper img.attachment-post-thumbnail { - height: 75vh; - width: 100vw; - object-fit: cover; + .single .wrapper { + height: unset; + width: 100%; } + .single .wrapper .header .header-1, + .single .wrapper .header .header-2 { + background: transparent; + border: none; } + .single .wrapper .header .header-1 .social-link, + .single .wrapper .header .header-1 .search-box, + .single .wrapper .header .header-1 .events-link, + .single .wrapper .header .header-2 .social-link, + .single .wrapper .header .header-2 .search-box, + .single .wrapper .header .header-2 .events-link { + display: none; } } + .single article { + /* ---------------------------- single on desktop --------------------------- */ + /* ----------------------------- single content ----------------------------- */ } + .single article .thumbnailwrapper { padding: 0; } - @media (min-width: 769px) { - .single article .thumbnailwrapper img.attachment-post-thumbnail { - width: 100%; - height: 100%; } } - .single article .titlewrapper { - position: absolute; - top: 0; - width: 100vw; - height: 100vh; - display: flex; - flex-direction: column; - justify-content: flex-end; - align-content: flex-start; - padding: 0; } - @media (min-width: 769px) { - .single article .titlewrapper { - position: relative; - height: unset; - display: block; - width: unset; } } - .single article .titlewrapper .metadata { - width: calc(100vw - 5rem) !important; - bottom: unset !important; - height: 5rem; - position: relative; - align-self: flex-end; + .single article .thumbnailwrapper img.attachment-post-thumbnail { + height: 75vh; + width: 100vw; + object-fit: cover; + padding: 0; } + .single article .titlewrapper { + position: absolute; + top: 0; + width: 100%; + height: 100vh; display: flex; - flex-direction: row; - justify-content: space-between; - font: bold 1rem "Westeinde Caption"; } - @media (min-width: 769px) { - .single article .titlewrapper .metadata { - font: 900 2rem "Westeinde Caption"; - color: #fff; - -webkit-text-stroke: #000 1px; } } - @media (min-width: 769px) { - .single article .titlewrapper .metadata { - top: -5rem; - background-color: #fff; - margin-left: 5rem; - padding-left: 0; - width: calc(100% - 5rem) !important; } - .single article .titlewrapper .metadata::after { - position: absolute; - content: ""; - display: block; - top: 0; - border: none; - width: calc(100% - 5rem + 5rem); - border-top: #000 1px solid; - background-color: white; - left: calc(5rem); - margin-left: -5rem; } - .single article .titlewrapper .metadata::before { - display: block; - content: ""; - position: absolute; - width: calc(5rem); - height: calc(5rem); - top: 0; - background-color: white; - z-index: 9; - left: -5rem; - border-left: #000 solid 1px; - -moz-transform: skewX(-45deg); - -o-transform: skewX(-45deg); - -ms-transform: skewX(-45deg); - -webkit-transform: skewX(-45deg); - transform: skewX(-45deg); - transform-origin: left bottom; } } - .single article .titlewrapper .metadata .time-cat { - z-index: 10; } - .single article .titlewrapper h1 { - margin: 0; - font: bold 3rem "Butler"; - color: #000; - min-height: 25vh; - padding: 2rem; - background-color: #fff; } - @media (min-width: 769px) { - .single article .titlewrapper h1 { - font-size: 7rem; } } - @media (min-width: 769px) { - .single article .titlewrapper h1 { + flex-direction: column; + justify-content: flex-end; + align-content: flex-start; + padding: 0; } + .single article .titlewrapper .metadata { + width: calc(100vw - 5rem); + bottom: unset !important; + height: 5rem; + position: relative; + align-self: flex-end; + display: flex; + flex-direction: row; + justify-content: space-between; + font: bold 1rem "Westeinde Caption"; } + @media (min-width: 769px) { + .single article .titlewrapper .metadata { + font: 900 2rem "Westeinde Caption"; + color: #fff; + -webkit-text-stroke: #000 1px; } } + .single article .titlewrapper .metadata .time-cat { + z-index: 10; } + .single article .titlewrapper h1.single-title { + margin: 0; + font: 800 3rem "Butler"; + color: #000; + min-height: 25vh; + padding: 2rem; + background-color: #fff; } + @media (min-width: 769px) { + .single article .titlewrapper h1.single-title { + font-size: 5rem; } } + @media (min-width: 769px) { + .single article { + margin-top: 100vh; + margin-left: 5rem; + background-color: #fff; + border-left: #000 solid 1px; + padding-left: 5rem; + /* ---------------------- title and metadata on desktop --------------------- */ } + .single article .thumbnailwrapper { position: fixed; - bottom: 0; + top: 0; left: 0; - right: 0; - padding: 10rem; - background-color: transparent; - z-index: -1; } } - .single article .title2 { - display: none; } - @media (min-width: 769px) { - .single article .title2 { - display: block; - font: bold 3rem "Butler"; - color: #000; } } - @media (min-width: 769px) and (min-width: 769px) { - .single article .title2 { - font-size: 5rem; } } - .single article hr { - height: 1px; - background-color: #ff5f5f; - padding: 0; - margin: 0 auto; - border: none; - width: 20%; } - .single article hr.content-wrap { - width: 40%; } - .single article hr.content-begin { - margin-top: calc(25vh + 2rem); } + z-index: -1; + bottom: 0; + width: 100%; } + .single article .thumbnailwrapper img.attachment-post-thumbnail { + object-fit: cover; + padding: 0; + width: 100%; + height: 100%; } + .single article .titlewrapper { + position: relative; + justify-content: flex-start; + height: unset; } + .single article .titlewrapper .metadata { + top: -5rem; + width: 100%; + padding-left: 0; } + .single article .titlewrapper .metadata::after { + position: absolute; + content: ""; + display: block; + top: 0; + border: none; + width: calc(100% - 5rem + 5rem); + border-top: #000 1px solid; + background-color: white; + left: calc(5rem); + margin-left: -5rem; } + .single article .titlewrapper .metadata::before { + display: block; + content: ""; + position: absolute; + width: calc(5rem); + height: calc(5rem); + top: 0; + background-color: white; + z-index: 9; + left: -5rem; + border-left: #000 solid 1px; + -moz-transform: skewX(-45deg); + -o-transform: skewX(-45deg); + -ms-transform: skewX(-45deg); + -webkit-transform: skewX(-45deg); + transform: skewX(-45deg); + transform-origin: left bottom; + border-top: #000 solid 1px; } + .single article .titlewrapper h1.single-title { + background-color: transparent; + min-height: unset; + top: -5rem; + position: relative; } } + .single article .single-content { + position: relative; + padding: 2rem; } @media (min-width: 769px) { - .single article hr.content-begin { - margin-top: 0; } } - .single article strong { - font-weight: 900; } - .single article blockquote { - font: bold 1.8rem "Butler"; - color: #000; } - .single article blockquote p { - background: #ff5f5f; - display: inline; - padding: 2px 0; - -moz-box-shadow: 10px 0 #ff5f5f, -5px 0 #ff5f5f; - -webkit-box-shadow: 10px 0 #ff5f5f, -5px 0 #ff5f5f; - box-shadow: 10px 0 #ff5f5f, -5px 0 #ff5f5f; } - .single article .wp-block-image { - padding: 2rem 0; } - @media (min-width: 769px) { - .single article .wp-block-image { - padding: 2rem 5rem; } } - .single article .wp-block-image figure { - position: relative; } - .single article .wp-block-image figure figcaption { - bottom: 0 !important; } - .single article .wp-block-image figure figcaption::after { - content: ""; - display: block; - position: absolute; - background-color: transparent; - width: 0; - height: 0; - right: -5rem; - top: -5rem; - border-top: 5rem solid transparent; - border-left: 5rem solid transparent; - border-right: 5rem solid transparent; - border-bottom: 5rem solid #fff; - position: absolute; - z-index: -1; } - .single article .wp-block-image figcaption, - .single article .wp-block-gallery .blocks-gallery-image figcaption, - .single article .wp-block-gallery .blocks-gallery-item figcaption { - background: #fff; - position: absolute; - width: calc(100% - 5rem); - height: 5rem; - padding: 1rem 2rem; - margin: 0; - bottom: unset; - font: 900 1rem "Westeinde Caption"; - color: #fff; - -webkit-text-stroke-width: 1px; - line-height: 1; - text-align: left; - overflow: unset; - display: flex; - flex-direction: column; - justify-content: center; - z-index: 1; } - .single article .wp-block-gallery { - padding: 2rem 0; } - .single article .wp-block-gallery li { - margin-right: 0; } - .single article .wp-block-gallery li:nth-child(odd) figcaption::after { - content: ""; - display: block; + .single article .single-content { + top: -5rem; } } + .single article .single-content hr { + height: 1px; + background-color: #ff5f5f; + padding: 0; + margin: 0 auto; + border: none; + width: 20%; } + .single article .single-content hr.content-wrap { + width: 40%; } + .single article .single-content hr.content-begin { + margin-top: calc(25vh + 2rem); } + @media (min-width: 769px) { + .single article .single-content hr.content-begin { + margin-top: 0; } } + .single article .single-content strong { + font-weight: 900; } + .single article .single-content blockquote { + font: bold 1.8rem "Butler"; + color: #000; } + .single article .single-content blockquote p { + background: #ff5f5f; + display: inline; + padding: 2px 0; + -moz-box-shadow: 10px 0 #ff5f5f, -5px 0 #ff5f5f; + -webkit-box-shadow: 10px 0 #ff5f5f, -5px 0 #ff5f5f; + box-shadow: 10px 0 #ff5f5f, -5px 0 #ff5f5f; } + .single article .single-content .wp-block-image { + padding: 2rem 0; } + @media (min-width: 769px) { + .single article .single-content .wp-block-image { + padding: 2rem 5rem; } } + .single article .single-content .wp-block-image figure { + position: relative; } + .single article .single-content .wp-block-image figure figcaption { + bottom: 0 !important; } + .single article .single-content .wp-block-image figure figcaption::after { + content: ""; + display: block; + position: absolute; + background-color: transparent; + width: 0; + height: 0; + right: -5rem; + top: -5rem; + border-top: 5rem solid transparent; + border-left: 5rem solid transparent; + border-right: 5rem solid transparent; + border-bottom: 5rem solid #fff; + position: absolute; + z-index: -1; } + .single article .single-content .wp-block-image figcaption, + .single article .single-content .wp-block-gallery .blocks-gallery-image figcaption, + .single article .single-content .wp-block-gallery .blocks-gallery-item figcaption { + background: #fff; position: absolute; - background-color: transparent; - width: 0; - height: 0; - right: -5rem; - top: -5rem; - border-top: 5rem solid transparent; - border-left: 5rem solid transparent; - border-right: 5rem solid transparent; - border-bottom: 5rem solid #fff; - position: absolute; - z-index: -1; } - .single article .wp-block-gallery li:nth-child(even) figcaption { - right: 0; - top: 0; } - .single article .wp-block-gallery li:nth-child(even) figcaption::after { - content: ""; - display: block; - position: absolute; - background-color: transparent; - width: 0; - height: 0; - left: -5rem; - bottom: -5rem; - border-bottom: 5rem solid transparent; - border-left: 5rem solid transparent; - border-right: 5rem solid transparent; - border-top: 5rem solid #fff; - position: absolute; - z-index: -1; } + width: calc(100% - 5rem); + height: 5rem; + padding: 1rem 2rem; + margin: 0; + bottom: unset; + font: 900 1rem "Westeinde Caption"; + color: #fff; + -webkit-text-stroke-width: 1px; + line-height: 1; + text-align: left; + overflow: unset; + display: flex; + flex-direction: column; + justify-content: center; + z-index: 1; } + .single article .single-content .wp-block-gallery { + padding: 2rem 0; } + .single article .single-content .wp-block-gallery li { + margin-right: 0; } + .single article .single-content .wp-block-gallery li:nth-child(odd) figcaption::after { + content: ""; + display: block; + position: absolute; + background-color: transparent; + width: 0; + height: 0; + right: -5rem; + top: -5rem; + border-top: 5rem solid transparent; + border-left: 5rem solid transparent; + border-right: 5rem solid transparent; + border-bottom: 5rem solid #fff; + position: absolute; + z-index: -1; } + .single article .single-content .wp-block-gallery li:nth-child(even) figcaption { + right: 0; + top: 0; } + .single article .single-content .wp-block-gallery li:nth-child(even) figcaption::after { + content: ""; + display: block; + position: absolute; + background-color: transparent; + width: 0; + height: 0; + left: -5rem; + bottom: -5rem; + border-bottom: 5rem solid transparent; + border-left: 5rem solid transparent; + border-right: 5rem solid transparent; + border-top: 5rem solid #fff; + position: absolute; + z-index: -1; } /* -------------------------------------------------------------------------- */ /* TAG COLORS */ diff --git a/functions.php b/functions.php index f0c9f16..b3b0898 100644 --- a/functions.php +++ b/functions.php @@ -226,10 +226,10 @@ function dis_2019_order_events_by_date(&$query) function register_dis_menu() { register_nav_menus(array( // Using array to specify more menus if needed - 'main-left-menu' => __('Főmenü bal oldal', 'dis2019'), // Main Navigation - 'main-right-menu' => __('Főmenü jobb oldal', 'dis2019'), // Extra Navigation if needed (duplicate as many as you need!) + 'main-left-menu' => __('Main menu left', 'dis2019'), // Main Navigation + 'main-right-menu' => __('Main menu right', 'dis2019'), // Extra Navigation if needed (duplicate as many as you need!) // 'sidebar-menu' => __('Sidebar Menu', 'dis2019'), // Sidebar Navigation - 'tag-menu' => __('BE DO THINK LOVE', 'dis2019'), // bedo circle + 'tag-menu' => __('Circular tags', 'dis2019'), // bedo circle //'main-right-menu' => __('Header Right Menu', 'dis2019'), // Extra Navigation if needed (duplicate as many as you need!) )); } @@ -554,7 +554,7 @@ add_action('wp_print_scripts', 'dis2019_conditional_scripts'); // Add Conditiona add_action('get_header', 'enable_threaded_comments'); // Enable Threaded Comments add_action('wp_enqueue_scripts', 'dis2019_styles'); // Add Theme Stylesheet add_action('init', 'register_dis_menu'); // Add dis-2019 Menu -add_action('init', 'create_post_type_dis'); // Add our dis-2019 Custom Post Type +//add_action('init', 'create_post_type_dis'); // Add our dis-2019 Custom Post Type add_action('widgets_init', 'my_remove_recent_comments_style'); // Remove inline Recent Comment Styles from wp_head() add_action('init', 'diswp_pagination'); // Add our HTML5 Pagination @@ -691,4 +691,32 @@ function dis2019_register_taxonomy_format() } add_action('init', 'dis2019_register_taxonomy_format'); +function dis2019_register_taxonomy_author() +{ + $labels = [ + 'name' => _x('Author', 'taxonomy general name'), + 'singular_name' => _x('Author', 'taxonomy singular name'), + 'search_items' => __('Search Authors'), + 'all_items' => __('All Authors'), + 'parent_item' => __('Parent Author'), + 'parent_item_colon' => __('Parent Author:'), + 'edit_item' => __('Edit Author'), + 'update_item' => __('Update Author'), + 'add_new_item' => __('Add New Author'), + 'new_item_name' => __('New Author Name'), + 'menu_name' => __('Authors'), + ]; + $args = [ + 'hierarchical' => false, // make it hierarchical (like categories) + 'labels' => $labels, + 'show_ui' => true, + 'show_admin_column' => true, + 'query_var' => true, + 'rewrite' => ['slug' => 'Author'], + 'show_in_rest' => true, + ]; + register_taxonomy('Author', ['post'], $args); +} +add_action('init', 'dis2019_register_taxonomy_author'); + ?> diff --git a/js/scripts.js b/js/scripts.js index 645f76b..81e8932 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -405,7 +405,7 @@ $(window).on('wheel DOMMouseScroll', function (e) { //e.preventDefault(); if (!isMobile) { - if (isHome || !isMobile) { + if (isHome || isArchive) { if (scrolltimer) { return false; } diff --git a/languages/hu_HU.mo b/languages/hu_HU.mo index bf0b6bb..a3da03b 100644 Binary files a/languages/hu_HU.mo and b/languages/hu_HU.mo differ diff --git a/languages/hu_HU.po b/languages/hu_HU.po index 509fbed..f365d29 100644 --- a/languages/hu_HU.po +++ b/languages/hu_HU.po @@ -1,198 +1,335 @@ msgid "" msgstr "" "Project-Id-Version: dis-2019 WordPress Theme\n" -"POT-Creation-Date: 2013-09-18 00:26+0100\n" +"POT-Creation-Date: 2019-07-03 17:51+0200\n" "PO-Revision-Date: \n" "Last-Translator: Sallay Arnold \n" "Language-Team: \n" +"Language: hu_HU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.5\n" +"X-Generator: Poedit 2.0.6\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-KeywordsList: _e;__\n" "X-Poedit-Basepath: .\n" -"Language: hu_HU\n" "X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPath-1: ..\n" -#: ../404.php:9 +#: ../404.php:10 msgid "Page not found" msgstr "A keresett oldal nem található" -#: ../404.php:11 +#: ../404.php:12 msgid "Return home?" msgstr "Vissza a főoldalra?" -#: ../archive.php:6 -msgid "Archives" -msgstr "Archívum" - -#: ../author.php:8 -msgid "Author Archives for " -msgstr "Szerkesztői archívum - " - -#: ../author.php:14 -msgid "About " -msgstr "Rólunk " - -#: ../author.php:41 ../loop.php:22 ../single.php:27 -msgid "Published by" -msgstr "Közzétette " - -#: ../author.php:42 ../loop.php:23 ../single.php:28 -msgid "Leave your thoughts" -msgstr "Hozzászólás" - -#: ../author.php:42 ../loop.php:23 ../single.php:28 -msgid "1 Comment" -msgstr "1 Hozzászólás" - -#: ../author.php:42 ../loop.php:23 ../single.php:28 -msgid "% Comments" -msgstr "% Hozzászólás" - -#: ../author.php:61 ../loop.php:39 ../page.php:31 ../single.php:53 -#: ../template-demo.php:31 +#: ../category-esemeny.php:74 ../loop.php:99 ../page.php:30 ../single.php:68 msgid "Sorry, nothing to display." msgstr "Nincs tartalom." -#: ../category.php:6 -msgid "Categories for" -msgstr "Kategória: " +#: ../functions.php:229 +msgid "Main menu left" +msgstr "Főmenü bal" -#: ../comments.php:3 -msgid "Post is password protected. Enter the password to view any comments." -msgstr "" -"A tartalom jelszóval védett. A jelszó megadása után minden hozzászólás " -"látható lesz." +#: ../functions.php:230 +msgid "Main menu right" +msgstr "Főmenü jobb" -#: ../comments.php:18 -msgid "Comments are closed here." -msgstr "Hozzászólás zárolva." +#: ../functions.php:232 +msgid "Circular tags" +msgstr "Kör címkék" -#: ../footer.php:6 -msgid "Powered by" -msgstr "Motor:" - -#: ../functions.php:133 -msgid "Header Menu" -msgstr "Fejléc Menü" - -#: ../functions.php:134 -msgid "Sidebar Menu" -msgstr "Oldalsáv Menü" - -#: ../functions.php:135 -msgid "Extra Menu" -msgstr "Extra Menü" - -#: ../functions.php:181 -msgid "Widget Area 1" -msgstr "Widget rész 1" - -#: ../functions.php:182 ../functions.php:193 -msgid "Description for this widget-area..." -msgstr "A widhet rész leírása..." - -#: ../functions.php:192 -msgid "Widget Area 2" -msgstr "Widget rész 2" - -#: ../functions.php:258 +#: ../functions.php:358 msgid "View Article" msgstr "Tartalom Megtekintése" -#: ../functions.php:319 +#: ../functions.php:422 #, php-format msgid "%s says:" msgstr "%s :" -#: ../functions.php:322 +#: ../functions.php:425 msgid "Your comment is awaiting moderation." msgstr "A hozzászólás moderálásra vár." -#: ../functions.php:328 +#: ../functions.php:431 #, php-format msgid "%1$s at %2$s" msgstr "%1$s - %2$s" -#: ../functions.php:328 +#: ../functions.php:431 msgid "(Edit)" msgstr "(Szerkesztés)" -#: ../functions.php:411 ../functions.php:412 -msgid "dis-2019 Custom Post" -msgstr "dis-2019 Egyedi Tartalom" +#: ../functions.php:671 +msgid "Search Formats" +msgstr "Formátumok keresése" -#: ../functions.php:413 -msgid "Add New" -msgstr "Új hozzáadása" +#: ../functions.php:672 +msgid "All Formats" +msgstr "Minden formátum" -#: ../functions.php:414 -msgid "Add New dis-2019 Custom Post" -msgstr "Új egyedi dis-2019 tartalom hozzáadása" +#: ../functions.php:673 +msgid "Parent Format" +msgstr "Szülő formátum" -#: ../functions.php:415 -msgid "Edit" -msgstr "Szerkesztés" +#: ../functions.php:674 +msgid "Parent Format:" +msgstr "Szülő formátum:" -#: ../functions.php:416 -msgid "Edit dis-2019 Custom Post" -msgstr "dis-2019 egyedi tartalom szerkesztése" +#: ../functions.php:675 +msgid "Edit Format" +msgstr "Formátum szerkesztése" -#: ../functions.php:417 -msgid "New dis-2019 Custom Post" -msgstr "Új dis-2019 egyedi tartalom" +#: ../functions.php:676 +msgid "Update Format" +msgstr "Formátum frissítése" -#: ../functions.php:418 ../functions.php:419 -msgid "View dis-2019 Custom Post" -msgstr "dis-2019 egyedi tartalom megtekintése" +#: ../functions.php:677 +msgid "Add New Format" +msgstr "Új formátum hozzáadása" -#: ../functions.php:420 -msgid "Search dis-2019 Custom Post" -msgstr "dis-2019 egyedi tartalomak keresése" +#: ../functions.php:678 +msgid "New Format Name" +msgstr "Új formátum neve" -#: ../functions.php:421 -msgid "No dis-2019 Custom Posts found" -msgstr "Nincs dis-2019 egyedi tartalom" +#: ../functions.php:679 +msgid "Formats" +msgstr "Formátumok" -#: ../functions.php:422 -msgid "No dis-2019 Custom Posts found in Trash" -msgstr "Nincs dis-2019 egyedi tartalom a kukában" +#: ../functions.php:699 +msgid "Search Authors" +msgstr "Szerző keresése" -#: ../index.php:6 -msgid "Latest Posts" -msgstr "Legfrissebb bejegyzések" +#: ../functions.php:700 +msgid "All Authors" +msgstr "Minden szerző" -#: ../search.php:6 +#: ../functions.php:701 +msgid "Parent Author" +msgstr "Szülő szerző" + +#: ../functions.php:702 +msgid "Parent Author:" +msgstr "Szülő szerző:" + +#: ../functions.php:703 +msgid "Edit Author" +msgstr "Szerző szerkesztése" + +#: ../functions.php:704 +msgid "Update Author" +msgstr "Szerző frissítése" + +#: ../functions.php:705 +msgid "Add New Author" +msgstr "Új szerző hozzáadása" + +#: ../functions.php:706 +msgid "New Author Name" +msgstr "Új szerző neve" + +#: ../functions.php:707 +msgid "Authors" +msgstr "" + +#: ../node_modules/yargs-parser/index.js:301 +#, javascript-format +msgid "Not enough arguments following: %s" +msgstr "Hiányzó paraméterek a következő után: %s" + +#: ../node_modules/yargs-parser/index.js:449 +#, javascript-format +msgid "Invalid JSON config file: %s" +msgstr "Érvénytelen JSON fájl: %s" + +#: ../node_modules/yargs/lib/usage.js:169 +msgid "Commands:" +msgstr "Parancsok" + +#: ../node_modules/yargs/lib/usage.js:177 +#: ../node_modules/yargs/lib/usage.js:407 +msgid "default:" +msgstr "Alapértelmezett:" + +#: ../node_modules/yargs/lib/usage.js:179 +msgid "aliases:" +msgstr "" + +#: ../node_modules/yargs/lib/usage.js:241 +msgid "boolean" +msgstr "" + +#: ../node_modules/yargs/lib/usage.js:242 +msgid "count" +msgstr "" + +#: ../node_modules/yargs/lib/usage.js:243 +#: ../node_modules/yargs/lib/usage.js:244 +msgid "string" +msgstr "" + +#: ../node_modules/yargs/lib/usage.js:245 +msgid "array" +msgstr "" + +#: ../node_modules/yargs/lib/usage.js:246 +msgid "number" +msgstr "" + +#: ../node_modules/yargs/lib/usage.js:250 +msgid "required" +msgstr "" + +#: ../node_modules/yargs/lib/usage.js:251 +msgid "choices:" +msgstr "" + +#: ../node_modules/yargs/lib/usage.js:270 +msgid "Examples:" +msgstr "" + +#: ../node_modules/yargs/lib/usage.js:385 +msgid "generated-value" +msgstr "" + +#: ../node_modules/yargs/lib/validation.js:26 +#: ../node_modules/yargs/lib/validation.js:49 +#, javascript-format +msgid "Not enough non-option arguments: got %s, need at least %s" +msgstr "" + +#: ../node_modules/yargs/lib/validation.js:37 +#, javascript-format +msgid "Too many non-option arguments: got %s, maximum of %s" +msgstr "" + +#: ../node_modules/yargs/lib/validation.js:185 +msgid "Invalid values:" +msgstr "" + +#: ../node_modules/yargs/lib/validation.js:188 +#, javascript-format +msgid "Argument: %s, Given: %s, Choices: %s" +msgstr "" + +#: ../node_modules/yargs/lib/validation.js:218 +#, javascript-format +msgid "Argument check failed: %s" +msgstr "" + +#: ../node_modules/yargs/lib/validation.js:283 +msgid "Implications failed:" +msgstr "" + +#: ../node_modules/yargs/lib/validation.js:313 +#, javascript-format +msgid "Arguments %s and %s are mutually exclusive" +msgstr "" + +#: ../node_modules/yargs/lib/validation.js:332 +#, javascript-format +msgid "Did you mean %s?" +msgstr "" + +#: ../search.php:7 #, php-format msgid "%s Search Results for " msgstr "%s Találatok " -#: ../searchform.php:3 -msgid "To search, type and hit enter." -msgstr "Keresési feltétel, majd [Enter]." +#~ msgid "Archives" +#~ msgstr "Archívum" -#: ../searchform.php:4 -msgid "Search" -msgstr "Keresés" +#~ msgid "Author Archives for " +#~ msgstr "Szerkesztői archívum - " -#: ../single.php:33 -msgid "Tags: " -msgstr "Címkék: " +#~ msgid "About " +#~ msgstr "Rólunk " -#: ../single.php:35 -msgid "Categorised in: " -msgstr "Kategória: " +#~ msgid "Published by" +#~ msgstr "Közzétette " -#: ../single.php:37 -msgid "This post was written by " -msgstr "Írta: " +#~ msgid "Leave your thoughts" +#~ msgstr "Hozzászólás" -#: ../tag.php:6 -msgid "Tag Archive: " -msgstr "Archívim: " +#~ msgid "1 Comment" +#~ msgstr "1 Hozzászólás" + +#~ msgid "Categories for" +#~ msgstr "Kategória: " + +#~ msgid "Post is password protected. Enter the password to view any comments." +#~ msgstr "A tartalom jelszóval védett. A jelszó megadása után minden hozzászólás látható lesz." + +#~ msgid "Comments are closed here." +#~ msgstr "Hozzászólás zárolva." + +#~ msgid "Powered by" +#~ msgstr "Motor:" + +#~ msgid "Header Menu" +#~ msgstr "Fejléc Menü" + +#~ msgid "Sidebar Menu" +#~ msgstr "Oldalsáv Menü" + +#~ msgid "Extra Menu" +#~ msgstr "Extra Menü" + +#~ msgid "Widget Area 1" +#~ msgstr "Widget rész 1" + +#~ msgid "Description for this widget-area..." +#~ msgstr "A widhet rész leírása..." + +#~ msgid "Widget Area 2" +#~ msgstr "Widget rész 2" + +#~ msgid "dis-2019 Custom Post" +#~ msgstr "dis-2019 Egyedi Tartalom" + +#~ msgid "Add New dis-2019 Custom Post" +#~ msgstr "Új egyedi dis-2019 tartalom hozzáadása" + +#~ msgid "Edit" +#~ msgstr "Szerkesztés" + +#~ msgid "Edit dis-2019 Custom Post" +#~ msgstr "dis-2019 egyedi tartalom szerkesztése" + +#~ msgid "New dis-2019 Custom Post" +#~ msgstr "Új dis-2019 egyedi tartalom" + +#~ msgid "View dis-2019 Custom Post" +#~ msgstr "dis-2019 egyedi tartalom megtekintése" + +#~ msgid "Search dis-2019 Custom Post" +#~ msgstr "dis-2019 egyedi tartalomak keresése" + +#~ msgid "No dis-2019 Custom Posts found" +#~ msgstr "Nincs dis-2019 egyedi tartalom" + +#~ msgid "No dis-2019 Custom Posts found in Trash" +#~ msgstr "Nincs dis-2019 egyedi tartalom a kukában" + +#~ msgid "Latest Posts" +#~ msgstr "Legfrissebb bejegyzések" + +#~ msgid "To search, type and hit enter." +#~ msgstr "Keresési feltétel, majd [Enter]." + +#~ msgid "Tags: " +#~ msgstr "Címkék: " + +#~ msgid "Categorised in: " +#~ msgstr "Kategória: " + +#~ msgid "This post was written by " +#~ msgstr "Írta: " + +#~ msgid "Tag Archive: " +#~ msgstr "Archívim: " #~ msgid "%s results for " #~ msgstr "%s Ergebnisse für " diff --git a/sass/_font-mixins.scss b/sass/_font-mixins.scss index fe55e26..229888c 100644 --- a/sass/_font-mixins.scss +++ b/sass/_font-mixins.scss @@ -129,21 +129,21 @@ // } @mixin single-title { - font: bold 3rem "Butler"; - color: #000; - @media #{$smalldesktop} { - font-size: 7rem; - } -} - -@mixin single-title2 { - font: bold 3rem "Butler"; + font: 800 3rem "Butler"; color: #000; @media #{$smalldesktop} { font-size: 5rem; } } +// @mixin single-title2 { +// font: bold 3rem "Butler"; +// color: #000; +// @media #{$smalldesktop} { +// font-size: 5rem; +// } +// } + @mixin single-metadata { font: bold 1rem "Westeinde Caption"; @media #{$smalldesktop} { diff --git a/sass/base.scss b/sass/base.scss index 620b50e..2135d25 100644 --- a/sass/base.scss +++ b/sass/base.scss @@ -131,7 +131,6 @@ $v-unit-6: 24rem; #{$wh}: max-content; #{$wh}: -moz-fit-content; #{$wh}: fit-content; - } @mixin transition($transition) { @@ -266,6 +265,7 @@ $v-unit-6: 24rem; border-left: $bordercolor solid 1px; @include transform(skewX(-45deg)); transform-origin: left bottom; + border-top: $bordercolor solid 1px; } @if $side==right { right: -#{$offset}; @@ -377,7 +377,7 @@ $v-unit-6: 24rem; // color: #000; // fill: currentColor; filter: invert(100%); //black - @include transform(rotate(180deg)) // transform: rotate(180deg);;;;;;;;;;;;;;;;;;;;;;;;;;;;; + @include transform(rotate(180deg)); } } } @@ -1083,7 +1083,7 @@ $v-unit-6: 24rem; &.home-wrapper-s1:not(.home-wrapper-small) { margin-left: $h-unit-1 !important; } - &.home-wrapper-s1.home-wrapper-small{ + &.home-wrapper-s1.home-wrapper-small { margin-left: $h-unit-2 !important; } @@ -1234,46 +1234,42 @@ body.category.category-esemeny { } main { padding-top: 5rem + (2rem * 2); - article{ + article { height: 50vh; - .thumbnailwrapper{ + .thumbnailwrapper { height: 50vw; - img{ + img { width: 100%; height: 100%; } } - .event-metadata{ + .event-metadata { display: flex; flex-direction: column; padding: 2rem; - .top-row, .bottom-row{ + .top-row, + .bottom-row { display: flex; flex-direction: row; justify-content: space-between; height: 50%; flex: 0 0 auto; - &>*{ - + // & > * { + // } + .ev-date { } - .ev-date{ - - } - h2{ + h2 { height: unset; - } - } - .hr{ + .hr { flex: 0 0 auto; height: 1px; width: 100%; background-color: #000; } - } } } @@ -1288,6 +1284,7 @@ body.category.category-esemeny { @media #{$smalldesktop} { .wrapper { height: unset; + width: 100%; .header { .header-1, .header-2 { @@ -1303,69 +1300,41 @@ body.category.category-esemeny { } } + /* ---------------------------- single on mobile ---------------------------- */ article { $padd: 2rem; - @media #{$smalldesktop} { - margin-top: 100vh; - margin-left: calc(#{$h-unit-1}); - background-color: #fff; - border-left: #000 solid 1px; - //border-top: #000 solid 1px; - } - - & > * { - padding: $padd; - margin: 0; - @media #{$smalldesktop} { - padding: $padd $h-unit-1; - } - } + // & > *, + // h1.single-title { + // padding: $padd; + // margin: 0; + // } .thumbnailwrapper { padding: 0; - @media #{$smalldesktop} { - position: fixed; - top: 0; - right: 0; - left: calc(-#{$h-unit-1}); - z-index: -1; - bottom: 0; - } + img.attachment-post-thumbnail { // post thumbnail on home height: 75vh; width: 100vw; object-fit: cover; padding: 0; - @media #{$smalldesktop} { - width: 100%; - height: 100%; - } } } - /* --------------------------- single sub sections -------------------------- */ - .titlewrapper { position: absolute; top: 0; - width: 100vw; + width: 100%; height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; align-content: flex-start; padding: 0; - @media #{$smalldesktop} { - position: relative; - height: unset; - display: block; - width: unset; - } .metadata { - width: calc(100vw - #{$h-unit-1}) !important; + width: calc(100vw - #{$h-unit-1}); bottom: unset !important; height: $h-unit-1; position: relative; @@ -1374,128 +1343,183 @@ body.category.category-esemeny { flex-direction: row; justify-content: space-between; @include single-metadata(); - @media #{$smalldesktop} { - top: -#{$h-unit-1}; - background-color: #fff; - margin-left: $h-unit-1; - padding-left: 0; - width: calc(100% - #{$h-unit-1}) !important; - @include triangle-corner-bordered(#{$h-unit-1}, #{$h-unit-1}, white, #000, left); - } .time-cat { z-index: 10; } } - h1 { + h1.single-title { margin: 0; @include single-title(); min-height: 25vh; padding: $padd; background-color: #fff; - @media #{$smalldesktop} { - position: fixed; - // height: 100vh; - bottom: 0; - left: 0; - right: 0; - padding: $h-unit-2; - background-color: transparent; - z-index: -1; - } } } - .title2 { - display: none; - @media #{$smalldesktop} { - display: block; - @include single-title2(); + + /* ---------------------------- single on desktop --------------------------- */ + + @media #{$smalldesktop} { + margin-top: 100vh; + margin-left: $h-unit-1; + background-color: #fff; + border-left: #000 solid 1px; + padding-left: $h-unit-1; + + // & > * { + // padding: $padd $h-unit-1; + // } + + .thumbnailwrapper { + position: fixed; + top: 0; + left: 0; + // left: calc(-#{$h-unit-1}); + z-index: -1; + bottom: 0; + width: 100%; + + img.attachment-post-thumbnail { + // post thumbnail on home + + object-fit: cover; + padding: 0; + + width: 100%; + height: 100%; + } + } + + /* ---------------------- title and metadata on desktop --------------------- */ + + .titlewrapper { + position: relative; + justify-content: flex-start; + height: unset; + // display: block; + + .metadata { + top: -#{$h-unit-1}; + // width: calc(100% - #{$h-unit-1}); + width: 100%; + padding-left: 0; + + @include triangle-corner-bordered(#{$h-unit-1}, #{$h-unit-1}, white, #000, left); + + .time-cat { + } + } + h1.single-title { + background-color: transparent; + min-height: unset; + top: -#{$h-unit-1}; + position: relative; + // //position: fixed; + // // height: 100vh; + // bottom: 0; + // left: 0; + // right: 0; + // // padding: $h-unit-2; + + // z-index: -1; + // //ez lehet nem kell, összedolgozni: + // display: block; + // // @include single-title2(); + } } } /* ----------------------------- single content ----------------------------- */ - hr { - height: 1px; - background-color: #ff5f5f; - padding: 0; - margin: 0 auto; - border: none; - width: 20%; - &.content-wrap { - width: 40%; - } - &.content-begin { - margin-top: calc(25vh + #{$padd}); - @media #{$smalldesktop} { - margin-top: 0; - } - } - } - - strong { - font-weight: 900; - } - - blockquote { - @include single-quote(); - p { - background: #ff5f5f; - display: inline; - padding: 2px 0; - @include box-shadow(10px 0 #ff5f5f, -5px 0 #ff5f5f); - } - } - - .wp-block-image { - padding: $padd 0; + .single-content { + position: relative; + padding: $padd; @media #{$smalldesktop} { - padding: $padd $h-unit-1; + top: -#{$h-unit-1}; } - figure { - position: relative; - figcaption { - bottom: 0 !important; - &::after { - @include trianglecorner(topright, #{$h-unit-1}); + hr { + height: 1px; + background-color: #ff5f5f; + padding: 0; + margin: 0 auto; + border: none; + width: 20%; + &.content-wrap { + width: 40%; + } + &.content-begin { + margin-top: calc(25vh + #{$padd}); + @media #{$smalldesktop} { + margin-top: 0; } } } - } - .wp-block-image figcaption, - .wp-block-gallery .blocks-gallery-image figcaption, - .wp-block-gallery .blocks-gallery-item figcaption { - background: #fff; - position: absolute; - width: calc(100% - #{$h-unit-1}); - height: $h-unit-1; - padding: 1rem $padd; - margin: 0; - bottom: unset; - @include captiontext(); - line-height: 1; - text-align: left; - overflow: unset; - display: flex; - flex-direction: column; - justify-content: center; - z-index: 1; - } + strong { + font-weight: 900; + } - .wp-block-gallery { - padding: $padd 0; - li { - margin-right: 0; - &:nth-child(odd) figcaption::after { - @include trianglecorner(topright, #{$h-unit-1}); + blockquote { + @include single-quote(); + p { + background: #ff5f5f; + display: inline; + padding: 2px 0; + @include box-shadow(10px 0 #ff5f5f, -5px 0 #ff5f5f); } - &:nth-child(even) figcaption { - right: 0; - top: 0; - &::after { - @include trianglecorner(bottomleft, #{$h-unit-1}); + } + + .wp-block-image { + padding: $padd 0; + @media #{$smalldesktop} { + padding: $padd $h-unit-1; + } + figure { + position: relative; + figcaption { + bottom: 0 !important; + + &::after { + @include trianglecorner(topright, #{$h-unit-1}); + } + } + } + } + + .wp-block-image figcaption, + .wp-block-gallery .blocks-gallery-image figcaption, + .wp-block-gallery .blocks-gallery-item figcaption { + background: #fff; + position: absolute; + width: calc(100% - #{$h-unit-1}); + height: $h-unit-1; + padding: 1rem $padd; + margin: 0; + bottom: unset; + @include captiontext(); + line-height: 1; + text-align: left; + overflow: unset; + display: flex; + flex-direction: column; + justify-content: center; + z-index: 1; + } + + .wp-block-gallery { + padding: $padd 0; + li { + margin-right: 0; + &:nth-child(odd) figcaption::after { + @include trianglecorner(topright, #{$h-unit-1}); + } + &:nth-child(even) figcaption { + right: 0; + top: 0; + &::after { + @include trianglecorner(bottomleft, #{$h-unit-1}); + } } } } diff --git a/single.php b/single.php index 01bce5a..2c14555 100644 --- a/single.php +++ b/single.php @@ -40,18 +40,20 @@ -

- -

- - -

+

-
- -
+ + + +
+
+ +
+
+ + diff --git a/style.css b/style.css index 922d9cc..538e2b6 100644 --- a/style.css +++ b/style.css @@ -1,11 +1,11 @@ /* Theme Name: dis-2019 - Theme URI: http://gyetvai-peter.hu - Description: dis-2019 WordPress Theme - Version: 0.0.1 - Author: Gyetvai Peter, based on HTML5blank: http://toddmotto.com - Author URI: http://gyetvai-peter.hu - Tags: Blank, HTML5, CSS3 + Theme URI: https://git.gyetpet.dynu.net/infeeeee/dis-2019 + Description: Designisso téma 2019 | Használati utasítás | Hibák, problémák jelentése + Version: 0.1.0 + Author: Gyetvai Péter + Author URI: https://gyetvai-peter.hu + Tags: Designisso License: MIT License URI: http://opensource.org/licenses/mit-license.php */