cat, home, tag,search pages
This commit is contained in:
446
ChromePhp.php
446
ChromePhp.php
@@ -1,446 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright 2010-2013 Craig Campbell
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Server Side Chrome PHP debugger class
|
||||
*
|
||||
* @package ChromePhp
|
||||
* @author Craig Campbell <iamcraigcampbell@gmail.com>
|
||||
*/
|
||||
class ChromePhp
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const VERSION = '4.1.0';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const HEADER_NAME = 'X-ChromeLogger-Data';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const BACKTRACE_LEVEL = 'backtrace_level';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const LOG = 'log';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const WARN = 'warn';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const ERROR = 'error';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const GROUP = 'group';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const INFO = 'info';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const GROUP_END = 'groupEnd';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const GROUP_COLLAPSED = 'groupCollapsed';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const TABLE = 'table';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $_php_version;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $_timestamp;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $_json = array(
|
||||
'version' => self::VERSION,
|
||||
'columns' => array('log', 'backtrace', 'type'),
|
||||
'rows' => array()
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $_backtraces = array();
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected $_error_triggered = false;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $_settings = array(
|
||||
self::BACKTRACE_LEVEL => 1
|
||||
);
|
||||
|
||||
/**
|
||||
* @var ChromePhp
|
||||
*/
|
||||
protected static $_instance;
|
||||
|
||||
/**
|
||||
* Prevent recursion when working with objects referring to each other
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $_processed = array();
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*/
|
||||
private function __construct()
|
||||
{
|
||||
$this->_php_version = phpversion();
|
||||
$this->_timestamp = $this->_php_version >= 5.1 ? $_SERVER['REQUEST_TIME'] : time();
|
||||
$this->_json['request_uri'] = $_SERVER['REQUEST_URI'];
|
||||
}
|
||||
|
||||
/**
|
||||
* gets instance of this class
|
||||
*
|
||||
* @return ChromePhp
|
||||
*/
|
||||
public static function getInstance()
|
||||
{
|
||||
if (self::$_instance === null) {
|
||||
self::$_instance = new self();
|
||||
}
|
||||
return self::$_instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* logs a variable to the console
|
||||
*
|
||||
* @param mixed $data,... unlimited OPTIONAL number of additional logs [...]
|
||||
* @return void
|
||||
*/
|
||||
public static function log()
|
||||
{
|
||||
$args = func_get_args();
|
||||
return self::_log('', $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* logs a warning to the console
|
||||
*
|
||||
* @param mixed $data,... unlimited OPTIONAL number of additional logs [...]
|
||||
* @return void
|
||||
*/
|
||||
public static function warn()
|
||||
{
|
||||
$args = func_get_args();
|
||||
return self::_log(self::WARN, $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* logs an error to the console
|
||||
*
|
||||
* @param mixed $data,... unlimited OPTIONAL number of additional logs [...]
|
||||
* @return void
|
||||
*/
|
||||
public static function error()
|
||||
{
|
||||
$args = func_get_args();
|
||||
return self::_log(self::ERROR, $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* sends a group log
|
||||
*
|
||||
* @param string value
|
||||
*/
|
||||
public static function group()
|
||||
{
|
||||
$args = func_get_args();
|
||||
return self::_log(self::GROUP, $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* sends an info log
|
||||
*
|
||||
* @param mixed $data,... unlimited OPTIONAL number of additional logs [...]
|
||||
* @return void
|
||||
*/
|
||||
public static function info()
|
||||
{
|
||||
$args = func_get_args();
|
||||
return self::_log(self::INFO, $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* sends a collapsed group log
|
||||
*
|
||||
* @param string value
|
||||
*/
|
||||
public static function groupCollapsed()
|
||||
{
|
||||
$args = func_get_args();
|
||||
return self::_log(self::GROUP_COLLAPSED, $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* ends a group log
|
||||
*
|
||||
* @param string value
|
||||
*/
|
||||
public static function groupEnd()
|
||||
{
|
||||
$args = func_get_args();
|
||||
return self::_log(self::GROUP_END, $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* sends a table log
|
||||
*
|
||||
* @param string value
|
||||
*/
|
||||
public static function table()
|
||||
{
|
||||
$args = func_get_args();
|
||||
return self::_log(self::TABLE, $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* internal logging call
|
||||
*
|
||||
* @param string $type
|
||||
* @return void
|
||||
*/
|
||||
protected static function _log($type, array $args)
|
||||
{
|
||||
// nothing passed in, don't do anything
|
||||
if (count($args) == 0 && $type != self::GROUP_END) {
|
||||
return;
|
||||
}
|
||||
|
||||
$logger = self::getInstance();
|
||||
|
||||
$logger->_processed = array();
|
||||
|
||||
$logs = array();
|
||||
foreach ($args as $arg) {
|
||||
$logs[] = $logger->_convert($arg);
|
||||
}
|
||||
|
||||
$backtrace = debug_backtrace(false);
|
||||
$level = $logger->getSetting(self::BACKTRACE_LEVEL);
|
||||
|
||||
$backtrace_message = 'unknown';
|
||||
if (isset($backtrace[$level]['file']) && isset($backtrace[$level]['line'])) {
|
||||
$backtrace_message = $backtrace[$level]['file'] . ' : ' . $backtrace[$level]['line'];
|
||||
}
|
||||
|
||||
$logger->_addRow($logs, $backtrace_message, $type);
|
||||
}
|
||||
|
||||
/**
|
||||
* converts an object to a better format for logging
|
||||
*
|
||||
* @param Object
|
||||
* @return array
|
||||
*/
|
||||
protected function _convert($object)
|
||||
{
|
||||
// if this isn't an object then just return it
|
||||
if (!is_object($object)) {
|
||||
return $object;
|
||||
}
|
||||
|
||||
//Mark this object as processed so we don't convert it twice and it
|
||||
//Also avoid recursion when objects refer to each other
|
||||
$this->_processed[] = $object;
|
||||
|
||||
$object_as_array = array();
|
||||
|
||||
// first add the class name
|
||||
$object_as_array['___class_name'] = get_class($object);
|
||||
|
||||
// loop through object vars
|
||||
$object_vars = get_object_vars($object);
|
||||
foreach ($object_vars as $key => $value) {
|
||||
|
||||
// same instance as parent object
|
||||
if ($value === $object || in_array($value, $this->_processed, true)) {
|
||||
$value = 'recursion - parent object [' . get_class($value) . ']';
|
||||
}
|
||||
$object_as_array[$key] = $this->_convert($value);
|
||||
}
|
||||
|
||||
$reflection = new ReflectionClass($object);
|
||||
|
||||
// loop through the properties and add those
|
||||
foreach ($reflection->getProperties() as $property) {
|
||||
|
||||
// if one of these properties was already added above then ignore it
|
||||
if (array_key_exists($property->getName(), $object_vars)) {
|
||||
continue;
|
||||
}
|
||||
$type = $this->_getPropertyKey($property);
|
||||
|
||||
if ($this->_php_version >= 5.3) {
|
||||
$property->setAccessible(true);
|
||||
}
|
||||
|
||||
try {
|
||||
$value = $property->getValue($object);
|
||||
} catch (ReflectionException $e) {
|
||||
$value = 'only PHP 5.3 can access private/protected properties';
|
||||
}
|
||||
|
||||
// same instance as parent object
|
||||
if ($value === $object || in_array($value, $this->_processed, true)) {
|
||||
$value = 'recursion - parent object [' . get_class($value) . ']';
|
||||
}
|
||||
|
||||
$object_as_array[$type] = $this->_convert($value);
|
||||
}
|
||||
return $object_as_array;
|
||||
}
|
||||
|
||||
/**
|
||||
* takes a reflection property and returns a nicely formatted key of the property name
|
||||
*
|
||||
* @param ReflectionProperty
|
||||
* @return string
|
||||
*/
|
||||
protected function _getPropertyKey(ReflectionProperty $property)
|
||||
{
|
||||
$static = $property->isStatic() ? ' static' : '';
|
||||
if ($property->isPublic()) {
|
||||
return 'public' . $static . ' ' . $property->getName();
|
||||
}
|
||||
|
||||
if ($property->isProtected()) {
|
||||
return 'protected' . $static . ' ' . $property->getName();
|
||||
}
|
||||
|
||||
if ($property->isPrivate()) {
|
||||
return 'private' . $static . ' ' . $property->getName();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* adds a value to the data array
|
||||
*
|
||||
* @var mixed
|
||||
* @return void
|
||||
*/
|
||||
protected function _addRow(array $logs, $backtrace, $type)
|
||||
{
|
||||
// if this is logged on the same line for example in a loop, set it to null to save space
|
||||
if (in_array($backtrace, $this->_backtraces)) {
|
||||
$backtrace = null;
|
||||
}
|
||||
|
||||
// for group, groupEnd, and groupCollapsed
|
||||
// take out the backtrace since it is not useful
|
||||
if ($type == self::GROUP || $type == self::GROUP_END || $type == self::GROUP_COLLAPSED) {
|
||||
$backtrace = null;
|
||||
}
|
||||
|
||||
if ($backtrace !== null) {
|
||||
$this->_backtraces[] = $backtrace;
|
||||
}
|
||||
|
||||
$row = array($logs, $backtrace, $type);
|
||||
|
||||
$this->_json['rows'][] = $row;
|
||||
$this->_writeHeader($this->_json);
|
||||
}
|
||||
|
||||
protected function _writeHeader($data)
|
||||
{
|
||||
header(self::HEADER_NAME . ': ' . $this->_encode($data));
|
||||
}
|
||||
|
||||
/**
|
||||
* encodes the data to be sent along with the request
|
||||
*
|
||||
* @param array $data
|
||||
* @return string
|
||||
*/
|
||||
protected function _encode($data)
|
||||
{
|
||||
return base64_encode(utf8_encode(json_encode($data)));
|
||||
}
|
||||
|
||||
/**
|
||||
* adds a setting
|
||||
*
|
||||
* @param string key
|
||||
* @param mixed value
|
||||
* @return void
|
||||
*/
|
||||
public function addSetting($key, $value)
|
||||
{
|
||||
$this->_settings[$key] = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* add ability to set multiple settings in one call
|
||||
*
|
||||
* @param array $settings
|
||||
* @return void
|
||||
*/
|
||||
public function addSettings(array $settings)
|
||||
{
|
||||
foreach ($settings as $key => $value) {
|
||||
$this->addSetting($key, $value);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* gets a setting
|
||||
*
|
||||
* @param string key
|
||||
* @return mixed
|
||||
*/
|
||||
public function getSetting($key)
|
||||
{
|
||||
if (!isset($this->_settings[$key])) {
|
||||
return null;
|
||||
}
|
||||
return $this->_settings[$key];
|
||||
}
|
||||
}
|
||||
@@ -25,8 +25,12 @@ nagy képek, metadata ipad: nem férnek be a rublikába ha hosszúak, mi legy, e
|
||||
top: calc(#{$v-unit-1}/ 2); => 2rem
|
||||
|
||||
|
||||
## További kérdések, július 11
|
||||
## További kérdések
|
||||
|
||||
Linkeken hover? Most alá van húzva
|
||||
Nincs találat oldal, pl keresésnél
|
||||
|
||||
404 oldal
|
||||
|
||||
Keresési találatok oldal
|
||||
|
||||
|
||||
|
||||
@@ -26,17 +26,11 @@ felgördülő alcím -> pozíciója a kép alsó éléhez igazodik
|
||||
|
||||
alapből lehet hogy több látszódjon
|
||||
|
||||
Nyitócikkek szövegkifutást pontosítani
|
||||
|
||||
Kiscímek
|
||||
.vr: néha nagyobb, élsimítás dolgok
|
||||
|
||||
Archív rész ne legyen két maszk egymás mellett
|
||||
|
||||
Nyitócikkek felgördülő lead hosszát pontosítani
|
||||
|
||||
pecsét betűk összecsúsznak
|
||||
|
||||
Nagycímes címek, még feljebb
|
||||
|
||||
semmiképpen ne lógjon a cím elé a felgördölő cucc
|
||||
@@ -51,9 +45,6 @@ képek magassága és maszk
|
||||
|
||||
# Kategória oldalak
|
||||
|
||||
tag archive:
|
||||
Magyarázat betűméret, baloldali magyarázó szöveg legyen nagyobb
|
||||
|
||||
reszponzivitás több oldalméreten megnézni
|
||||
vonalak néhol túlvékonyodik, vastagodik - egyenletlen
|
||||
|
||||
|
||||
298
css/base.css
298
css/base.css
@@ -846,18 +846,21 @@ object {
|
||||
|
||||
@media (min-width: 769px) {
|
||||
.touchevents .archive,
|
||||
.touchevents .home, .touchevents .search-results {
|
||||
.touchevents .home,
|
||||
.touchevents .search-results {
|
||||
overflow-y: hidden; } }
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* ARCHIVE AND HOMEPAGE */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
.archive .wrapper,
|
||||
.home .wrapper, .search-results .wrapper {
|
||||
.home .wrapper,
|
||||
.search-results .wrapper {
|
||||
/* ----------------------------- header on home ----------------------------- */ }
|
||||
@media (min-width: 769px) {
|
||||
.archive .wrapper,
|
||||
.home .wrapper, .search-results .wrapper {
|
||||
.home .wrapper,
|
||||
.search-results .wrapper {
|
||||
overflow-y: hidden;
|
||||
width: -moz-max-content;
|
||||
width: max-content;
|
||||
@@ -866,7 +869,8 @@ object {
|
||||
min-width: 100vw; } }
|
||||
@media (min-width: 769px) {
|
||||
.archive .wrapper .header .header-scroll,
|
||||
.home .wrapper .header .header-scroll, .search-results .wrapper .header .header-scroll {
|
||||
.home .wrapper .header .header-scroll,
|
||||
.search-results .wrapper .header .header-scroll {
|
||||
display: block;
|
||||
position: fixed;
|
||||
height: 100vh;
|
||||
@@ -874,25 +878,31 @@ object {
|
||||
flex: 1 0 auto !important;
|
||||
top: 0; } }
|
||||
.archive .wrapper .header .header-scroll.header-scroll-left,
|
||||
.home .wrapper .header .header-scroll.header-scroll-left, .search-results .wrapper .header .header-scroll.header-scroll-left {
|
||||
.home .wrapper .header .header-scroll.header-scroll-left,
|
||||
.search-results .wrapper .header .header-scroll.header-scroll-left {
|
||||
left: 10rem; }
|
||||
.archive .wrapper .header .header-scroll.header-scroll-left button,
|
||||
.home .wrapper .header .header-scroll.header-scroll-left button, .search-results .wrapper .header .header-scroll.header-scroll-left button {
|
||||
.home .wrapper .header .header-scroll.header-scroll-left button,
|
||||
.search-results .wrapper .header .header-scroll.header-scroll-left button {
|
||||
cursor: url("../img/arrow-black-left.png"), w-resize; }
|
||||
.archive .wrapper .header .header-scroll.header-scroll-right,
|
||||
.home .wrapper .header .header-scroll.header-scroll-right, .search-results .wrapper .header .header-scroll.header-scroll-right {
|
||||
.home .wrapper .header .header-scroll.header-scroll-right,
|
||||
.search-results .wrapper .header .header-scroll.header-scroll-right {
|
||||
right: 10rem; }
|
||||
.archive .wrapper .header .header-scroll.header-scroll-right button,
|
||||
.home .wrapper .header .header-scroll.header-scroll-right button, .search-results .wrapper .header .header-scroll.header-scroll-right button {
|
||||
.home .wrapper .header .header-scroll.header-scroll-right button,
|
||||
.search-results .wrapper .header .header-scroll.header-scroll-right button {
|
||||
cursor: url("../img/arrow-black-right.png"), e-resize; }
|
||||
.archive .wrapper .header .header-scroll button,
|
||||
.home .wrapper .header .header-scroll button, .search-results .wrapper .header .header-scroll button {
|
||||
.home .wrapper .header .header-scroll button,
|
||||
.search-results .wrapper .header .header-scroll button {
|
||||
height: 100vh;
|
||||
width: 10rem; }
|
||||
|
||||
@media (min-width: 769px) {
|
||||
.archive main,
|
||||
.home main, .search-results main {
|
||||
.home main,
|
||||
.search-results main {
|
||||
height: 100vh;
|
||||
width: -moz-max-content;
|
||||
width: max-content;
|
||||
@@ -901,14 +911,16 @@ object {
|
||||
position: relative; } }
|
||||
|
||||
.archive main section,
|
||||
.home main section, .search-results main section {
|
||||
.home main section,
|
||||
.search-results main section {
|
||||
/* --------------------------- home article mobile/default -------------------------- */
|
||||
/* ------------------------ home article desktop big ------------------------ */
|
||||
/* ------------------------------------ - ----------------------------------- */
|
||||
/* ----------------------- articles desktop small ----------------------- */ }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section,
|
||||
.home main section, .search-results main section {
|
||||
.home main section,
|
||||
.search-results main section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin: 0;
|
||||
@@ -918,48 +930,58 @@ object {
|
||||
width: -moz-fit-content;
|
||||
width: fit-content; } }
|
||||
.archive main section article,
|
||||
.home main section article, .search-results main section article {
|
||||
.home main section article,
|
||||
.search-results main section article {
|
||||
height: 100vh; }
|
||||
.archive main section article > a,
|
||||
.home main section article > a, .search-results main section article > a {
|
||||
.home main section article > a,
|
||||
.search-results main section article > a {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
display: inline-block; }
|
||||
.archive main section article .thumbnailwrapper img,
|
||||
.home main section article .thumbnailwrapper img, .search-results main section article .thumbnailwrapper img {
|
||||
.home main section article .thumbnailwrapper img,
|
||||
.search-results main section article .thumbnailwrapper img {
|
||||
height: 50vh;
|
||||
width: 100vw;
|
||||
object-fit: cover; }
|
||||
.archive main section article h2,
|
||||
.home main section article h2, .search-results main section article h2 {
|
||||
.home main section article h2,
|
||||
.search-results main section article h2 {
|
||||
width: 100%;
|
||||
height: 50vh;
|
||||
padding: 2rem;
|
||||
padding-top: 3rem;
|
||||
margin: 0; }
|
||||
.archive main section article h2 a,
|
||||
.home main section article h2 a, .search-results main section article h2 a {
|
||||
.home main section article h2 a,
|
||||
.search-results main section article h2 a {
|
||||
font: bold 3rem "Westeinde Caption";
|
||||
color: #000; }
|
||||
@media (-webkit-min-device-pixel-ratio: 2.1) {
|
||||
.archive main section article h2 a,
|
||||
.home main section article h2 a, .search-results main section article h2 a {
|
||||
.home main section article h2 a,
|
||||
.search-results main section article h2 a {
|
||||
font-size: 2.5rem !important; } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section article h2 a,
|
||||
.home main section article h2 a, .search-results main section article h2 a {
|
||||
.home main section article h2 a,
|
||||
.search-results main section article h2 a {
|
||||
font-size: 6rem; } }
|
||||
@media (min-width: 1279px) {
|
||||
.archive main section article h2 a,
|
||||
.home main section article h2 a, .search-results main section article h2 a {
|
||||
.home main section article h2 a,
|
||||
.search-results main section article h2 a {
|
||||
font-size: 7.5rem; } }
|
||||
@media (min-width: 1919px) {
|
||||
.archive main section article h2 a,
|
||||
.home main section article h2 a, .search-results main section article h2 a {
|
||||
.home main section article h2 a,
|
||||
.search-results main section article h2 a {
|
||||
font-size: 11rem; } }
|
||||
.archive main section article .metadata,
|
||||
.home main section article .metadata, .search-results main section article .metadata {
|
||||
.home main section article .metadata,
|
||||
.search-results main section article .metadata {
|
||||
bottom: 50%;
|
||||
height: 5rem;
|
||||
display: flex;
|
||||
@@ -972,7 +994,8 @@ object {
|
||||
align-items: center;
|
||||
padding: 0; }
|
||||
.archive main section article .metadata .vr,
|
||||
.home main section article .metadata .vr, .search-results main section article .metadata .vr {
|
||||
.home main section article .metadata .vr,
|
||||
.search-results main section article .metadata .vr {
|
||||
height: 100%;
|
||||
width: 1px;
|
||||
background-color: #000;
|
||||
@@ -984,17 +1007,20 @@ object {
|
||||
.archive main section article .metadata .curvyArrow,
|
||||
.home main section article .metadata .bevezeto,
|
||||
.home main section article .metadata .alcim,
|
||||
.home main section article .metadata .curvyArrow, .search-results main section article .metadata .bevezeto,
|
||||
.home main section article .metadata .curvyArrow,
|
||||
.search-results main section article .metadata .bevezeto,
|
||||
.search-results main section article .metadata .alcim,
|
||||
.search-results main section article .metadata .curvyArrow {
|
||||
display: none; }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home_wrapper-big,
|
||||
.home main section .home_wrapper-big, .search-results main section .home_wrapper-big {
|
||||
.home main section .home_wrapper-big,
|
||||
.search-results main section .home_wrapper-big {
|
||||
flex: 0 0 auto;
|
||||
border-right: #000 1px solid; }
|
||||
.archive main section .home_wrapper-big article,
|
||||
.home main section .home_wrapper-big article, .search-results main section .home_wrapper-big article {
|
||||
.home main section .home_wrapper-big article,
|
||||
.search-results main section .home_wrapper-big article {
|
||||
position: relative;
|
||||
width: calc(100vw - (10rem * 3));
|
||||
height: calc(100vh - 4rem);
|
||||
@@ -1007,19 +1033,22 @@ object {
|
||||
/* -------------------------- home article metadata big------------------------- */
|
||||
/* ------------------------- home article big hover ------------------------- */ }
|
||||
.archive main section .home_wrapper-big article .thumbnailwrapper,
|
||||
.home main section .home_wrapper-big article .thumbnailwrapper, .search-results main section .home_wrapper-big article .thumbnailwrapper {
|
||||
.home main section .home_wrapper-big article .thumbnailwrapper,
|
||||
.search-results main section .home_wrapper-big article .thumbnailwrapper {
|
||||
width: 60%;
|
||||
height: calc(100% - 4rem);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start; }
|
||||
.archive main section .home_wrapper-big article .thumbnailwrapper img.attachment-home-big-thumbnail,
|
||||
.home main section .home_wrapper-big article .thumbnailwrapper img.attachment-home-big-thumbnail, .search-results main section .home_wrapper-big article .thumbnailwrapper img.attachment-home-big-thumbnail {
|
||||
.home main section .home_wrapper-big article .thumbnailwrapper img.attachment-home-big-thumbnail,
|
||||
.search-results main section .home_wrapper-big article .thumbnailwrapper img.attachment-home-big-thumbnail {
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
height: 100%; }
|
||||
.archive main section .home_wrapper-big article h2,
|
||||
.home main section .home_wrapper-big article h2, .search-results main section .home_wrapper-big article h2 {
|
||||
.home main section .home_wrapper-big article h2,
|
||||
.search-results main section .home_wrapper-big article h2 {
|
||||
height: unset;
|
||||
position: absolute;
|
||||
top: 4rem;
|
||||
@@ -1027,7 +1056,8 @@ object {
|
||||
padding-right: 2rem;
|
||||
width: calc(100vw - 25rem); }
|
||||
.archive main section .home_wrapper-big article .metadata,
|
||||
.home main section .home_wrapper-big article .metadata, .search-results main section .home_wrapper-big article .metadata {
|
||||
.home main section .home_wrapper-big article .metadata,
|
||||
.search-results main section .home_wrapper-big article .metadata {
|
||||
bottom: 0;
|
||||
background: transparent;
|
||||
width: 100%;
|
||||
@@ -1040,35 +1070,43 @@ object {
|
||||
overflow: visible !important; } }
|
||||
@media (min-width: 769px) and (min-width: 769px) {
|
||||
.archive main section .home_wrapper-big article .metadata,
|
||||
.home main section .home_wrapper-big article .metadata, .search-results main section .home_wrapper-big article .metadata {
|
||||
.home main section .home_wrapper-big article .metadata,
|
||||
.search-results main section .home_wrapper-big article .metadata {
|
||||
font-size: 2rem; } }
|
||||
@media (min-width: 769px) and (-webkit-min-device-pixel-ratio: 2.1) {
|
||||
.archive main section .home_wrapper-big article .metadata,
|
||||
.home main section .home_wrapper-big article .metadata, .search-results main section .home_wrapper-big article .metadata {
|
||||
.home main section .home_wrapper-big article .metadata,
|
||||
.search-results main section .home_wrapper-big article .metadata {
|
||||
height: calc(10rem / 2); } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home_wrapper-big article .metadata.noBottomScrollbar,
|
||||
.home main section .home_wrapper-big article .metadata.noBottomScrollbar, .search-results main section .home_wrapper-big article .metadata.noBottomScrollbar {
|
||||
.home main section .home_wrapper-big article .metadata.noBottomScrollbar,
|
||||
.search-results main section .home_wrapper-big article .metadata.noBottomScrollbar {
|
||||
height: 11.5rem; }
|
||||
.archive main section .home_wrapper-big article .metadata > div,
|
||||
.home main section .home_wrapper-big article .metadata > div, .search-results main section .home_wrapper-big article .metadata > div {
|
||||
.home main section .home_wrapper-big article .metadata > div,
|
||||
.search-results main section .home_wrapper-big article .metadata > div {
|
||||
flex: 1 1 auto; }
|
||||
.archive main section .home_wrapper-big article .metadata .categories,
|
||||
.home main section .home_wrapper-big article .metadata .categories, .search-results main section .home_wrapper-big article .metadata .categories {
|
||||
.home main section .home_wrapper-big article .metadata .categories,
|
||||
.search-results main section .home_wrapper-big article .metadata .categories {
|
||||
display: block;
|
||||
padding: 0; }
|
||||
.archive main section .home_wrapper-big article .metadata .postedon,
|
||||
.home main section .home_wrapper-big article .metadata .postedon, .search-results main section .home_wrapper-big article .metadata .postedon {
|
||||
.home main section .home_wrapper-big article .metadata .postedon,
|
||||
.search-results main section .home_wrapper-big article .metadata .postedon {
|
||||
padding: 0; }
|
||||
.archive main section .home_wrapper-big article .metadata .bevezeto,
|
||||
.archive main section .home_wrapper-big article .metadata .alcim,
|
||||
.home main section .home_wrapper-big article .metadata .bevezeto,
|
||||
.home main section .home_wrapper-big article .metadata .alcim, .search-results main section .home_wrapper-big article .metadata .bevezeto,
|
||||
.home main section .home_wrapper-big article .metadata .alcim,
|
||||
.search-results main section .home_wrapper-big article .metadata .bevezeto,
|
||||
.search-results main section .home_wrapper-big article .metadata .alcim {
|
||||
color: #000 !important;
|
||||
display: none; }
|
||||
.archive main section .home_wrapper-big article .metadata .alcim,
|
||||
.home main section .home_wrapper-big article .metadata .alcim, .search-results main section .home_wrapper-big article .metadata .alcim {
|
||||
.home main section .home_wrapper-big article .metadata .alcim,
|
||||
.search-results main section .home_wrapper-big article .metadata .alcim {
|
||||
-moz-transform: rotate(270deg);
|
||||
-o-transform: rotate(270deg);
|
||||
-ms-transform: rotate(270deg);
|
||||
@@ -1081,7 +1119,8 @@ object {
|
||||
width: 20rem;
|
||||
margin: 0 -3rem; }
|
||||
.archive main section .home_wrapper-big article .metadata .bevezeto,
|
||||
.home main section .home_wrapper-big article .metadata .bevezeto, .search-results main section .home_wrapper-big article .metadata .bevezeto {
|
||||
.home main section .home_wrapper-big article .metadata .bevezeto,
|
||||
.search-results main section .home_wrapper-big article .metadata .bevezeto {
|
||||
width: 50%;
|
||||
flex: 0 1 auto;
|
||||
text-align: left;
|
||||
@@ -1089,23 +1128,27 @@ object {
|
||||
font: bold 1rem "Butler"; } }
|
||||
@media (min-width: 769px) and (min-width: 769px) {
|
||||
.archive main section .home_wrapper-big article .metadata .bevezeto,
|
||||
.home main section .home_wrapper-big article .metadata .bevezeto, .search-results main section .home_wrapper-big article .metadata .bevezeto {
|
||||
.home main section .home_wrapper-big article .metadata .bevezeto,
|
||||
.search-results main section .home_wrapper-big article .metadata .bevezeto {
|
||||
font-size: 2rem; } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home_wrapper-big article .metadata .transparent,
|
||||
.archive main section .home_wrapper-big article .metadata .transparent a,
|
||||
.home main section .home_wrapper-big article .metadata .transparent,
|
||||
.home main section .home_wrapper-big article .metadata .transparent a, .search-results main section .home_wrapper-big article .metadata .transparent,
|
||||
.home main section .home_wrapper-big article .metadata .transparent a,
|
||||
.search-results main section .home_wrapper-big article .metadata .transparent,
|
||||
.search-results main section .home_wrapper-big article .metadata .transparent a {
|
||||
color: transparent !important; }
|
||||
.archive main section .home_wrapper-big article .metadata .filler,
|
||||
.home main section .home_wrapper-big article .metadata .filler, .search-results main section .home_wrapper-big article .metadata .filler {
|
||||
.home main section .home_wrapper-big article .metadata .filler,
|
||||
.search-results main section .home_wrapper-big article .metadata .filler {
|
||||
flex: 0 0 auto;
|
||||
width: 60%;
|
||||
height: 1px;
|
||||
align-self: flex-start; }
|
||||
.archive main section .home_wrapper-big article .metadata .curvyArrow,
|
||||
.home main section .home_wrapper-big article .metadata .curvyArrow, .search-results main section .home_wrapper-big article .metadata .curvyArrow {
|
||||
.home main section .home_wrapper-big article .metadata .curvyArrow,
|
||||
.search-results main section .home_wrapper-big article .metadata .curvyArrow {
|
||||
position: absolute;
|
||||
display: block;
|
||||
right: 0;
|
||||
@@ -1113,16 +1156,19 @@ object {
|
||||
height: 15rem;
|
||||
width: 7.5rem; }
|
||||
.archive main section .home_wrapper-big article .metadata .curvyArrow object,
|
||||
.home main section .home_wrapper-big article .metadata .curvyArrow object, .search-results main section .home_wrapper-big article .metadata .curvyArrow object {
|
||||
.home main section .home_wrapper-big article .metadata .curvyArrow object,
|
||||
.search-results main section .home_wrapper-big article .metadata .curvyArrow object {
|
||||
height: 15rem;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: calc(-50% + 0.5px); }
|
||||
.archive main section .home_wrapper-big article.hovered h2 > a,
|
||||
.home main section .home_wrapper-big article.hovered h2 > a, .search-results main section .home_wrapper-big article.hovered h2 > a {
|
||||
.home main section .home_wrapper-big article.hovered h2 > a,
|
||||
.search-results main section .home_wrapper-big article.hovered h2 > a {
|
||||
color: #000; }
|
||||
.archive main section .home_wrapper-big.home_wrapper-1 article .metadata::after,
|
||||
.home main section .home_wrapper-big.home_wrapper-1 article .metadata::after, .search-results main section .home_wrapper-big.home_wrapper-1 article .metadata::after {
|
||||
.home main section .home_wrapper-big.home_wrapper-1 article .metadata::after,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-1 article .metadata::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -1134,7 +1180,8 @@ object {
|
||||
left: calc(4rem);
|
||||
margin-left: -0; }
|
||||
.archive main section .home_wrapper-big.home_wrapper-1 article .metadata::before,
|
||||
.home main section .home_wrapper-big.home_wrapper-1 article .metadata::before, .search-results main section .home_wrapper-big.home_wrapper-1 article .metadata::before {
|
||||
.home main section .home_wrapper-big.home_wrapper-1 article .metadata::before,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-1 article .metadata::before {
|
||||
display: block;
|
||||
content: "";
|
||||
position: absolute;
|
||||
@@ -1153,19 +1200,24 @@ object {
|
||||
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, .search-results main section .home_wrapper-big.home_wrapper-1 article .metadata .filler {
|
||||
.home main section .home_wrapper-big.home_wrapper-1 article .metadata .filler,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-1 article .metadata .filler {
|
||||
position: relative; }
|
||||
.archive main section .home_wrapper-big.home_wrapper-1 article a.thumbnailwrapper,
|
||||
.home main section .home_wrapper-big.home_wrapper-1 article a.thumbnailwrapper, .search-results main section .home_wrapper-big.home_wrapper-1 article a.thumbnailwrapper {
|
||||
.home main section .home_wrapper-big.home_wrapper-1 article a.thumbnailwrapper,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-1 article a.thumbnailwrapper {
|
||||
float: right; }
|
||||
.archive main section .home_wrapper-big.home_wrapper-2 article,
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article, .search-results main section .home_wrapper-big.home_wrapper-2 article {
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-2 article {
|
||||
border-left: #000 1px solid; }
|
||||
.archive main section .home_wrapper-big.home_wrapper-2 article .metadata,
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .metadata, .search-results main section .home_wrapper-big.home_wrapper-2 article .metadata {
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .metadata,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-2 article .metadata {
|
||||
justify-content: flex-end; }
|
||||
.archive main section .home_wrapper-big.home_wrapper-2 article .metadata::after,
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .metadata::after, .search-results main section .home_wrapper-big.home_wrapper-2 article .metadata::after {
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .metadata::after,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-2 article .metadata::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -1177,7 +1229,8 @@ object {
|
||||
right: calc(4rem);
|
||||
margin-right: -0; }
|
||||
.archive main section .home_wrapper-big.home_wrapper-2 article .metadata::before,
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .metadata::before, .search-results main section .home_wrapper-big.home_wrapper-2 article .metadata::before {
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .metadata::before,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-2 article .metadata::before {
|
||||
display: block;
|
||||
content: "";
|
||||
position: absolute;
|
||||
@@ -1195,18 +1248,22 @@ object {
|
||||
transform: skewX(45deg);
|
||||
transform-origin: right bottom; }
|
||||
.archive main section .home_wrapper-big.home_wrapper-2 article .metadata .filler,
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .metadata .filler, .search-results main section .home_wrapper-big.home_wrapper-2 article .metadata .filler {
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .metadata .filler,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-2 article .metadata .filler {
|
||||
order: -1; }
|
||||
.archive main section .home_wrapper-big.home_wrapper-2 article .thumbnailwrapper,
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .thumbnailwrapper, .search-results main section .home_wrapper-big.home_wrapper-2 article .thumbnailwrapper {
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .thumbnailwrapper,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-2 article .thumbnailwrapper {
|
||||
width: calc(60% + 5rem); }
|
||||
.archive main section .home_wrapper-big.home_wrapper-2 article .thumbnailwrapper img,
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .thumbnailwrapper img, .search-results main section .home_wrapper-big.home_wrapper-2 article .thumbnailwrapper img {
|
||||
.home main section .home_wrapper-big.home_wrapper-2 article .thumbnailwrapper img,
|
||||
.search-results main section .home_wrapper-big.home_wrapper-2 article .thumbnailwrapper img {
|
||||
left: -5rem;
|
||||
position: relative; } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home_wrapper-small,
|
||||
.home main section .home_wrapper-small, .search-results main section .home_wrapper-small {
|
||||
.home main section .home_wrapper-small,
|
||||
.search-results main section .home_wrapper-small {
|
||||
max-width: calc(100vw - (10rem * 3));
|
||||
max-height: calc((100vw - (10rem * 3)) / 3 * 2);
|
||||
height: calc(100vh - 8rem);
|
||||
@@ -1217,17 +1274,20 @@ object {
|
||||
flex-wrap: wrap;
|
||||
margin: auto 0; }
|
||||
.archive main section .home_wrapper-small.home_wrapper-s1:not(.home_wrapper-1),
|
||||
.home main section .home_wrapper-small.home_wrapper-s1:not(.home_wrapper-1), .search-results main section .home_wrapper-small.home_wrapper-s1:not(.home_wrapper-1) {
|
||||
.home main section .home_wrapper-small.home_wrapper-s1:not(.home_wrapper-1),
|
||||
.search-results main section .home_wrapper-small.home_wrapper-s1:not(.home_wrapper-1) {
|
||||
margin-left: 5rem; }
|
||||
.archive main section .home_wrapper-small.home_wrapper-s1.home_wrapper-small.home_wrapper-1,
|
||||
.home main section .home_wrapper-small.home_wrapper-s1.home_wrapper-small.home_wrapper-1, .search-results main section .home_wrapper-small.home_wrapper-s1.home_wrapper-small.home_wrapper-1 {
|
||||
.home main section .home_wrapper-small.home_wrapper-s1.home_wrapper-small.home_wrapper-1,
|
||||
.search-results main section .home_wrapper-small.home_wrapper-s1.home_wrapper-small.home_wrapper-1 {
|
||||
margin-left: 10rem; }
|
||||
.archive main section .home_wrapper-small article,
|
||||
.archive main section .home_wrapper-small .archivetitle,
|
||||
.archive main section .home_wrapper-small .archivedescription,
|
||||
.home main section .home_wrapper-small article,
|
||||
.home main section .home_wrapper-small .archivetitle,
|
||||
.home main section .home_wrapper-small .archivedescription, .search-results main section .home_wrapper-small article,
|
||||
.home main section .home_wrapper-small .archivedescription,
|
||||
.search-results main section .home_wrapper-small article,
|
||||
.search-results main section .home_wrapper-small .archivetitle,
|
||||
.search-results main section .home_wrapper-small .archivedescription {
|
||||
flex: 0 0 calc(100% / 3);
|
||||
@@ -1238,7 +1298,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription .thumbnailwrapper,
|
||||
.home main section .home_wrapper-small article .thumbnailwrapper,
|
||||
.home main section .home_wrapper-small .archivetitle .thumbnailwrapper,
|
||||
.home main section .home_wrapper-small .archivedescription .thumbnailwrapper, .search-results main section .home_wrapper-small article .thumbnailwrapper,
|
||||
.home main section .home_wrapper-small .archivedescription .thumbnailwrapper,
|
||||
.search-results main section .home_wrapper-small article .thumbnailwrapper,
|
||||
.search-results main section .home_wrapper-small .archivetitle .thumbnailwrapper,
|
||||
.search-results main section .home_wrapper-small .archivedescription .thumbnailwrapper {
|
||||
width: 100%;
|
||||
@@ -1248,7 +1309,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription .thumbnailwrapper img,
|
||||
.home main section .home_wrapper-small article .thumbnailwrapper img,
|
||||
.home main section .home_wrapper-small .archivetitle .thumbnailwrapper img,
|
||||
.home main section .home_wrapper-small .archivedescription .thumbnailwrapper img, .search-results main section .home_wrapper-small article .thumbnailwrapper img,
|
||||
.home main section .home_wrapper-small .archivedescription .thumbnailwrapper img,
|
||||
.search-results main section .home_wrapper-small article .thumbnailwrapper img,
|
||||
.search-results main section .home_wrapper-small .archivetitle .thumbnailwrapper img,
|
||||
.search-results main section .home_wrapper-small .archivedescription .thumbnailwrapper img {
|
||||
width: 100%;
|
||||
@@ -1259,7 +1321,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription .metadata,
|
||||
.home main section .home_wrapper-small article .metadata,
|
||||
.home main section .home_wrapper-small .archivetitle .metadata,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata, .search-results main section .home_wrapper-small article .metadata,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata,
|
||||
.search-results main section .home_wrapper-small article .metadata,
|
||||
.search-results main section .home_wrapper-small .archivetitle .metadata,
|
||||
.search-results main section .home_wrapper-small .archivedescription .metadata {
|
||||
width: 100%;
|
||||
@@ -1280,7 +1343,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription .metadata::after,
|
||||
.home main section .home_wrapper-small article .metadata::after,
|
||||
.home main section .home_wrapper-small .archivetitle .metadata::after,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata::after, .search-results main section .home_wrapper-small article .metadata::after,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata::after,
|
||||
.search-results main section .home_wrapper-small article .metadata::after,
|
||||
.search-results main section .home_wrapper-small .archivetitle .metadata::after,
|
||||
.search-results main section .home_wrapper-small .archivedescription .metadata::after {
|
||||
position: absolute;
|
||||
@@ -1298,7 +1362,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription .metadata::before,
|
||||
.home main section .home_wrapper-small article .metadata::before,
|
||||
.home main section .home_wrapper-small .archivetitle .metadata::before,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata::before, .search-results main section .home_wrapper-small article .metadata::before,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata::before,
|
||||
.search-results main section .home_wrapper-small article .metadata::before,
|
||||
.search-results main section .home_wrapper-small .archivetitle .metadata::before,
|
||||
.search-results main section .home_wrapper-small .archivedescription .metadata::before {
|
||||
display: block;
|
||||
@@ -1323,7 +1388,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription .metadata.vis,
|
||||
.home main section .home_wrapper-small article .metadata.vis,
|
||||
.home main section .home_wrapper-small .archivetitle .metadata.vis,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata.vis, .search-results main section .home_wrapper-small article .metadata.vis,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata.vis,
|
||||
.search-results main section .home_wrapper-small article .metadata.vis,
|
||||
.search-results main section .home_wrapper-small .archivetitle .metadata.vis,
|
||||
.search-results main section .home_wrapper-small .archivedescription .metadata.vis {
|
||||
display: flex; }
|
||||
@@ -1338,7 +1404,8 @@ object {
|
||||
.home main section .home_wrapper-small .archivetitle .metadata .categories,
|
||||
.home main section .home_wrapper-small .archivetitle .metadata .postedon,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata .categories,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata .postedon, .search-results main section .home_wrapper-small article .metadata .categories,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata .postedon,
|
||||
.search-results main section .home_wrapper-small article .metadata .categories,
|
||||
.search-results main section .home_wrapper-small article .metadata .postedon,
|
||||
.search-results main section .home_wrapper-small .archivetitle .metadata .categories,
|
||||
.search-results main section .home_wrapper-small .archivetitle .metadata .postedon,
|
||||
@@ -1358,7 +1425,8 @@ object {
|
||||
.home main section .home_wrapper-small .archivetitle .metadata .categories,
|
||||
.home main section .home_wrapper-small .archivetitle .metadata .postedon,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata .categories,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata .postedon, .search-results main section .home_wrapper-small article .metadata .categories,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata .postedon,
|
||||
.search-results main section .home_wrapper-small article .metadata .categories,
|
||||
.search-results main section .home_wrapper-small article .metadata .postedon,
|
||||
.search-results main section .home_wrapper-small .archivetitle .metadata .categories,
|
||||
.search-results main section .home_wrapper-small .archivetitle .metadata .postedon,
|
||||
@@ -1371,7 +1439,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription .metadata .categories,
|
||||
.home main section .home_wrapper-small article .metadata .categories,
|
||||
.home main section .home_wrapper-small .archivetitle .metadata .categories,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata .categories, .search-results main section .home_wrapper-small article .metadata .categories,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata .categories,
|
||||
.search-results main section .home_wrapper-small article .metadata .categories,
|
||||
.search-results main section .home_wrapper-small .archivetitle .metadata .categories,
|
||||
.search-results main section .home_wrapper-small .archivedescription .metadata .categories {
|
||||
margin-left: 6rem;
|
||||
@@ -1382,7 +1451,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription .metadata .postedon,
|
||||
.home main section .home_wrapper-small article .metadata .postedon,
|
||||
.home main section .home_wrapper-small .archivetitle .metadata .postedon,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata .postedon, .search-results main section .home_wrapper-small article .metadata .postedon,
|
||||
.home main section .home_wrapper-small .archivedescription .metadata .postedon,
|
||||
.search-results main section .home_wrapper-small article .metadata .postedon,
|
||||
.search-results main section .home_wrapper-small .archivetitle .metadata .postedon,
|
||||
.search-results main section .home_wrapper-small .archivedescription .metadata .postedon {
|
||||
padding: 1.33333rem 1rem;
|
||||
@@ -1399,7 +1469,8 @@ object {
|
||||
.home main section .home_wrapper-small .archivetitle h2,
|
||||
.home main section .home_wrapper-small .archivetitle h2 a,
|
||||
.home main section .home_wrapper-small .archivedescription h2,
|
||||
.home main section .home_wrapper-small .archivedescription h2 a, .search-results main section .home_wrapper-small article h2,
|
||||
.home main section .home_wrapper-small .archivedescription h2 a,
|
||||
.search-results main section .home_wrapper-small article h2,
|
||||
.search-results main section .home_wrapper-small article h2 a,
|
||||
.search-results main section .home_wrapper-small .archivetitle h2,
|
||||
.search-results main section .home_wrapper-small .archivetitle h2 a,
|
||||
@@ -1419,7 +1490,8 @@ object {
|
||||
.home main section .home_wrapper-small .archivetitle h2,
|
||||
.home main section .home_wrapper-small .archivetitle h2 a,
|
||||
.home main section .home_wrapper-small .archivedescription h2,
|
||||
.home main section .home_wrapper-small .archivedescription h2 a, .search-results main section .home_wrapper-small article h2,
|
||||
.home main section .home_wrapper-small .archivedescription h2 a,
|
||||
.search-results main section .home_wrapper-small article h2,
|
||||
.search-results main section .home_wrapper-small article h2 a,
|
||||
.search-results main section .home_wrapper-small .archivetitle h2,
|
||||
.search-results main section .home_wrapper-small .archivetitle h2 a,
|
||||
@@ -1432,7 +1504,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription h2,
|
||||
.home main section .home_wrapper-small article h2,
|
||||
.home main section .home_wrapper-small .archivetitle h2,
|
||||
.home main section .home_wrapper-small .archivedescription h2, .search-results main section .home_wrapper-small article h2,
|
||||
.home main section .home_wrapper-small .archivedescription h2,
|
||||
.search-results main section .home_wrapper-small article h2,
|
||||
.search-results main section .home_wrapper-small .archivetitle h2,
|
||||
.search-results main section .home_wrapper-small .archivedescription h2 {
|
||||
display: none;
|
||||
@@ -1447,7 +1520,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription h2,
|
||||
.home main section .home_wrapper-small article h2,
|
||||
.home main section .home_wrapper-small .archivetitle h2,
|
||||
.home main section .home_wrapper-small .archivedescription h2, .search-results main section .home_wrapper-small article h2,
|
||||
.home main section .home_wrapper-small .archivedescription h2,
|
||||
.search-results main section .home_wrapper-small article h2,
|
||||
.search-results main section .home_wrapper-small .archivetitle h2,
|
||||
.search-results main section .home_wrapper-small .archivedescription h2 {
|
||||
padding: 5rem; } }
|
||||
@@ -1457,7 +1531,8 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription h2 a,
|
||||
.home main section .home_wrapper-small article h2 a,
|
||||
.home main section .home_wrapper-small .archivetitle h2 a,
|
||||
.home main section .home_wrapper-small .archivedescription h2 a, .search-results main section .home_wrapper-small article h2 a,
|
||||
.home main section .home_wrapper-small .archivedescription h2 a,
|
||||
.search-results main section .home_wrapper-small article h2 a,
|
||||
.search-results main section .home_wrapper-small .archivetitle h2 a,
|
||||
.search-results main section .home_wrapper-small .archivedescription h2 a {
|
||||
bottom: 7rem;
|
||||
@@ -1473,29 +1548,33 @@ object {
|
||||
.archive main section .home_wrapper-small .archivedescription h2 a,
|
||||
.home main section .home_wrapper-small article h2 a,
|
||||
.home main section .home_wrapper-small .archivetitle h2 a,
|
||||
.home main section .home_wrapper-small .archivedescription h2 a, .search-results main section .home_wrapper-small article h2 a,
|
||||
.home main section .home_wrapper-small .archivedescription h2 a,
|
||||
.search-results main section .home_wrapper-small article h2 a,
|
||||
.search-results main section .home_wrapper-small .archivetitle h2 a,
|
||||
.search-results main section .home_wrapper-small .archivedescription h2 a {
|
||||
width: calc(100% - 10rem); } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home_wrapper-small article,
|
||||
.home main section .home_wrapper-small article, .search-results main section .home_wrapper-small article {
|
||||
.home main section .home_wrapper-small article,
|
||||
.search-results main section .home_wrapper-small article {
|
||||
cursor: pointer; }
|
||||
.archive main section .home_wrapper-small .archivetitle,
|
||||
.home main section .home_wrapper-small .archivetitle, .search-results main section .home_wrapper-small .archivetitle {
|
||||
.home main section .home_wrapper-small .archivetitle,
|
||||
.search-results main section .home_wrapper-small .archivetitle {
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
width: calc(100% / 3);
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
align-items: flex-start;
|
||||
padding: 2rem 0;
|
||||
padding: 1rem 2rem;
|
||||
text-align: center;
|
||||
border-right: #000 1px solid; }
|
||||
.archive main section .home_wrapper-small .archivetitle::after,
|
||||
.home main section .home_wrapper-small .archivetitle::after, .search-results main section .home_wrapper-small .archivetitle::after {
|
||||
.home main section .home_wrapper-small .archivetitle::after,
|
||||
.search-results main section .home_wrapper-small .archivetitle::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -1507,7 +1586,8 @@ object {
|
||||
left: calc(5rem);
|
||||
margin-left: -0; }
|
||||
.archive main section .home_wrapper-small .archivetitle::before,
|
||||
.home main section .home_wrapper-small .archivetitle::before, .search-results main section .home_wrapper-small .archivetitle::before {
|
||||
.home main section .home_wrapper-small .archivetitle::before,
|
||||
.search-results main section .home_wrapper-small .archivetitle::before {
|
||||
display: block;
|
||||
content: "";
|
||||
position: absolute;
|
||||
@@ -1526,42 +1606,54 @@ object {
|
||||
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, .search-results main section .home_wrapper-small .archivetitle h1 {
|
||||
.home main section .home_wrapper-small .archivetitle h1,
|
||||
.search-results main section .home_wrapper-small .archivetitle h1 {
|
||||
font: bold 3rem "Westeinde Caption";
|
||||
color: #000;
|
||||
margin: 0 auto; } }
|
||||
margin: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: left; } }
|
||||
@media (min-width: 769px) and (-webkit-min-device-pixel-ratio: 2.1) {
|
||||
.archive main section .home_wrapper-small .archivetitle h1,
|
||||
.home main section .home_wrapper-small .archivetitle h1, .search-results main section .home_wrapper-small .archivetitle h1 {
|
||||
.home main section .home_wrapper-small .archivetitle h1,
|
||||
.search-results main section .home_wrapper-small .archivetitle h1 {
|
||||
font-size: 2.5rem !important; } }
|
||||
@media (min-width: 769px) and (min-width: 769px) {
|
||||
.archive main section .home_wrapper-small .archivetitle h1,
|
||||
.home main section .home_wrapper-small .archivetitle h1, .search-results main section .home_wrapper-small .archivetitle h1 {
|
||||
.home main section .home_wrapper-small .archivetitle h1,
|
||||
.search-results main section .home_wrapper-small .archivetitle h1 {
|
||||
font-size: 6rem; } }
|
||||
@media (min-width: 769px) and (min-width: 1279px) {
|
||||
.archive main section .home_wrapper-small .archivetitle h1,
|
||||
.home main section .home_wrapper-small .archivetitle h1, .search-results main section .home_wrapper-small .archivetitle h1 {
|
||||
.home main section .home_wrapper-small .archivetitle h1,
|
||||
.search-results main section .home_wrapper-small .archivetitle h1 {
|
||||
font-size: 7.5rem; } }
|
||||
@media (min-width: 769px) and (min-width: 1919px) {
|
||||
.archive main section .home_wrapper-small .archivetitle h1,
|
||||
.home main section .home_wrapper-small .archivetitle h1, .search-results main section .home_wrapper-small .archivetitle h1 {
|
||||
.home main section .home_wrapper-small .archivetitle h1,
|
||||
.search-results main section .home_wrapper-small .archivetitle h1 {
|
||||
font-size: 11rem; } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home_wrapper-small .archivetitle.tag,
|
||||
.home main section .home_wrapper-small .archivetitle.tag, .search-results main section .home_wrapper-small .archivetitle.tag {
|
||||
.home main section .home_wrapper-small .archivetitle.tag,
|
||||
.search-results main section .home_wrapper-small .archivetitle.tag {
|
||||
order: 1; }
|
||||
.archive main section .home_wrapper-small .archivetitle.tag h1,
|
||||
.home main section .home_wrapper-small .archivetitle.tag h1, .search-results main section .home_wrapper-small .archivetitle.tag h1 {
|
||||
.home main section .home_wrapper-small .archivetitle.tag h1,
|
||||
.search-results main section .home_wrapper-small .archivetitle.tag h1 {
|
||||
text-transform: uppercase; }
|
||||
.archive main section .home_wrapper-small .archivetitle > object,
|
||||
.home main section .home_wrapper-small .archivetitle > object, .search-results main section .home_wrapper-small .archivetitle > object {
|
||||
.home main section .home_wrapper-small .archivetitle > object,
|
||||
.search-results main section .home_wrapper-small .archivetitle > object {
|
||||
position: absolute;
|
||||
top: 2rem;
|
||||
right: 2rem;
|
||||
width: 5rem;
|
||||
height: 5rem; }
|
||||
.archive main section .home_wrapper-small .archivedescription,
|
||||
.home main section .home_wrapper-small .archivedescription, .search-results main section .home_wrapper-small .archivedescription {
|
||||
.home main section .home_wrapper-small .archivedescription,
|
||||
.search-results main section .home_wrapper-small .archivedescription {
|
||||
order: 4;
|
||||
border-top: #000 1px solid;
|
||||
border-right: #000 1px solid;
|
||||
@@ -1576,20 +1668,38 @@ object {
|
||||
align-items: flex-start;
|
||||
padding: 2rem; }
|
||||
.archive main section .home_wrapper-small .archivedescription p,
|
||||
.home main section .home_wrapper-small .archivedescription p, .search-results main section .home_wrapper-small .archivedescription p {
|
||||
.home main section .home_wrapper-small .archivedescription p,
|
||||
.search-results main section .home_wrapper-small .archivedescription p {
|
||||
margin: 0;
|
||||
font: bold 1rem "Butler";
|
||||
color: #000; } }
|
||||
@media (min-width: 769px) and (min-width: 769px) {
|
||||
.archive main section .home_wrapper-small .archivedescription p,
|
||||
.home main section .home_wrapper-small .archivedescription p, .search-results main section .home_wrapper-small .archivedescription p {
|
||||
.home main section .home_wrapper-small .archivedescription p,
|
||||
.search-results main section .home_wrapper-small .archivedescription p {
|
||||
font-size: 1.2rem; } }
|
||||
@media (min-width: 769px) and (min-width: 1279px) {
|
||||
.archive main section .home_wrapper-small .archivedescription p,
|
||||
.home main section .home_wrapper-small .archivedescription p,
|
||||
.search-results main section .home_wrapper-small .archivedescription p {
|
||||
font-size: 1.8rem; } }
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* Search results */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
.search-results #content .archivetitle {
|
||||
word-wrap: break-word; }
|
||||
@media (min-width: 769px) {
|
||||
.search-results #content .archivetitle h1 {
|
||||
font-size: 1.5rem;
|
||||
color: #000; } }
|
||||
@media (min-width: 1279px) {
|
||||
.search-results #content .archivetitle h1 {
|
||||
font-size: 2.2rem; } }
|
||||
|
||||
@media (min-width: 769px) {
|
||||
.search-no-results main {
|
||||
padding: 0 20rem; } }
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* Events */
|
||||
|
||||
@@ -10,11 +10,6 @@ External Modules/Files
|
||||
|
||||
// Load any external files you have here
|
||||
|
||||
//chromephp:
|
||||
// include 'ChromePhp.php';
|
||||
//usage:
|
||||
//ChromePhp::log('Hello console!');
|
||||
|
||||
// Debug $data will display in console
|
||||
function console_debug($data)
|
||||
{
|
||||
@@ -153,8 +148,8 @@ function dis2019_header_scripts()
|
||||
wp_register_script('simpler-sidebar', get_template_directory_uri() . '/js/lib/jquery.simpler-sidebar.min.js', array('jquery'), '2.2.5'); //
|
||||
wp_enqueue_script('simpler-sidebar'); // Enqueue it!
|
||||
|
||||
// wp_register_script('snap-scroll', get_template_directory_uri() . '/js/lib/snap-scroll.min.js', array('jquery'), '1.0.0'); //
|
||||
// wp_enqueue_script('snap-scroll'); // Enqueue it!
|
||||
wp_register_script('fittext', get_template_directory_uri() . '/js/lib/jquery.fittext.js', array('jquery'), '1.0.0'); //
|
||||
wp_enqueue_script('fittext'); // Enqueue it!
|
||||
|
||||
wp_register_script('jquery.colorbox', get_template_directory_uri() . '/js/lib/jquery.colorbox-min.js', array('jquery'), '1.0.0'); //
|
||||
wp_enqueue_script('jquery.colorbox'); // Enqueue it!
|
||||
@@ -167,7 +162,7 @@ function dis2019_header_scripts()
|
||||
'conditionizr',
|
||||
'modernizr',
|
||||
'simpler-sidebar',
|
||||
// 'snap-scroll',
|
||||
'fittext',
|
||||
'jquery.colorbox',
|
||||
'lettering',
|
||||
), '1.0.0'); // Custom scripts
|
||||
@@ -201,37 +196,6 @@ function dis2019_styles()
|
||||
|
||||
}
|
||||
|
||||
//remove events from home page
|
||||
function exclude_category_home($query)
|
||||
{
|
||||
if ($query->is_home) {
|
||||
$minus_catid = '-' . get_theme_mod('dis-2019-event-cat-id');
|
||||
$query->set('cat', $minus_catid);
|
||||
|
||||
}
|
||||
return $query;
|
||||
}
|
||||
|
||||
add_filter('pre_get_posts', 'exclude_category_home');
|
||||
|
||||
// order events by date on events page
|
||||
add_action('pre_get_posts', 'dis_2019_order_events_by_date', 1);
|
||||
function dis_2019_order_events_by_date(&$query)
|
||||
{
|
||||
|
||||
//Before anything else, make sure this is the right query...
|
||||
if (!$query->get('category_name') == get_theme_mod('dis-2019-event-cat-slug')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$query->set('meta_key', 'dis-esemeny-datum');
|
||||
$query->set('orderby', 'meta_value');
|
||||
$query->set('order', 'ASC');
|
||||
$query->set('meta_value', date("Y.m.d.")); // change to how "event date" is stored
|
||||
$query->set('meta_compare', '>');
|
||||
|
||||
}
|
||||
|
||||
// Register dis-2019 Navigation
|
||||
function register_dis_menu()
|
||||
{
|
||||
@@ -513,6 +477,39 @@ function misha_loadmore_ajax_handler()
|
||||
add_action('wp_ajax_loadmore', 'misha_loadmore_ajax_handler'); // wp_ajax_{action}
|
||||
add_action('wp_ajax_nopriv_loadmore', 'misha_loadmore_ajax_handler'); // wp_ajax_nopriv_{action}
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* pre_get_posts */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
//remove events from home page
|
||||
function exclude_category_home($query)
|
||||
{
|
||||
if ($query->is_home) {
|
||||
$minus_catid = '-' . get_theme_mod('dis-2019-event-cat-id');
|
||||
$query->set('cat', $minus_catid);
|
||||
|
||||
}
|
||||
return $query;
|
||||
}
|
||||
add_filter('pre_get_posts', 'exclude_category_home');
|
||||
|
||||
// order events by date on events page
|
||||
function dis_2019_order_events_by_date(&$query)
|
||||
{
|
||||
|
||||
//Before anything else, make sure this is the right query...
|
||||
if (!($query->query_vars[category_name] == get_theme_mod('dis-2019-event-cat-slug'))) {
|
||||
return;
|
||||
}
|
||||
|
||||
$query->set('meta_key', 'dis-esemeny-datum');
|
||||
$query->set('orderby', 'meta_value');
|
||||
$query->set('order', 'ASC');
|
||||
$query->set('meta_value', date("Y.m.d.")); // change to how "event date" is stored
|
||||
$query->set('meta_compare', '>');
|
||||
}
|
||||
add_action('pre_get_posts', 'dis_2019_order_events_by_date', 1);
|
||||
|
||||
/* -------------------- different number of posts on home ------------------- */
|
||||
|
||||
add_action('pre_get_posts', 'dis_2019_more_posts_on_home', 1);
|
||||
@@ -524,10 +521,17 @@ function dis_2019_more_posts_on_home(&$query)
|
||||
return;
|
||||
}
|
||||
|
||||
// if it's a menu
|
||||
if ($query->query_vars[orderby] == 'menu_order') {
|
||||
return;
|
||||
}
|
||||
|
||||
//console_debug($query);
|
||||
|
||||
if ($query->is_home()) {
|
||||
$pposts = get_theme_mod('dis-2019-posts-on-home');
|
||||
} elseif ($query->is_tag()) {
|
||||
$pposts = get_theme_mod( 'dis-2019-posts-on-tag' );;
|
||||
$pposts = get_theme_mod('dis-2019-posts-on-tag');
|
||||
} elseif (!$query->in_the_loop()) {
|
||||
return;
|
||||
} else {
|
||||
|
||||
43
js/lib/jquery.fittext.js
Normal file
43
js/lib/jquery.fittext.js
Normal file
@@ -0,0 +1,43 @@
|
||||
/*global jQuery */
|
||||
/*!
|
||||
* FitText.js 1.2
|
||||
*
|
||||
* Copyright 2011, Dave Rupert http://daverupert.com
|
||||
* Released under the WTFPL license
|
||||
* http://sam.zoy.org/wtfpl/
|
||||
*
|
||||
* Date: Thu May 05 14:23:00 2011 -0600
|
||||
*/
|
||||
|
||||
(function( $ ){
|
||||
|
||||
$.fn.fitText = function( kompressor, options ) {
|
||||
|
||||
// Setup options
|
||||
var compressor = kompressor || 1,
|
||||
settings = $.extend({
|
||||
'minFontSize' : Number.NEGATIVE_INFINITY,
|
||||
'maxFontSize' : Number.POSITIVE_INFINITY
|
||||
}, options);
|
||||
|
||||
return this.each(function(){
|
||||
|
||||
// Store the object
|
||||
var $this = $(this);
|
||||
|
||||
// Resizer() resizes items based on the object width divided by the compressor * 10
|
||||
var resizer = function () {
|
||||
$this.css('font-size', Math.max(Math.min($this.width() / (compressor*10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize)));
|
||||
};
|
||||
|
||||
// Call once to set.
|
||||
resizer();
|
||||
|
||||
// Call on resize. Opera debounces their resize by default.
|
||||
$(window).on('resize.fittext orientationchange.fittext', resizer);
|
||||
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
})( jQuery );
|
||||
@@ -212,7 +212,6 @@
|
||||
|
||||
if (!isMobile) {
|
||||
if (isMasonryPage) {
|
||||
|
||||
//no overflowY
|
||||
$('html').css({ overflowY: "hidden" })
|
||||
|
||||
@@ -270,30 +269,14 @@
|
||||
} else {
|
||||
$(".home_wrapper-big .metadata").addClass("noBottomScrollbar")
|
||||
}
|
||||
|
||||
//fit title
|
||||
$(".archivetitle h1").fitText(0.6)
|
||||
|
||||
|
||||
}//isMasonryPage end
|
||||
}// !isMobile end
|
||||
|
||||
//returns three random numebers 0-5
|
||||
function randomNumbers() {
|
||||
// All numbers are equal
|
||||
var numberOne = 3;
|
||||
var numberTwo = 3;
|
||||
var numberThree = 3;
|
||||
|
||||
// run this loop until numberOne is different than numberThree
|
||||
do {
|
||||
numberOne = Math.floor(Math.random() * 5);
|
||||
} while (numberOne === numberThree);
|
||||
|
||||
// run this loop until numberTwo is different than numberThree and numberOne
|
||||
do {
|
||||
numberTwo = Math.floor(Math.random() * 5);
|
||||
} while (numberTwo === numberThree || numberTwo === numberOne);
|
||||
|
||||
var i = [numberOne, numberTwo, numberThree]
|
||||
return i
|
||||
}
|
||||
|
||||
function random2() {
|
||||
const choices = [
|
||||
[1, 3],
|
||||
@@ -490,10 +473,6 @@
|
||||
})
|
||||
|
||||
/* --------------------------- scroll with keyboard --------------------------- */
|
||||
|
||||
|
||||
|
||||
|
||||
var kd = false
|
||||
$('html *:not(input)').keydown(function (event) {
|
||||
if (kd) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: dis-2019 WordPress Theme\n"
|
||||
"POT-Creation-Date: 2019-07-18 20:06+0200\n"
|
||||
"POT-Creation-Date: 2019-08-02 20:50+0200\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Jürgen Rabe | www.egado.de <rabe@egado.de>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -15,6 +15,7 @@ msgstr ""
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
|
||||
|
||||
#: ../404.php:10
|
||||
msgid "Page not found"
|
||||
@@ -24,7 +25,7 @@ msgstr ""
|
||||
msgid "Return home?"
|
||||
msgstr ""
|
||||
|
||||
#: ../category-esemeny.php:74 ../loop.php:99 ../singular.php:158
|
||||
#: ../category-esemeny.php:74 ../loop.php:99 ../singular.php:163
|
||||
msgid "Sorry, nothing to display."
|
||||
msgstr ""
|
||||
|
||||
@@ -222,115 +223,16 @@ msgstr ""
|
||||
msgid "Back to writers"
|
||||
msgstr ""
|
||||
|
||||
#: ../node_modules/yargs-parser/index.js:301
|
||||
#, javascript-format
|
||||
msgid "Not enough arguments following: %s"
|
||||
msgstr ""
|
||||
|
||||
#: ../node_modules/yargs-parser/index.js:449
|
||||
#, javascript-format
|
||||
msgid "Invalid JSON config file: %s"
|
||||
msgstr ""
|
||||
|
||||
#: ../node_modules/yargs/lib/usage.js:169
|
||||
msgid "Commands:"
|
||||
msgstr ""
|
||||
|
||||
#: ../node_modules/yargs/lib/usage.js:177
|
||||
#: ../node_modules/yargs/lib/usage.js:407
|
||||
msgid "default:"
|
||||
msgstr ""
|
||||
|
||||
#: ../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
|
||||
#: ../search.php:11
|
||||
#, php-format
|
||||
msgid "%s Search Results for "
|
||||
msgid "%s search results for"
|
||||
msgstr ""
|
||||
|
||||
#: ../singular.php:93
|
||||
#: ../singular.php:97
|
||||
msgid "More posts:"
|
||||
msgstr ""
|
||||
|
||||
#: ../singular.php:138
|
||||
#: ../singular.php:142
|
||||
msgid "Back to home:"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ msgstr ""
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
|
||||
|
||||
#: ../404.php:9
|
||||
msgid "Page not found"
|
||||
|
||||
@@ -16,6 +16,7 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
|
||||
|
||||
#: ../404.php:9
|
||||
msgid "Page not found"
|
||||
|
||||
@@ -15,6 +15,7 @@ msgstr ""
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
|
||||
|
||||
#: ../404.php:9
|
||||
msgid "Page not found"
|
||||
|
||||
@@ -15,6 +15,7 @@ msgstr ""
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
|
||||
|
||||
#: ../404.php:9
|
||||
msgid "Page not found"
|
||||
|
||||
Binary file not shown.
@@ -1,9 +1,9 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: dis-2019 WordPress Theme\n"
|
||||
"POT-Creation-Date: 2019-07-18 20:06+0200\n"
|
||||
"POT-Creation-Date: 2019-08-02 20:50+0200\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Sallay Arnold <arnold@sallay.info>\n"
|
||||
"Last-Translator: Péter Gyetvai <gyetpet@mailbox.org>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: hu_HU\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -15,6 +15,7 @@ msgstr ""
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
|
||||
|
||||
#: ../404.php:10
|
||||
msgid "Page not found"
|
||||
@@ -24,7 +25,7 @@ msgstr "A keresett oldal nem található"
|
||||
msgid "Return home?"
|
||||
msgstr "Vissza a főoldalra?"
|
||||
|
||||
#: ../category-esemeny.php:74 ../loop.php:99 ../singular.php:158
|
||||
#: ../category-esemeny.php:74 ../loop.php:99 ../singular.php:163
|
||||
msgid "Sorry, nothing to display."
|
||||
msgstr "Nincs tartalom."
|
||||
|
||||
@@ -41,8 +42,10 @@ msgid "Event category slug"
|
||||
msgstr "Esemény kategóra keresőbarát név (\"slug\")"
|
||||
|
||||
#: ../customizer.php:29
|
||||
msgid "This category will be hidden from the start page. Write category slug here"
|
||||
msgstr "Ez a kategória el lesz rejtve a kezdőlapról. Írd ide a kategória \"slug\"-ot"
|
||||
msgid ""
|
||||
"This category will be hidden from the start page. Write category slug here"
|
||||
msgstr ""
|
||||
"Ez a kategória el lesz rejtve a kezdőlapról. Írd ide a kategória \"slug\"-ot"
|
||||
|
||||
#: ../customizer.php:37
|
||||
msgid "Number of posts on homepage"
|
||||
@@ -58,7 +61,9 @@ msgstr "Címke archívumban megjelenő posztok száma"
|
||||
|
||||
#: ../customizer.php:50
|
||||
msgid "Be, do, think, love pages. Use 6*n-2 numbers, e.g. 4, 10, 16, 22... "
|
||||
msgstr "Be, do, think, love listák. Használj 6*n-2 számokat, például 4, 10, 16, 22... "
|
||||
msgstr ""
|
||||
"Be, do, think, love listák. Használj 6*n-2 számokat, például 4, 10, 16, "
|
||||
"22... "
|
||||
|
||||
#: ../functions.php:239
|
||||
msgid "Main menu left"
|
||||
@@ -222,118 +227,31 @@ msgstr "Cikkíró nem található"
|
||||
msgid "Back to writers"
|
||||
msgstr "Vissza a cikkírókhoz"
|
||||
|
||||
#: ../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
|
||||
#: ../search.php:11
|
||||
#, php-format
|
||||
msgid "%s Search Results for "
|
||||
msgstr "%s Találatok "
|
||||
msgid "%s search results for"
|
||||
msgstr "%s találat"
|
||||
|
||||
#: ../singular.php:93
|
||||
#: ../singular.php:97
|
||||
msgid "More posts:"
|
||||
msgstr "További cikkeink:"
|
||||
|
||||
#: ../singular.php:138
|
||||
#: ../singular.php:142
|
||||
msgid "Back to home:"
|
||||
msgstr "Vissza a főoldalra"
|
||||
|
||||
#~ msgid "Not enough arguments following: %s"
|
||||
#~ msgstr "Hiányzó paraméterek a következő után: %s"
|
||||
|
||||
#~ msgid "Invalid JSON config file: %s"
|
||||
#~ msgstr "Érvénytelen JSON fájl: %s"
|
||||
|
||||
#~ msgid "Commands:"
|
||||
#~ msgstr "Parancsok:"
|
||||
|
||||
#~ msgid "default:"
|
||||
#~ msgstr "alapértelmezett:"
|
||||
|
||||
#~ msgid "Search Authors"
|
||||
#~ msgstr "Szerző keresése"
|
||||
|
||||
@@ -407,7 +325,9 @@ msgstr "Vissza a főoldalra"
|
||||
#~ 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."
|
||||
#~ 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."
|
||||
|
||||
@@ -15,6 +15,7 @@ msgstr ""
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
|
||||
|
||||
#: ../404.php:9
|
||||
msgid "Page not found"
|
||||
|
||||
@@ -15,6 +15,7 @@ msgstr ""
|
||||
"Language: Nederlands\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
|
||||
|
||||
#: ../404.php:9
|
||||
msgid "Page not found"
|
||||
|
||||
@@ -14,6 +14,7 @@ msgstr ""
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
|
||||
|
||||
#: ../404.php:9
|
||||
msgid "Page not found"
|
||||
|
||||
@@ -15,6 +15,7 @@ msgstr ""
|
||||
"Language: Română\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
|
||||
|
||||
#: ../404.php:9
|
||||
msgid "Page not found"
|
||||
|
||||
5
loop.php
5
loop.php
@@ -20,11 +20,12 @@
|
||||
|
||||
<div class="metadata">
|
||||
<div class="categories">
|
||||
<?php //the_category(' | ');?>
|
||||
<?php
|
||||
$echos = [];
|
||||
foreach((get_the_category()) as $category){
|
||||
echo $category->name;
|
||||
$echos[]= $category->name;
|
||||
}
|
||||
print implode(' | ', $echos);
|
||||
?>
|
||||
|
||||
<?php if(is_home() and $qc < 3): ; //first two posts format only ?>
|
||||
|
||||
@@ -76,6 +76,9 @@
|
||||
@media #{$smalldesktop} {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
@media #{$bigdesktop} {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin home-metadata {
|
||||
|
||||
@@ -759,7 +759,8 @@ $v-unit-6: 24rem;
|
||||
|
||||
// no overflow on touch devices, where no horizontal scrollbar visible
|
||||
.archive,
|
||||
.home, .search-results {
|
||||
.home,
|
||||
.search-results {
|
||||
@media #{$smalldesktop} {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
@@ -771,7 +772,8 @@ $v-unit-6: 24rem;
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
.archive,
|
||||
.home, .search-results {
|
||||
.home,
|
||||
.search-results {
|
||||
@media #{$smalldesktop} {
|
||||
// overflow-y: hidden;
|
||||
}
|
||||
@@ -1179,20 +1181,24 @@ $v-unit-6: 24rem;
|
||||
|
||||
.archivetitle {
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
width: calc(100% / 3);
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
align-items: flex-start;
|
||||
padding: 2rem 0;
|
||||
padding: 1rem 2rem;
|
||||
text-align: center;
|
||||
border-right: #000 1px solid;
|
||||
@include triangle-corner-bordered($h-unit-1, 0, transparent, #000, left);
|
||||
h1 {
|
||||
@include home-title();
|
||||
margin: 0 auto;
|
||||
margin: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
// width: calc(100% / 3);
|
||||
}
|
||||
&.tag {
|
||||
order: 1;
|
||||
@@ -1233,7 +1239,6 @@ $v-unit-6: 24rem;
|
||||
} //main end
|
||||
} //home, archive, search end
|
||||
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* Search results */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -1242,6 +1247,21 @@ $v-unit-6: 24rem;
|
||||
#content {
|
||||
.archivetitle {
|
||||
word-wrap: break-word;
|
||||
h1 {
|
||||
@include home-title-small();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search-no-results {
|
||||
main {
|
||||
@media #{$smalldesktop} {
|
||||
padding: 0 $h-unit-4;
|
||||
|
||||
.archivetitle h1, article h2 {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,10 +6,15 @@
|
||||
|
||||
|
||||
<div class="archivetitle">
|
||||
<h1><?php echo get_search_query(); ?></h1>
|
||||
<!-- <h1><?php //echo get_search_query(); ?></h1> -->
|
||||
<h1><?php
|
||||
echo sprintf( __( '%s search results for', 'dis2019' ), $wp_query->found_posts ) . ': ';
|
||||
echo get_search_query();
|
||||
?>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<!-- <h1><?php //echo sprintf( __( '%s Search Results for ', 'dis2019' ), $wp_query->found_posts ); echo get_search_query(); ?></h1> -->
|
||||
|
||||
|
||||
<?php get_template_part('loop'); ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user