diff --git a/functions.php b/functions.php
index 42d7d19..262522a 100644
--- a/functions.php
+++ b/functions.php
@@ -8,7 +8,7 @@
*/
if ( ! defined( '_S_VERSION' ) ) {
- define( '_S_VERSION', '2.1.3' );
+ define( '_S_VERSION', '3.0.2' );
}
/**
@@ -160,6 +160,11 @@ function() {
wp_dequeue_style( 'stcr-style' );
wp_deregister_style( 'stcr-style' );
+ wp_dequeue_style( 'activitypub-followers-style' );
+ wp_deregister_style( 'activitypub-followers-style' );
+ wp_dequeue_style( 'activitypub-follow-me-style' );
+ wp_deregister_style( 'activitypub-follow-me-style' );
+
wp_dequeue_script( 'wp-polyfill-inert' );
wp_deregister_script( 'wp-polyfill-inert' );
wp_dequeue_script( 'regenerator-runtime' );
@@ -822,4 +827,11 @@ function dez_dark_mode_script() {
wp_enqueue_script( 'dez-dark-mode', get_template_directory_uri() . '/js/darkMode.min.js', array() );
}
-add_action( 'wp_enqueue_scripts', 'dez_dark_mode_script' );
\ No newline at end of file
+add_action( 'wp_enqueue_scripts', 'dez_dark_mode_script' );
+
+/**
+ * Aumenta quantidade de itens nos feeds dos podcasts.
+ */
+add_filter('ssp_feed_number_of_posts', function(){
+ return 999;
+});
\ No newline at end of file
diff --git a/index.php b/index.php
index 0418336..17f94f0 100644
--- a/index.php
+++ b/index.php
@@ -40,7 +40,7 @@
Destaques do Órbita
-
diff --git a/parsedown.php b/parsedown.php
deleted file mode 100644
index ae0cbde..0000000
--- a/parsedown.php
+++ /dev/null
@@ -1,1994 +0,0 @@
-textElements($text);
-
- # convert to markup
- $markup = $this->elements($Elements);
-
- # trim line breaks
- $markup = trim($markup, "\n");
-
- return $markup;
- }
-
- protected function textElements($text)
- {
- # make sure no definitions are set
- $this->DefinitionData = array();
-
- # standardize line breaks
- $text = str_replace(array("\r\n", "\r"), "\n", $text);
-
- # remove surrounding line breaks
- $text = trim($text, "\n");
-
- # split text into lines
- $lines = explode("\n", $text);
-
- # iterate through lines to identify blocks
- return $this->linesElements($lines);
- }
-
- #
- # Setters
- #
-
- function setBreaksEnabled($breaksEnabled)
- {
- $this->breaksEnabled = $breaksEnabled;
-
- return $this;
- }
-
- protected $breaksEnabled;
-
- function setMarkupEscaped($markupEscaped)
- {
- $this->markupEscaped = $markupEscaped;
-
- return $this;
- }
-
- protected $markupEscaped;
-
- function setUrlsLinked($urlsLinked)
- {
- $this->urlsLinked = $urlsLinked;
-
- return $this;
- }
-
- protected $urlsLinked = true;
-
- function setSafeMode($safeMode)
- {
- $this->safeMode = (bool) $safeMode;
-
- return $this;
- }
-
- protected $safeMode;
-
- function setStrictMode($strictMode)
- {
- $this->strictMode = (bool) $strictMode;
-
- return $this;
- }
-
- protected $strictMode;
-
- protected $safeLinksWhitelist = array(
- 'http://',
- 'https://',
- 'ftp://',
- 'ftps://',
- 'mailto:',
- 'tel:',
- 'data:image/png;base64,',
- 'data:image/gif;base64,',
- 'data:image/jpeg;base64,',
- 'irc:',
- 'ircs:',
- 'git:',
- 'ssh:',
- 'news:',
- 'steam:',
- );
-
- #
- # Lines
- #
-
- protected $BlockTypes = array(
- '#' => array('Header'),
- '*' => array('Rule', 'List'),
- '+' => array('List'),
- '-' => array('SetextHeader', 'Table', 'Rule', 'List'),
- '0' => array('List'),
- '1' => array('List'),
- '2' => array('List'),
- '3' => array('List'),
- '4' => array('List'),
- '5' => array('List'),
- '6' => array('List'),
- '7' => array('List'),
- '8' => array('List'),
- '9' => array('List'),
- ':' => array('Table'),
- '<' => array('Comment', 'Markup'),
- '=' => array('SetextHeader'),
- '>' => array('Quote'),
- '[' => array('Reference'),
- '_' => array('Rule'),
- '`' => array('FencedCode'),
- '|' => array('Table'),
- '~' => array('FencedCode'),
- );
-
- # ~
-
- protected $unmarkedBlockTypes = array(
- 'Code',
- );
-
- #
- # Blocks
- #
-
- protected function lines(array $lines)
- {
- return $this->elements($this->linesElements($lines));
- }
-
- protected function linesElements(array $lines)
- {
- $Elements = array();
- $CurrentBlock = null;
-
- foreach ($lines as $line)
- {
- if (chop($line) === '')
- {
- if (isset($CurrentBlock))
- {
- $CurrentBlock['interrupted'] = (isset($CurrentBlock['interrupted'])
- ? $CurrentBlock['interrupted'] + 1 : 1
- );
- }
-
- continue;
- }
-
- while (($beforeTab = strstr($line, "\t", true)) !== false)
- {
- $shortage = 4 - mb_strlen($beforeTab, 'utf-8') % 4;
-
- $line = $beforeTab
- . str_repeat(' ', $shortage)
- . substr($line, strlen($beforeTab) + 1)
- ;
- }
-
- $indent = strspn($line, ' ');
-
- $text = $indent > 0 ? substr($line, $indent) : $line;
-
- # ~
-
- $Line = array('body' => $line, 'indent' => $indent, 'text' => $text);
-
- # ~
-
- if (isset($CurrentBlock['continuable']))
- {
- $methodName = 'block' . $CurrentBlock['type'] . 'Continue';
- $Block = $this->$methodName($Line, $CurrentBlock);
-
- if (isset($Block))
- {
- $CurrentBlock = $Block;
-
- continue;
- }
- else
- {
- if ($this->isBlockCompletable($CurrentBlock['type']))
- {
- $methodName = 'block' . $CurrentBlock['type'] . 'Complete';
- $CurrentBlock = $this->$methodName($CurrentBlock);
- }
- }
- }
-
- # ~
-
- $marker = $text[0];
-
- # ~
-
- $blockTypes = $this->unmarkedBlockTypes;
-
- if (isset($this->BlockTypes[$marker]))
- {
- foreach ($this->BlockTypes[$marker] as $blockType)
- {
- $blockTypes []= $blockType;
- }
- }
-
- #
- # ~
-
- foreach ($blockTypes as $blockType)
- {
- $Block = $this->{"block$blockType"}($Line, $CurrentBlock);
-
- if (isset($Block))
- {
- $Block['type'] = $blockType;
-
- if ( ! isset($Block['identified']))
- {
- if (isset($CurrentBlock))
- {
- $Elements[] = $this->extractElement($CurrentBlock);
- }
-
- $Block['identified'] = true;
- }
-
- if ($this->isBlockContinuable($blockType))
- {
- $Block['continuable'] = true;
- }
-
- $CurrentBlock = $Block;
-
- continue 2;
- }
- }
-
- # ~
-
- if (isset($CurrentBlock) and $CurrentBlock['type'] === 'Paragraph')
- {
- $Block = $this->paragraphContinue($Line, $CurrentBlock);
- }
-
- if (isset($Block))
- {
- $CurrentBlock = $Block;
- }
- else
- {
- if (isset($CurrentBlock))
- {
- $Elements[] = $this->extractElement($CurrentBlock);
- }
-
- $CurrentBlock = $this->paragraph($Line);
-
- $CurrentBlock['identified'] = true;
- }
- }
-
- # ~
-
- if (isset($CurrentBlock['continuable']) and $this->isBlockCompletable($CurrentBlock['type']))
- {
- $methodName = 'block' . $CurrentBlock['type'] . 'Complete';
- $CurrentBlock = $this->$methodName($CurrentBlock);
- }
-
- # ~
-
- if (isset($CurrentBlock))
- {
- $Elements[] = $this->extractElement($CurrentBlock);
- }
-
- # ~
-
- return $Elements;
- }
-
- protected function extractElement(array $Component)
- {
- if ( ! isset($Component['element']))
- {
- if (isset($Component['markup']))
- {
- $Component['element'] = array('rawHtml' => $Component['markup']);
- }
- elseif (isset($Component['hidden']))
- {
- $Component['element'] = array();
- }
- }
-
- return $Component['element'];
- }
-
- protected function isBlockContinuable($Type)
- {
- return method_exists($this, 'block' . $Type . 'Continue');
- }
-
- protected function isBlockCompletable($Type)
- {
- return method_exists($this, 'block' . $Type . 'Complete');
- }
-
- #
- # Code
-
- protected function blockCode($Line, $Block = null)
- {
- if (isset($Block) and $Block['type'] === 'Paragraph' and ! isset($Block['interrupted']))
- {
- return;
- }
-
- if ($Line['indent'] >= 4)
- {
- $text = substr($Line['body'], 4);
-
- $Block = array(
- 'element' => array(
- 'name' => 'pre',
- 'element' => array(
- 'name' => 'code',
- 'text' => $text,
- ),
- ),
- );
-
- return $Block;
- }
- }
-
- protected function blockCodeContinue($Line, $Block)
- {
- if ($Line['indent'] >= 4)
- {
- if (isset($Block['interrupted']))
- {
- $Block['element']['element']['text'] .= str_repeat("\n", $Block['interrupted']);
-
- unset($Block['interrupted']);
- }
-
- $Block['element']['element']['text'] .= "\n";
-
- $text = substr($Line['body'], 4);
-
- $Block['element']['element']['text'] .= $text;
-
- return $Block;
- }
- }
-
- protected function blockCodeComplete($Block)
- {
- return $Block;
- }
-
- #
- # Comment
-
- protected function blockComment($Line)
- {
- if ($this->markupEscaped or $this->safeMode)
- {
- return;
- }
-
- if (strpos($Line['text'], '') !== false)
- {
- $Block['closed'] = true;
- }
-
- return $Block;
- }
- }
-
- protected function blockCommentContinue($Line, array $Block)
- {
- if (isset($Block['closed']))
- {
- return;
- }
-
- $Block['element']['rawHtml'] .= "\n" . $Line['body'];
-
- if (strpos($Line['text'], '-->') !== false)
- {
- $Block['closed'] = true;
- }
-
- return $Block;
- }
-
- #
- # Fenced Code
-
- protected function blockFencedCode($Line)
- {
- $marker = $Line['text'][0];
-
- $openerLength = strspn($Line['text'], $marker);
-
- if ($openerLength < 3)
- {
- return;
- }
-
- $infostring = trim(substr($Line['text'], $openerLength), "\t ");
-
- if (strpos($infostring, '`') !== false)
- {
- return;
- }
-
- $Element = array(
- 'name' => 'code',
- 'text' => '',
- );
-
- if ($infostring !== '')
- {
- /**
- * https://www.w3.org/TR/2011/WD-html5-20110525/elements.html#classes
- * Every HTML element may have a class attribute specified.
- * The attribute, if specified, must have a value that is a set
- * of space-separated tokens representing the various classes
- * that the element belongs to.
- * [...]
- * The space characters, for the purposes of this specification,
- * are U+0020 SPACE, U+0009 CHARACTER TABULATION (tab),
- * U+000A LINE FEED (LF), U+000C FORM FEED (FF), and
- * U+000D CARRIAGE RETURN (CR).
- */
- $language = substr($infostring, 0, strcspn($infostring, " \t\n\f\r"));
-
- $Element['attributes'] = array('class' => "language-$language");
- }
-
- $Block = array(
- 'char' => $marker,
- 'openerLength' => $openerLength,
- 'element' => array(
- 'name' => 'pre',
- 'element' => $Element,
- ),
- );
-
- return $Block;
- }
-
- protected function blockFencedCodeContinue($Line, $Block)
- {
- if (isset($Block['complete']))
- {
- return;
- }
-
- if (isset($Block['interrupted']))
- {
- $Block['element']['element']['text'] .= str_repeat("\n", $Block['interrupted']);
-
- unset($Block['interrupted']);
- }
-
- if (($len = strspn($Line['text'], $Block['char'])) >= $Block['openerLength']
- and chop(substr($Line['text'], $len), ' ') === ''
- ) {
- $Block['element']['element']['text'] = substr($Block['element']['element']['text'], 1);
-
- $Block['complete'] = true;
-
- return $Block;
- }
-
- $Block['element']['element']['text'] .= "\n" . $Line['body'];
-
- return $Block;
- }
-
- protected function blockFencedCodeComplete($Block)
- {
- return $Block;
- }
-
- #
- # Header
-
- protected function blockHeader($Line)
- {
- $level = strspn($Line['text'], '#');
-
- if ($level > 6)
- {
- return;
- }
-
- $text = trim($Line['text'], '#');
-
- if ($this->strictMode and isset($text[0]) and $text[0] !== ' ')
- {
- return;
- }
-
- $text = trim($text, ' ');
-
- $Block = array(
- 'element' => array(
- 'name' => 'h' . $level,
- 'handler' => array(
- 'function' => 'lineElements',
- 'argument' => $text,
- 'destination' => 'elements',
- )
- ),
- );
-
- return $Block;
- }
-
- #
- # List
-
- protected function blockList($Line, array $CurrentBlock = null)
- {
- list($name, $pattern) = $Line['text'][0] <= '-' ? array('ul', '[*+-]') : array('ol', '[0-9]{1,9}+[.\)]');
-
- if (preg_match('/^('.$pattern.'([ ]++|$))(.*+)/', $Line['text'], $matches))
- {
- $contentIndent = strlen($matches[2]);
-
- if ($contentIndent >= 5)
- {
- $contentIndent -= 1;
- $matches[1] = substr($matches[1], 0, -$contentIndent);
- $matches[3] = str_repeat(' ', $contentIndent) . $matches[3];
- }
- elseif ($contentIndent === 0)
- {
- $matches[1] .= ' ';
- }
-
- $markerWithoutWhitespace = strstr($matches[1], ' ', true);
-
- $Block = array(
- 'indent' => $Line['indent'],
- 'pattern' => $pattern,
- 'data' => array(
- 'type' => $name,
- 'marker' => $matches[1],
- 'markerType' => ($name === 'ul' ? $markerWithoutWhitespace : substr($markerWithoutWhitespace, -1)),
- ),
- 'element' => array(
- 'name' => $name,
- 'elements' => array(),
- ),
- );
- $Block['data']['markerTypeRegex'] = preg_quote($Block['data']['markerType'], '/');
-
- if ($name === 'ol')
- {
- $listStart = ltrim(strstr($matches[1], $Block['data']['markerType'], true), '0') ?: '0';
-
- if ($listStart !== '1')
- {
- if (
- isset($CurrentBlock)
- and $CurrentBlock['type'] === 'Paragraph'
- and ! isset($CurrentBlock['interrupted'])
- ) {
- return;
- }
-
- $Block['element']['attributes'] = array('start' => $listStart);
- }
- }
-
- $Block['li'] = array(
- 'name' => 'li',
- 'handler' => array(
- 'function' => 'li',
- 'argument' => !empty($matches[3]) ? array($matches[3]) : array(),
- 'destination' => 'elements'
- )
- );
-
- $Block['element']['elements'] []= & $Block['li'];
-
- return $Block;
- }
- }
-
- protected function blockListContinue($Line, array $Block)
- {
- if (isset($Block['interrupted']) and empty($Block['li']['handler']['argument']))
- {
- return null;
- }
-
- $requiredIndent = ($Block['indent'] + strlen($Block['data']['marker']));
-
- if ($Line['indent'] < $requiredIndent
- and (
- (
- $Block['data']['type'] === 'ol'
- and preg_match('/^[0-9]++'.$Block['data']['markerTypeRegex'].'(?:[ ]++(.*)|$)/', $Line['text'], $matches)
- ) or (
- $Block['data']['type'] === 'ul'
- and preg_match('/^'.$Block['data']['markerTypeRegex'].'(?:[ ]++(.*)|$)/', $Line['text'], $matches)
- )
- )
- ) {
- if (isset($Block['interrupted']))
- {
- $Block['li']['handler']['argument'] []= '';
-
- $Block['loose'] = true;
-
- unset($Block['interrupted']);
- }
-
- unset($Block['li']);
-
- $text = isset($matches[1]) ? $matches[1] : '';
-
- $Block['indent'] = $Line['indent'];
-
- $Block['li'] = array(
- 'name' => 'li',
- 'handler' => array(
- 'function' => 'li',
- 'argument' => array($text),
- 'destination' => 'elements'
- )
- );
-
- $Block['element']['elements'] []= & $Block['li'];
-
- return $Block;
- }
- elseif ($Line['indent'] < $requiredIndent and $this->blockList($Line))
- {
- return null;
- }
-
- if ($Line['text'][0] === '[' and $this->blockReference($Line))
- {
- return $Block;
- }
-
- if ($Line['indent'] >= $requiredIndent)
- {
- if (isset($Block['interrupted']))
- {
- $Block['li']['handler']['argument'] []= '';
-
- $Block['loose'] = true;
-
- unset($Block['interrupted']);
- }
-
- $text = substr($Line['body'], $requiredIndent);
-
- $Block['li']['handler']['argument'] []= $text;
-
- return $Block;
- }
-
- if ( ! isset($Block['interrupted']))
- {
- $text = preg_replace('/^[ ]{0,'.$requiredIndent.'}+/', '', $Line['body']);
-
- $Block['li']['handler']['argument'] []= $text;
-
- return $Block;
- }
- }
-
- protected function blockListComplete(array $Block)
- {
- if (isset($Block['loose']))
- {
- foreach ($Block['element']['elements'] as &$li)
- {
- if (end($li['handler']['argument']) !== '')
- {
- $li['handler']['argument'] []= '';
- }
- }
- }
-
- return $Block;
- }
-
- #
- # Quote
-
- protected function blockQuote($Line)
- {
- if (preg_match('/^>[ ]?+(.*+)/', $Line['text'], $matches))
- {
- $Block = array(
- 'element' => array(
- 'name' => 'blockquote',
- 'handler' => array(
- 'function' => 'linesElements',
- 'argument' => (array) $matches[1],
- 'destination' => 'elements',
- )
- ),
- );
-
- return $Block;
- }
- }
-
- protected function blockQuoteContinue($Line, array $Block)
- {
- if (isset($Block['interrupted']))
- {
- return;
- }
-
- if ($Line['text'][0] === '>' and preg_match('/^>[ ]?+(.*+)/', $Line['text'], $matches))
- {
- $Block['element']['handler']['argument'] []= $matches[1];
-
- return $Block;
- }
-
- if ( ! isset($Block['interrupted']))
- {
- $Block['element']['handler']['argument'] []= $Line['text'];
-
- return $Block;
- }
- }
-
- #
- # Rule
-
- protected function blockRule($Line)
- {
- $marker = $Line['text'][0];
-
- if (substr_count($Line['text'], $marker) >= 3 and chop($Line['text'], " $marker") === '')
- {
- $Block = array(
- 'element' => array(
- 'name' => 'hr',
- ),
- );
-
- return $Block;
- }
- }
-
- #
- # Setext
-
- protected function blockSetextHeader($Line, array $Block = null)
- {
- if ( ! isset($Block) or $Block['type'] !== 'Paragraph' or isset($Block['interrupted']))
- {
- return;
- }
-
- if ($Line['indent'] < 4 and chop(chop($Line['text'], ' '), $Line['text'][0]) === '')
- {
- $Block['element']['name'] = $Line['text'][0] === '=' ? 'h1' : 'h2';
-
- return $Block;
- }
- }
-
- #
- # Markup
-
- protected function blockMarkup($Line)
- {
- if ($this->markupEscaped or $this->safeMode)
- {
- return;
- }
-
- if (preg_match('/^<[\/]?+(\w*)(?:[ ]*+'.$this->regexHtmlAttribute.')*+[ ]*+(\/)?>/', $Line['text'], $matches))
- {
- $element = strtolower($matches[1]);
-
- if (in_array($element, $this->textLevelElements))
- {
- return;
- }
-
- $Block = array(
- 'name' => $matches[1],
- 'element' => array(
- 'rawHtml' => $Line['text'],
- 'autobreak' => true,
- ),
- );
-
- return $Block;
- }
- }
-
- protected function blockMarkupContinue($Line, array $Block)
- {
- if (isset($Block['closed']) or isset($Block['interrupted']))
- {
- return;
- }
-
- $Block['element']['rawHtml'] .= "\n" . $Line['body'];
-
- return $Block;
- }
-
- #
- # Reference
-
- protected function blockReference($Line)
- {
- if (strpos($Line['text'], ']') !== false
- and preg_match('/^\[(.+?)\]:[ ]*+(\S+?)>?(?:[ ]+["\'(](.+)["\')])?[ ]*+$/', $Line['text'], $matches)
- ) {
- $id = strtolower($matches[1]);
-
- $Data = array(
- 'url' => $matches[2],
- 'title' => isset($matches[3]) ? $matches[3] : null,
- );
-
- $this->DefinitionData['Reference'][$id] = $Data;
-
- $Block = array(
- 'element' => array(),
- );
-
- return $Block;
- }
- }
-
- #
- # Table
-
- protected function blockTable($Line, array $Block = null)
- {
- if ( ! isset($Block) or $Block['type'] !== 'Paragraph' or isset($Block['interrupted']))
- {
- return;
- }
-
- if (
- strpos($Block['element']['handler']['argument'], '|') === false
- and strpos($Line['text'], '|') === false
- and strpos($Line['text'], ':') === false
- or strpos($Block['element']['handler']['argument'], "\n") !== false
- ) {
- return;
- }
-
- if (chop($Line['text'], ' -:|') !== '')
- {
- return;
- }
-
- $alignments = array();
-
- $divider = $Line['text'];
-
- $divider = trim($divider);
- $divider = trim($divider, '|');
-
- $dividerCells = explode('|', $divider);
-
- foreach ($dividerCells as $dividerCell)
- {
- $dividerCell = trim($dividerCell);
-
- if ($dividerCell === '')
- {
- return;
- }
-
- $alignment = null;
-
- if ($dividerCell[0] === ':')
- {
- $alignment = 'left';
- }
-
- if (substr($dividerCell, - 1) === ':')
- {
- $alignment = $alignment === 'left' ? 'center' : 'right';
- }
-
- $alignments []= $alignment;
- }
-
- # ~
-
- $HeaderElements = array();
-
- $header = $Block['element']['handler']['argument'];
-
- $header = trim($header);
- $header = trim($header, '|');
-
- $headerCells = explode('|', $header);
-
- if (count($headerCells) !== count($alignments))
- {
- return;
- }
-
- foreach ($headerCells as $index => $headerCell)
- {
- $headerCell = trim($headerCell);
-
- $HeaderElement = array(
- 'name' => 'th',
- 'handler' => array(
- 'function' => 'lineElements',
- 'argument' => $headerCell,
- 'destination' => 'elements',
- )
- );
-
- if (isset($alignments[$index]))
- {
- $alignment = $alignments[$index];
-
- $HeaderElement['attributes'] = array(
- 'style' => "text-align: $alignment;",
- );
- }
-
- $HeaderElements []= $HeaderElement;
- }
-
- # ~
-
- $Block = array(
- 'alignments' => $alignments,
- 'identified' => true,
- 'element' => array(
- 'name' => 'table',
- 'elements' => array(),
- ),
- );
-
- $Block['element']['elements'] []= array(
- 'name' => 'thead',
- );
-
- $Block['element']['elements'] []= array(
- 'name' => 'tbody',
- 'elements' => array(),
- );
-
- $Block['element']['elements'][0]['elements'] []= array(
- 'name' => 'tr',
- 'elements' => $HeaderElements,
- );
-
- return $Block;
- }
-
- protected function blockTableContinue($Line, array $Block)
- {
- if (isset($Block['interrupted']))
- {
- return;
- }
-
- if (count($Block['alignments']) === 1 or $Line['text'][0] === '|' or strpos($Line['text'], '|'))
- {
- $Elements = array();
-
- $row = $Line['text'];
-
- $row = trim($row);
- $row = trim($row, '|');
-
- preg_match_all('/(?:(\\\\[|])|[^|`]|`[^`]++`|`)++/', $row, $matches);
-
- $cells = array_slice($matches[0], 0, count($Block['alignments']));
-
- foreach ($cells as $index => $cell)
- {
- $cell = trim($cell);
-
- $Element = array(
- 'name' => 'td',
- 'handler' => array(
- 'function' => 'lineElements',
- 'argument' => $cell,
- 'destination' => 'elements',
- )
- );
-
- if (isset($Block['alignments'][$index]))
- {
- $Element['attributes'] = array(
- 'style' => 'text-align: ' . $Block['alignments'][$index] . ';',
- );
- }
-
- $Elements []= $Element;
- }
-
- $Element = array(
- 'name' => 'tr',
- 'elements' => $Elements,
- );
-
- $Block['element']['elements'][1]['elements'] []= $Element;
-
- return $Block;
- }
- }
-
- #
- # ~
- #
-
- protected function paragraph($Line)
- {
- return array(
- 'type' => 'Paragraph',
- 'element' => array(
- 'name' => 'p',
- 'handler' => array(
- 'function' => 'lineElements',
- 'argument' => $Line['text'],
- 'destination' => 'elements',
- ),
- ),
- );
- }
-
- protected function paragraphContinue($Line, array $Block)
- {
- if (isset($Block['interrupted']))
- {
- return;
- }
-
- $Block['element']['handler']['argument'] .= "\n".$Line['text'];
-
- return $Block;
- }
-
- #
- # Inline Elements
- #
-
- protected $InlineTypes = array(
- '!' => array('Image'),
- '&' => array('SpecialCharacter'),
- '*' => array('Emphasis'),
- ':' => array('Url'),
- '<' => array('UrlTag', 'EmailTag', 'Markup'),
- '[' => array('Link'),
- '_' => array('Emphasis'),
- '`' => array('Code'),
- '~' => array('Strikethrough'),
- '\\' => array('EscapeSequence'),
- );
-
- # ~
-
- protected $inlineMarkerList = '!*_&[:<`~\\';
-
- #
- # ~
- #
-
- public function line($text, $nonNestables = array())
- {
- return $this->elements($this->lineElements($text, $nonNestables));
- }
-
- protected function lineElements($text, $nonNestables = array())
- {
- # standardize line breaks
- $text = str_replace(array("\r\n", "\r"), "\n", $text);
-
- $Elements = array();
-
- $nonNestables = (empty($nonNestables)
- ? array()
- : array_combine($nonNestables, $nonNestables)
- );
-
- # $excerpt is based on the first occurrence of a marker
-
- while ($excerpt = strpbrk($text, $this->inlineMarkerList))
- {
- $marker = $excerpt[0];
-
- $markerPosition = strlen($text) - strlen($excerpt);
-
- $Excerpt = array('text' => $excerpt, 'context' => $text);
-
- foreach ($this->InlineTypes[$marker] as $inlineType)
- {
- # check to see if the current inline type is nestable in the current context
-
- if (isset($nonNestables[$inlineType]))
- {
- continue;
- }
-
- $Inline = $this->{"inline$inlineType"}($Excerpt);
-
- if ( ! isset($Inline))
- {
- continue;
- }
-
- # makes sure that the inline belongs to "our" marker
-
- if (isset($Inline['position']) and $Inline['position'] > $markerPosition)
- {
- continue;
- }
-
- # sets a default inline position
-
- if ( ! isset($Inline['position']))
- {
- $Inline['position'] = $markerPosition;
- }
-
- # cause the new element to 'inherit' our non nestables
-
-
- $Inline['element']['nonNestables'] = isset($Inline['element']['nonNestables'])
- ? array_merge($Inline['element']['nonNestables'], $nonNestables)
- : $nonNestables
- ;
-
- # the text that comes before the inline
- $unmarkedText = substr($text, 0, $Inline['position']);
-
- # compile the unmarked text
- $InlineText = $this->inlineText($unmarkedText);
- $Elements[] = $InlineText['element'];
-
- # compile the inline
- $Elements[] = $this->extractElement($Inline);
-
- # remove the examined text
- $text = substr($text, $Inline['position'] + $Inline['extent']);
-
- continue 2;
- }
-
- # the marker does not belong to an inline
-
- $unmarkedText = substr($text, 0, $markerPosition + 1);
-
- $InlineText = $this->inlineText($unmarkedText);
- $Elements[] = $InlineText['element'];
-
- $text = substr($text, $markerPosition + 1);
- }
-
- $InlineText = $this->inlineText($text);
- $Elements[] = $InlineText['element'];
-
- foreach ($Elements as &$Element)
- {
- if ( ! isset($Element['autobreak']))
- {
- $Element['autobreak'] = false;
- }
- }
-
- return $Elements;
- }
-
- #
- # ~
- #
-
- protected function inlineText($text)
- {
- $Inline = array(
- 'extent' => strlen($text),
- 'element' => array(),
- );
-
- $Inline['element']['elements'] = self::pregReplaceElements(
- $this->breaksEnabled ? '/[ ]*+\n/' : '/(?:[ ]*+\\\\|[ ]{2,}+)\n/',
- array(
- array('name' => 'br'),
- array('text' => "\n"),
- ),
- $text
- );
-
- return $Inline;
- }
-
- protected function inlineCode($Excerpt)
- {
- $marker = $Excerpt['text'][0];
-
- if (preg_match('/^(['.$marker.']++)[ ]*+(.+?)[ ]*+(? strlen($matches[0]),
- 'element' => array(
- 'name' => 'code',
- 'text' => $text,
- ),
- );
- }
- }
-
- protected function inlineEmailTag($Excerpt)
- {
- $hostnameLabel = '[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?';
-
- $commonMarkEmail = '[a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]++@'
- . $hostnameLabel . '(?:\.' . $hostnameLabel . ')*';
-
- if (strpos($Excerpt['text'], '>') !== false
- and preg_match("/^<((mailto:)?$commonMarkEmail)>/i", $Excerpt['text'], $matches)
- ){
- $url = $matches[1];
-
- if ( ! isset($matches[2]))
- {
- $url = "mailto:$url";
- }
-
- return array(
- 'extent' => strlen($matches[0]),
- 'element' => array(
- 'name' => 'a',
- 'text' => $matches[1],
- 'attributes' => array(
- 'href' => $url,
- ),
- ),
- );
- }
- }
-
- protected function inlineEmphasis($Excerpt)
- {
- if ( ! isset($Excerpt['text'][1]))
- {
- return;
- }
-
- $marker = $Excerpt['text'][0];
-
- if ($Excerpt['text'][1] === $marker and preg_match($this->StrongRegex[$marker], $Excerpt['text'], $matches))
- {
- $emphasis = 'strong';
- }
- elseif (preg_match($this->EmRegex[$marker], $Excerpt['text'], $matches))
- {
- $emphasis = 'em';
- }
- else
- {
- return;
- }
-
- return array(
- 'extent' => strlen($matches[0]),
- 'element' => array(
- 'name' => $emphasis,
- 'handler' => array(
- 'function' => 'lineElements',
- 'argument' => $matches[1],
- 'destination' => 'elements',
- )
- ),
- );
- }
-
- protected function inlineEscapeSequence($Excerpt)
- {
- if (isset($Excerpt['text'][1]) and in_array($Excerpt['text'][1], $this->specialCharacters))
- {
- return array(
- 'element' => array('rawHtml' => $Excerpt['text'][1]),
- 'extent' => 2,
- );
- }
- }
-
- protected function inlineImage($Excerpt)
- {
- if ( ! isset($Excerpt['text'][1]) or $Excerpt['text'][1] !== '[')
- {
- return;
- }
-
- $Excerpt['text']= substr($Excerpt['text'], 1);
-
- $Link = $this->inlineLink($Excerpt);
-
- if ($Link === null)
- {
- return;
- }
-
- $Inline = array(
- 'extent' => $Link['extent'] + 1,
- 'element' => array(
- 'name' => 'img',
- 'attributes' => array(
- 'src' => $Link['element']['attributes']['href'],
- 'alt' => $Link['element']['handler']['argument'],
- ),
- 'autobreak' => true,
- ),
- );
-
- $Inline['element']['attributes'] += $Link['element']['attributes'];
-
- unset($Inline['element']['attributes']['href']);
-
- return $Inline;
- }
-
- protected function inlineLink($Excerpt)
- {
- $Element = array(
- 'name' => 'a',
- 'handler' => array(
- 'function' => 'lineElements',
- 'argument' => null,
- 'destination' => 'elements',
- ),
- 'nonNestables' => array('Url', 'Link'),
- 'attributes' => array(
- 'href' => null,
- 'title' => null,
- ),
- );
-
- $extent = 0;
-
- $remainder = $Excerpt['text'];
-
- if (preg_match('/\[((?:[^][]++|(?R))*+)\]/', $remainder, $matches))
- {
- $Element['handler']['argument'] = $matches[1];
-
- $extent += strlen($matches[0]);
-
- $remainder = substr($remainder, $extent);
- }
- else
- {
- return;
- }
-
- if (preg_match('/^[(]\s*+((?:[^ ()]++|[(][^ )]+[)])++)(?:[ ]+("[^"]*+"|\'[^\']*+\'))?\s*+[)]/', $remainder, $matches))
- {
- $Element['attributes']['href'] = $matches[1];
-
- if (isset($matches[2]))
- {
- $Element['attributes']['title'] = substr($matches[2], 1, - 1);
- }
-
- $extent += strlen($matches[0]);
- }
- else
- {
- if (preg_match('/^\s*\[(.*?)\]/', $remainder, $matches))
- {
- $definition = strlen($matches[1]) ? $matches[1] : $Element['handler']['argument'];
- $definition = strtolower($definition);
-
- $extent += strlen($matches[0]);
- }
- else
- {
- $definition = strtolower($Element['handler']['argument']);
- }
-
- if ( ! isset($this->DefinitionData['Reference'][$definition]))
- {
- return;
- }
-
- $Definition = $this->DefinitionData['Reference'][$definition];
-
- $Element['attributes']['href'] = $Definition['url'];
- $Element['attributes']['title'] = $Definition['title'];
- }
-
- return array(
- 'extent' => $extent,
- 'element' => $Element,
- );
- }
-
- protected function inlineMarkup($Excerpt)
- {
- if ($this->markupEscaped or $this->safeMode or strpos($Excerpt['text'], '>') === false)
- {
- return;
- }
-
- if ($Excerpt['text'][1] === '/' and preg_match('/^<\/\w[\w-]*+[ ]*+>/s', $Excerpt['text'], $matches))
- {
- return array(
- 'element' => array('rawHtml' => $matches[0]),
- 'extent' => strlen($matches[0]),
- );
- }
-
- if ($Excerpt['text'][1] === '!' and preg_match('/^/s', $Excerpt['text'], $matches))
- {
- return array(
- 'element' => array('rawHtml' => $matches[0]),
- 'extent' => strlen($matches[0]),
- );
- }
-
- if ($Excerpt['text'][1] !== ' ' and preg_match('/^<\w[\w-]*+(?:[ ]*+'.$this->regexHtmlAttribute.')*+[ ]*+\/?>/s', $Excerpt['text'], $matches))
- {
- return array(
- 'element' => array('rawHtml' => $matches[0]),
- 'extent' => strlen($matches[0]),
- );
- }
- }
-
- protected function inlineSpecialCharacter($Excerpt)
- {
- if (substr($Excerpt['text'], 1, 1) !== ' ' and strpos($Excerpt['text'], ';') !== false
- and preg_match('/^&(#?+[0-9a-zA-Z]++);/', $Excerpt['text'], $matches)
- ) {
- return array(
- 'element' => array('rawHtml' => '&' . $matches[1] . ';'),
- 'extent' => strlen($matches[0]),
- );
- }
-
- return;
- }
-
- protected function inlineStrikethrough($Excerpt)
- {
- if ( ! isset($Excerpt['text'][1]))
- {
- return;
- }
-
- if ($Excerpt['text'][1] === '~' and preg_match('/^~~(?=\S)(.+?)(?<=\S)~~/', $Excerpt['text'], $matches))
- {
- return array(
- 'extent' => strlen($matches[0]),
- 'element' => array(
- 'name' => 'del',
- 'handler' => array(
- 'function' => 'lineElements',
- 'argument' => $matches[1],
- 'destination' => 'elements',
- )
- ),
- );
- }
- }
-
- protected function inlineUrl($Excerpt)
- {
- if ($this->urlsLinked !== true or ! isset($Excerpt['text'][2]) or $Excerpt['text'][2] !== '/')
- {
- return;
- }
-
- if (strpos($Excerpt['context'], 'http') !== false
- and preg_match('/\bhttps?+:[\/]{2}[^\s<]+\b\/*+/ui', $Excerpt['context'], $matches, PREG_OFFSET_CAPTURE)
- ) {
- $url = $matches[0][0];
-
- $Inline = array(
- 'extent' => strlen($matches[0][0]),
- 'position' => $matches[0][1],
- 'element' => array(
- 'name' => 'a',
- 'text' => $url,
- 'attributes' => array(
- 'href' => $url,
- ),
- ),
- );
-
- return $Inline;
- }
- }
-
- protected function inlineUrlTag($Excerpt)
- {
- if (strpos($Excerpt['text'], '>') !== false and preg_match('/^<(\w++:\/{2}[^ >]++)>/i', $Excerpt['text'], $matches))
- {
- $url = $matches[1];
-
- return array(
- 'extent' => strlen($matches[0]),
- 'element' => array(
- 'name' => 'a',
- 'text' => $url,
- 'attributes' => array(
- 'href' => $url,
- ),
- ),
- );
- }
- }
-
- # ~
-
- protected function unmarkedText($text)
- {
- $Inline = $this->inlineText($text);
- return $this->element($Inline['element']);
- }
-
- #
- # Handlers
- #
-
- protected function handle(array $Element)
- {
- if (isset($Element['handler']))
- {
- if (!isset($Element['nonNestables']))
- {
- $Element['nonNestables'] = array();
- }
-
- if (is_string($Element['handler']))
- {
- $function = $Element['handler'];
- $argument = $Element['text'];
- unset($Element['text']);
- $destination = 'rawHtml';
- }
- else
- {
- $function = $Element['handler']['function'];
- $argument = $Element['handler']['argument'];
- $destination = $Element['handler']['destination'];
- }
-
- $Element[$destination] = $this->{$function}($argument, $Element['nonNestables']);
-
- if ($destination === 'handler')
- {
- $Element = $this->handle($Element);
- }
-
- unset($Element['handler']);
- }
-
- return $Element;
- }
-
- protected function handleElementRecursive(array $Element)
- {
- return $this->elementApplyRecursive(array($this, 'handle'), $Element);
- }
-
- protected function handleElementsRecursive(array $Elements)
- {
- return $this->elementsApplyRecursive(array($this, 'handle'), $Elements);
- }
-
- protected function elementApplyRecursive($closure, array $Element)
- {
- $Element = call_user_func($closure, $Element);
-
- if (isset($Element['elements']))
- {
- $Element['elements'] = $this->elementsApplyRecursive($closure, $Element['elements']);
- }
- elseif (isset($Element['element']))
- {
- $Element['element'] = $this->elementApplyRecursive($closure, $Element['element']);
- }
-
- return $Element;
- }
-
- protected function elementApplyRecursiveDepthFirst($closure, array $Element)
- {
- if (isset($Element['elements']))
- {
- $Element['elements'] = $this->elementsApplyRecursiveDepthFirst($closure, $Element['elements']);
- }
- elseif (isset($Element['element']))
- {
- $Element['element'] = $this->elementsApplyRecursiveDepthFirst($closure, $Element['element']);
- }
-
- $Element = call_user_func($closure, $Element);
-
- return $Element;
- }
-
- protected function elementsApplyRecursive($closure, array $Elements)
- {
- foreach ($Elements as &$Element)
- {
- $Element = $this->elementApplyRecursive($closure, $Element);
- }
-
- return $Elements;
- }
-
- protected function elementsApplyRecursiveDepthFirst($closure, array $Elements)
- {
- foreach ($Elements as &$Element)
- {
- $Element = $this->elementApplyRecursiveDepthFirst($closure, $Element);
- }
-
- return $Elements;
- }
-
- protected function element(array $Element)
- {
- if ($this->safeMode)
- {
- $Element = $this->sanitiseElement($Element);
- }
-
- # identity map if element has no handler
- $Element = $this->handle($Element);
-
- $hasName = isset($Element['name']);
-
- $markup = '';
-
- if ($hasName)
- {
- $markup .= '<' . $Element['name'];
-
- if (isset($Element['attributes']))
- {
- foreach ($Element['attributes'] as $name => $value)
- {
- if ($value === null)
- {
- continue;
- }
-
- $markup .= " $name=\"".self::escape($value).'"';
- }
- }
- }
-
- $permitRawHtml = false;
-
- if (isset($Element['text']))
- {
- $text = $Element['text'];
- }
- // very strongly consider an alternative if you're writing an
- // extension
- elseif (isset($Element['rawHtml']))
- {
- $text = $Element['rawHtml'];
-
- $allowRawHtmlInSafeMode = isset($Element['allowRawHtmlInSafeMode']) && $Element['allowRawHtmlInSafeMode'];
- $permitRawHtml = !$this->safeMode || $allowRawHtmlInSafeMode;
- }
-
- $hasContent = isset($text) || isset($Element['element']) || isset($Element['elements']);
-
- if ($hasContent)
- {
- $markup .= $hasName ? '>' : '';
-
- if (isset($Element['elements']))
- {
- $markup .= $this->elements($Element['elements']);
- }
- elseif (isset($Element['element']))
- {
- $markup .= $this->element($Element['element']);
- }
- else
- {
- if (!$permitRawHtml)
- {
- $markup .= self::escape($text, true);
- }
- else
- {
- $markup .= $text;
- }
- }
-
- $markup .= $hasName ? '' . $Element['name'] . '>' : '';
- }
- elseif ($hasName)
- {
- $markup .= ' />';
- }
-
- return $markup;
- }
-
- protected function elements(array $Elements)
- {
- $markup = '';
-
- $autoBreak = true;
-
- foreach ($Elements as $Element)
- {
- if (empty($Element))
- {
- continue;
- }
-
- $autoBreakNext = (isset($Element['autobreak'])
- ? $Element['autobreak'] : isset($Element['name'])
- );
- // (autobreak === false) covers both sides of an element
- $autoBreak = !$autoBreak ? $autoBreak : $autoBreakNext;
-
- $markup .= ($autoBreak ? "\n" : '') . $this->element($Element);
- $autoBreak = $autoBreakNext;
- }
-
- $markup .= $autoBreak ? "\n" : '';
-
- return $markup;
- }
-
- # ~
-
- protected function li($lines)
- {
- $Elements = $this->linesElements($lines);
-
- if ( ! in_array('', $lines)
- and isset($Elements[0]) and isset($Elements[0]['name'])
- and $Elements[0]['name'] === 'p'
- ) {
- unset($Elements[0]['name']);
- }
-
- return $Elements;
- }
-
- #
- # AST Convenience
- #
-
- /**
- * Replace occurrences $regexp with $Elements in $text. Return an array of
- * elements representing the replacement.
- */
- protected static function pregReplaceElements($regexp, $Elements, $text)
- {
- $newElements = array();
-
- while (preg_match($regexp, $text, $matches, PREG_OFFSET_CAPTURE))
- {
- $offset = $matches[0][1];
- $before = substr($text, 0, $offset);
- $after = substr($text, $offset + strlen($matches[0][0]));
-
- $newElements[] = array('text' => $before);
-
- foreach ($Elements as $Element)
- {
- $newElements[] = $Element;
- }
-
- $text = $after;
- }
-
- $newElements[] = array('text' => $text);
-
- return $newElements;
- }
-
- #
- # Deprecated Methods
- #
-
- function parse($text)
- {
- $markup = $this->text($text);
-
- return $markup;
- }
-
- protected function sanitiseElement(array $Element)
- {
- static $goodAttribute = '/^[a-zA-Z0-9][a-zA-Z0-9-_]*+$/';
- static $safeUrlNameToAtt = array(
- 'a' => 'href',
- 'img' => 'src',
- );
-
- if ( ! isset($Element['name']))
- {
- unset($Element['attributes']);
- return $Element;
- }
-
- if (isset($safeUrlNameToAtt[$Element['name']]))
- {
- $Element = $this->filterUnsafeUrlInAttribute($Element, $safeUrlNameToAtt[$Element['name']]);
- }
-
- if ( ! empty($Element['attributes']))
- {
- foreach ($Element['attributes'] as $att => $val)
- {
- # filter out badly parsed attribute
- if ( ! preg_match($goodAttribute, $att))
- {
- unset($Element['attributes'][$att]);
- }
- # dump onevent attribute
- elseif (self::striAtStart($att, 'on'))
- {
- unset($Element['attributes'][$att]);
- }
- }
- }
-
- return $Element;
- }
-
- protected function filterUnsafeUrlInAttribute(array $Element, $attribute)
- {
- foreach ($this->safeLinksWhitelist as $scheme)
- {
- if (self::striAtStart($Element['attributes'][$attribute], $scheme))
- {
- return $Element;
- }
- }
-
- $Element['attributes'][$attribute] = str_replace(':', '%3A', $Element['attributes'][$attribute]);
-
- return $Element;
- }
-
- #
- # Static Methods
- #
-
- protected static function escape($text, $allowQuotes = false)
- {
- return htmlspecialchars($text, $allowQuotes ? ENT_NOQUOTES : ENT_QUOTES, 'UTF-8');
- }
-
- protected static function striAtStart($string, $needle)
- {
- $len = strlen($needle);
-
- if ($len > strlen($string))
- {
- return false;
- }
- else
- {
- return strtolower(substr($string, 0, $len)) === strtolower($needle);
- }
- }
-
- static function instance($name = 'default')
- {
- if (isset(self::$instances[$name]))
- {
- return self::$instances[$name];
- }
-
- $instance = new static();
-
- self::$instances[$name] = $instance;
-
- return $instance;
- }
-
- private static $instances = array();
-
- #
- # Fields
- #
-
- protected $DefinitionData;
-
- #
- # Read-Only
-
- protected $specialCharacters = array(
- '\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '>', '#', '+', '-', '.', '!', '|', '~'
- );
-
- protected $StrongRegex = array(
- '*' => '/^[*]{2}((?:\\\\\*|[^*]|[*][^*]*+[*])+?)[*]{2}(?![*])/s',
- '_' => '/^__((?:\\\\_|[^_]|_[^_]*+_)+?)__(?!_)/us',
- );
-
- protected $EmRegex = array(
- '*' => '/^[*]((?:\\\\\*|[^*]|[*][*][^*]+?[*][*])+?)[*](?![*])/s',
- '_' => '/^_((?:\\\\_|[^_]|__[^_]*__)+?)_(?!_)\b/us',
- );
-
- protected $regexHtmlAttribute = '[a-zA-Z_:][\w:.-]*+(?:\s*+=\s*+(?:[^"\'=<>`\s]+|"[^"]*+"|\'[^\']*+\'))?+';
-
- protected $voidElements = array(
- 'area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source',
- );
-
- protected $textLevelElements = array(
- 'a', 'br', 'bdo', 'abbr', 'blink', 'nextid', 'acronym', 'basefont',
- 'b', 'em', 'big', 'cite', 'small', 'spacer', 'listing',
- 'i', 'rp', 'del', 'code', 'strike', 'marquee',
- 'q', 'rt', 'ins', 'font', 'strong',
- 's', 'tt', 'kbd', 'mark',
- 'u', 'xm', 'sub', 'nobr',
- 'sup', 'ruby',
- 'var', 'span',
- 'wbr', 'time',
- );
-}
diff --git a/readme.txt b/readme.txt
index df4c879..b5b9c27 100644
--- a/readme.txt
+++ b/readme.txt
@@ -41,6 +41,12 @@ Dez includes support for WooCommerce and for Infinite Scroll in Jetpack.
== Changelog ==
+= 3.0.2 - April 13 2024 =
+* Altera retorno de itens nos feeds dos podcasts (`functions.php`);
+* Corrige estilo do link “Todas as conversas” (Órbita) na capa (`index.php`);
+* Remove CSS inline do plugin ActivityPub (`functions.php`);
+* Remove `parsedown.php` (sem uso).
+
= 3.0.1 - April 7 2024 =
* Remove snippets de Markdown em comentáriso do `functions.php`
devido a falha na renderização de HTML nos comentários.
diff --git a/style.css b/style.css
index 11b136b..7ed13fe 100644
--- a/style.css
+++ b/style.css
@@ -4,7 +4,7 @@ Theme URI: https://manualdousuario.net/
Author: Rodrigo Ghedin
Author URI: https://rodrigo.ghed.in/
Description: Manual do Usuário Theme
-Version: 3.0.1
+Version: 3.0.2
Tested up to: 8.1.12
Requires PHP: 5.6
License: GNU General Public License v2 or later
diff --git a/style.min.css b/style.min.css
index 0a28fde..82c7fdb 100644
--- a/style.min.css
+++ b/style.min.css
@@ -4,7 +4,7 @@ Theme URI: https://manualdousuario.net/
Author: Rodrigo Ghedin
Author URI: https://rodrigo.ghed.in/
Description: Manual do Usuário Theme
-Version: 3.0.1
+Version: 3.0.2
Tested up to: 8.1.12
Requires PHP: 5.6
License: GNU General Public License v2 or later
@@ -17,4 +17,4 @@ Use it to make something cool, have fun, and share what you've learned.
Dez is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
-*/:root{--cor-pagina:hsl(0, 0%, 99%);--cor-fonte:hsl(0, 0%, 10%);--cor-destaques:hsl(0, 0%, 97%);--cor-bordas:hsl(0, 0%, 92%);--cor-chapada:hsl(0, 0%, 100%);--cor-link-ori:hsl(225, 72%, 41%);--cor-link-vis:hsl(276, 100%, 25%);--cor-link-est:hsl(240, 63%, 27%);--cor-link-meta:hsl(0, 0%, 30%);--cor-link-meta-est:hsl(0, 0%, 50%);--ff-serif:Georgia,"Noto Serif",ui-serif,serif;--ff-monospace:ui-monospace,monospace;--fs-0:clamp(0.9894rem, 0.9831rem + 0.0315vw, 1rem);--fs-1:clamp(1.1875rem, 1.1505rem + 0.1852vw, 1.25rem);--fs-2:clamp(1.425rem, 1.3435rem + 0.4074vw, 1.5625rem);--fs-3:clamp(1.71rem, 1.5659rem + 0.7204vw, 1.9531rem);--fs-4:clamp(2.0519rem, 1.8211rem + 1.1537vw, 2.4413rem);--fs-5:clamp(2.4625rem, 2.1132rem + 1.7463vw, 3.0519rem);--med-comp-linha:65ch;--med-borda:6px;--med-salto-pequeno:1.35rem;--med-salto-medio:4rem;--med-salto-grande:8rem}*,::after,::before{box-sizing:border-box}*{margin:0;word-wrap:break-word;overflow-wrap:break-word}body{background:var(--cor-pagina);color:var(--cor-fonte);font-family:var(--ff-serif);font-size:var(--fs-1);line-height:1.7;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;scroll-behavior:smooth}blockquote,figure,form,h1,h2,h3,h4,p,picture{margin-bottom:var(--med-salto-pequeno);font-weight:400}li,p{max-width:var(--med-comp-linha);overflow-wrap:break-word}ol,ul{margin:0 0 var(--med-salto-pequeno) 0;padding:0}li{margin:0 0 .5rem var(--med-salto-pequeno)}canvas,img,picture,figure,svg,video{max-width:100%;height:auto;vertical-align:middle}blockquote{margin:0 0 var(--med-salto-pequeno) 0;border-left:var(--med-borda) solid var(--cor-bordas);padding:0 var(--med-salto-pequeno);max-width:var(--med-comp-linha)}hr{margin:var(--med-salto-pequeno);height:1px;border:none;background-color:var(--cor-bordas)}embed,iframe,object{max-width:100%}table{margin:0 0 var(--med-salto-pequeno);width:100%}code,kbd{padding:2px 4px;margin:0;font-size:var(--fs-0);font-family:var(--ff-monospace);background:var(--cor-destaques);border-radius:var(--med-borda)}kbd{border:1px solid var(--cor-bordas);border-bottom:3px solid var(--cor-bordas)}pre{background-color:var(--cor-destaques);font-family:var(--ff-monospace);border-radius:var(--med-borda);font-size:var(--fs-0);padding:1rem;overflow:auto;margin-bottom:var(--med-salto-pequeno)}input:not([type=checkbox]),select,textarea{font:inherit;display:inline-block;padding:.25rem .5rem;height:40px}textarea{height:auto;resize:vertical;width:100%}input:not([type=submit]):not([type=file]),textarea{border:1px solid var(--cor-bordas);border-radius:var(--med-borda);background-color:var(--cor-chapada)}[type=checkbox],[type=radio]{transform:scale(1.5);position:relative;top:-.2rem}button,input[type=reset],input[type=submit],select{cursor:pointer}a{color:var(--cor-link-ori)}a:visited{color:var(--cor-link-vis)}a:active,a:focus,a:hover{color:var(--cor-link-est)}.comment-metadata a,.link-alt a,a.comment-reply-link{color:var(--cor-link-meta)}.comment-metadata a:hover,.link-alt a:hover,a:hover.comment-reply-link{color:var(--cor-link-meta-est)}.comment-metadata a,.link-alt,a.comment-reply-link,a.more-link{font-family:var(--ff-monospace);font-size:var(--fs-0);line-height:1.4}a.comment-metadata{text-transform:initial}.alignleft{float:left;margin-right:var(--med-salto-pequeno)}.alignright{float:right;margin-left:var(--med-salto-pequeno)}.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto}.aligncenter,.alignleft,.alignright{margin-bottom:var(--med-salto-pequeno)}.site{max-width:900px;margin-inline:auto;padding:0 1rem}.site-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin:1rem 0 var(--med-salto-grande)}h1.site-title,p.site-title{margin:0;height:74px;align-content:center;font-size:var(--fs-3)}.main-navigation{font-size:var(--fs-0);display:flex;line-height:1.3em;gap:1.25rem}#dark-mode-toggle,#secondary-menu,.main-navigation ul{display:flex;list-style:none;margin:0;padding:0;gap:1.25rem;align-items:center}.main-navigation li{font-family:var(--ff-serif);position:relative;margin:0}ul.nav-menu{padding:.5rem 1.25rem;background-color:var(--cor-destaques);border-radius:var(--med-borda)}li.menu-rss{margin-left:-.75rem}#dark-mode-toggle li:first-child{padding:0;margin:0}#dark-mode-toggle li a{background-image:url('/wp-content/themes/dez/img/icone-dark-mode-lua.svg');background-size:cover;display:block;height:24px;width:24px;overflow:hidden;text-indent:-9999px;white-space:nowrap}[data-theme=dark] #dark-mode-toggle li a{background-image:url('/wp-content/themes/dez/img/icone-dark-mode-sol.svg');filter:invert()}.hfeed .orbita-manual,.hfeed article.hentry{margin:1rem 0 var(--med-salto-grande)}article.hentry li:last-child,article.hentry ol:last-child,article.hentry p:last-child,article.hentry ul:last-child{margin-bottom:0}.entry-header{margin-bottom:var(--med-salto-pequeno)}.entry-header h1,.entry-header h2{font-size:var(--fs-4);line-height:1.25;margin:1.35rem 0}.post-thumbnail{margin:0 0 var(--med-salto-pequeno)}.lyte-wrapper,.post-thumbnail img{box-shadow:4px 4px 16px #d8d8d8}a.comment-link{background-image:url('/wp-content/themes/dez/img/icone-speech-stroke.svg');background-repeat:no-repeat;background-size:18px;background-position-y:1px;padding-left:24px}.wp-caption img[class*=wp-image-]{display:block;margin-left:auto;margin-right:auto}.wp-caption .wp-caption-text,caption{background-color:var(--cor-destaques);padding:.25rem .5rem;font-size:var(--fs-0);text-align:left}.aviso-pos-post{padding:1rem;background-color:var(--cor-destaques);border-radius:var(--med-borda);text-align:center;margin:var(--med-salto-grande) auto}.ctx-atencao,.ctx-atualizacao,.ctx-dica,.ctx-editor,.ctx-transparencia,.format-link .link,.podcast_player{padding:1rem 1.2rem 1rem 3rem;border-radius:var(--med-borda);max-width:var(--med-comp-linha);margin-bottom:var(--med-salto-pequeno);background:var(--cor-destaques)}.ctx-editor{padding:.75rem 1rem}div.ctx-atencao p:last-child,div.ctx-atualizacao p:last-child,div.ctx-dica p:last-child,div.ctx-editor p:last-child,div.ctx-transparencia p:last-child,div.podcast_player p:last-child{margin-bottom:0}.ctx-atencao:before,.ctx-atualizacao:before,.ctx-dica:before,.ctx-transparencia:before,.format-link .link:before{position:absolute;margin-left:-2.15rem}.ctx-atualizacao:before{content:'🕓'}.ctx-atencao:before{content:'⚠️'}.ctx-transparencia:before{content:'👁️'}.ctx-dica:before{content:'💡'}.format-link .link:before{content:'🔗'}.podcast_player{background:#f6efff;padding:1rem}.single .comment-navigation{margin-bottom:4rem}.comment-respond{margin:var(--med-salto-grande) auto}.comment-form-alert{font-family:var(--ff-monospace);font-size:var(--fs-0)}.comment-form-cookies-consent label{margin-left:1rem}.comment-form-author{max-width:50%;float:left;margin-right:1rem}.comment-form-email{max-width:50%;float:left}.comment-form-cookies-consent{clear:both}.comments-area ol{list-style:none}.comment-list li,ol.comment-list{margin:0;max-width:100%}.comment-content li ol,.comment-content li ul{margin:0 0 var(--med-salto-pequeno) var(--med-salto-pequeno)}.comment-content ol{list-style:decimal}.comment-list .depth-1{margin:0 0 var(--med-salto-medio) 0}.comment-list article{margin:0 0 var(--med-salto-pequeno) 0}ol.children{border-left:1px solid var(--cor-bordas);margin:0;padding:0 0 0 var(--med-salto-pequeno)}.bypostauthor{display:block}#cancel-comment-reply-link{display:block}.comment-meta{background-color:var(--cor-destaques);padding:.6rem 1rem;border-radius:var(--med-borda);margin-bottom:var(--med-salto-pequeno);display:flex;align-items:center;column-gap:1rem}.activitypub-comment .comment-meta{background-color:#eeeaff}.activitypub-comment>.comment-body>footer>.comment-author>.fn:after,.byuser>.comment-body>footer>.comment-author>.fn:after{background-size:26px;display:inline-block;width:26px;height:22px;content:"";background-repeat:no-repeat;background-position:0;position:relative;top:4px;left:6px;z-index:1}.byuser>.comment-body>footer>.comment-author>.fn:after{background-image:url('/wp-content/themes/dez/img/selo-verificado.svg')}.activitypub-comment>.comment-body>footer>.comment-author>.fn:after{background-image:url('/wp-content/themes/dez/img/icone-mastodon.svg');background-size:22px;width:22px;left:8px}.comment-navigation .nav-links,.navigation .nav-links,.post-navigation .nav-links{display:flex;flex-direction:row-reverse}.orbita-navigation .nav-links{flex-direction:row}.comment-navigation .nav-previous,.navigation .nav-previous,.post-navigation .nav-previous{text-align:end;flex:1 0 50%}.comment-navigation .nav-next,.navigation .nav-next,.post-navigation .nav-next{text-align:start;flex:1 0 50%}.orbita-navigation .nav-previous{text-align:start}.orbita-navigation .nav-next{text-align:end}.single .navigation{margin:var(--med-salto-medio) 0 var(--med-salto-grande)}.site-footer{margin:var(--med-salto-grande) auto 0;text-align:center;padding:0}.page-id-20907 .site-footer{display:inline-block}.site-footer p{max-width:100%}.site-footer .search-form{margin:0 auto var(--med-salto-medio)}.top{position:sticky;display:block;float:right;bottom:1rem;margin-right:2rem;width:45px;aspect-ratio:1;background:var(--cor-fonte);border-radius:var(--med-borda);opacity:0;transition:opacity .5s ease}.top:before{content:"";position:absolute;inset:30%;transform:translateY(20%) rotate(-45deg);border-top:5px solid #fff;border-right:5px solid #fff}.top-visivel{opacity:.5}.top-visivel:hover{opacity:1}.search-form{max-width:60%}input[type=search].search-field{width:90%;padding-right:3rem}.search-submit{padding:.25rem;margin-left:-3rem;vertical-align:top;border:none;background-color:transparent}.search-form path{stroke:var(--cor-link-ori);stroke-width:3px}.search-form path:hover{stroke:var(--cor-link-est)}.page-header{border-bottom:1px solid var(--cor-bordas);margin-bottom:var(--med-salto-grande)}.page-id-38122 label{display:block}.search-results .page-header{border-bottom:0}.page-id-19958 .entry-title,.page-id-20602 .entry-title,.page-id-25504 .entry-title,.page-id-33255 .entry-title,.page-id-39568 .entry-title,.page-id-6971 .entry-title{display:none}.page-id-19958 .entry-content p:first-child,.page-id-20602 .entry-content p:first-child,.page-id-25504 .entry-content p:first-child,.page-id-33255 .entry-content p:first-child,.page-id-39568 .entry-content p:first-child,.page-id-6971 .entry-content p:first-child{font-size:var(--fs-3);font-family:var(--ff-serif);line-height:1.4;max-width:100%}.apoie-pix{text-align:center;font-weight:700;max-width:100%!important}div.apoie-blocos{display:flex;list-style:none;flex-wrap:wrap;gap:1rem;justify-content:space-around;align-items:flex-start;align-content:stretch;margin:0 0 1.5rem}div.apoie-blocos div.apoie-blocos-item{background-color:var(--cor-destaques);margin:0;padding:1rem;flex-grow:1;flex-basis:0;font-size:var(--fs-0);border-radius:var(--med-borda)}div.apoie-blocos div.apoie-blocos-item h3{border-bottom:1px solid var(--cor-bordas);margin:0 0 1rem 0;padding-bottom:1rem;text-align:center;font-size:var(--fs-3);line-height:1;min-width:220px}div.apoie-blocos div.apoie-blocos-item h3 small{font-size:var(--fs-0)}div.apoie-blocos div.apoie-blocos-item ul{margin:0}div.apoie-blocos div.apoie-blocos-mensal h3{border:0;padding:0;min-width:150px}.format-quote h1.entry-title,.format-quote h2.entry-title{font-size:var(--fs-3);line-height:1.35}.format-quote .entry-title{background:var(--cor-destaques);padding:.5rem 1rem;position:relative;z-index:0;border-radius:var(--med-borda)}.format-quote .entry-title:after{border:var(--med-salto-pequeno) solid transparent;border-top-color:var(--cor-destaques);content:'';margin-left:-1rem;position:absolute;top:98%;left:10%}.format-quote .entry-content p:first-child{margin-left:var(--med-salto-pequeno)}.format-link p.link span{font-family:var(--ff-monospace);font-size:var(--fs-0)}.hfeed article.type-podcast h2.entry-title{font-size:var(--fs-2)}#menu-toggle,.comment-form-author label,.comment-form-comment label,.comment-form-email label,.entry-meta span.author-1,.says,.screen-reader-text,article.format-aside .entry-title,article.format-image .entry-title,article.format-link .entry-title,span.required-field-message{display:none}.subscribe-formulario label{display:block}.lyte-wrapper{width:100%!important;margin:0!important}.single-orbita_post .entry-content{margin-bottom:4rem}.littlefoot{position:relative}.littlefoot__button{background-color:var(--cor-link-meta-est);border-radius:var(--med-borda);border:0;cursor:pointer;display:inline-block;height:var(--med-salto-pequeno);vertical-align:text-bottom}.littlefoot__button.is-active,.littlefoot__button:active,.littlefoot__button:focus,.littlefoot__button:hover{background-color:var(--cor-link-meta)}.littlefoot__button svg{float:left;height:.35rem}.littlefoot__popover{border:1px solid var(--cor-bordas);border-radius:var(--med-borda);margin:calc(.5rem + 1.25rem) 0;max-width:90%;width:22em;position:absolute;top:0;z-index:1}.littlefoot__popover.is-above{bottom:0;top:auto}.littlefoot__wrapper{position:relative;z-index:1}.littlefoot__content,.littlefoot__wrapper{border-radius:var(--med-borda)}.littlefoot__content{background-color:var(--cor-destaques);max-height:15em;font-size:var(--fs-0);overflow:auto;padding:.5rem .75rem;width:100%}.littlefoot__content p:last-child{margin:0}.is-scrollable .littlefoot__content:after{bottom:0;color:var(--cor-link-meta);content:"\21E3";display:block;left:0;opacity:1;position:sticky;text-align:center;transform:translateX(calc(1.4rem * -1)) translateY(calc(.6rem / 2));width:1.4rem}.is-scrollable.is-fully-scrolled .littlefoot__content:after{opacity:0}.littlefoot__tooltip{background-color:var(--cor-destaques);border:1px solid var(--cor-bordas);height:calc(.5rem * 2);margin-left:calc(.5rem * -1);position:absolute;transform:rotate(45deg);width:calc(.5rem * 2)}.is-below .littlefoot__tooltip{top:calc(.5rem * -1)}.is-above .littlefoot__tooltip{bottom:calc(.5rem * -1)}@media not print{.littlefoot--print{display:none}}@media print{.littlefoot__button,.littlefoot__popover{display:none}}.dataTable-container{overflow-x:auto}.dataTable-wrapper.no-header .dataTable-container{border-top:1px solid #d9d9d9}.dataTable-bottom,.dataTable-table>tbody>tr>td,.dataTable-table>tbody>tr>th,.dataTable-table>tfoot>tr>td,.dataTable-table>tfoot>tr>th,.dataTable-table>thead>tr>td,.dataTable-table>thead>tr>th,.dataTable-top,table.dataTable-table thead{padding:.25rem .5rem}table.dataTable-table thead{background-color:var(--cor-bordas)}.dataTable-bottom,.dataTable-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:var(--med-salto-pequeno) 0}.dataTable-selector{padding:6px}.dataTable-input{padding:6px 12px}.dataTable-pagination-list{display:flex;justify-content:space-between;column-gap:1.5rem;list-style:none}.dataTable-pagination-list li{margin:0}li.active a{text-decoration:none;color:var(--cor-fonte)}.dataTable-table{border-spacing:0;border-collapse:separate;margin-bottom:0}.dataTable-table>thead>tr>th{vertical-align:bottom;text-align:left;border-bottom:1px solid #d9d9d9}.dataTable-table>tfoot>tr>th{vertical-align:bottom;text-align:left;border-top:1px solid #d9d9d9}.dataTable-table th{vertical-align:bottom;text-align:left}.dataTable-table th a{text-decoration:none;color:inherit}.dataTable-sorter{display:inline-block;height:100%;position:relative;width:100%}.dataTable-sorter::after,.dataTable-sorter::before{content:"";height:0;width:0;position:absolute;right:4px;border-left:4px solid transparent;border-right:4px solid transparent;opacity:.2}.dataTable-sorter::before{border-top:4px solid #000;bottom:0}.dataTable-sorter::after{border-bottom:4px solid #000;border-top:4px solid transparent;top:0}.asc .dataTable-sorter::after,.desc .dataTable-sorter::before{opacity:.6}.dataTables-empty{text-align:center}table.dataTable-table:focus tr.dataTable-cursor>td:first-child{border-left:3px #00f solid}table.dataTable-table:focus{outline:solid 1px black;outline-offset:-1px}table.dataTable-table tr:nth-child(2n){background-color:var(--cor-destaques)}@media (max-width:670px){.site-header{row-gap:var(--med-salto-pequeno)}.icons-navigation{order:2;margin-left:1rem}#site-navigation{order:3;margin:auto}ul.nav-menu{padding:.5rem 1rem}.format-quote .entry-title{font-size:var(--fs-2)!important}.format-quote .entry-content p:first-child{margin-left:0}.lyte-wrapper,.post-thumbnail{left:50%;margin:0 -50vw var(--med-salto-pequeno) -50vw!important;max-width:100vw!important;position:relative;right:50%;width:100vw!important;max-width:1200px!important}.category-aplicativos figure:first-child,.category-aplicativos p:first-child{display:inline-block;width:100%;text-align:center}.category-aplicativos .alignright,.category-aplicativos figure:first-child picture,.category-aplicativos p:first-child img{margin:0 auto;float:initial}.comment-form-author,.comment-form-email{float:initial;max-width:100%;margin-right:0}.comment-form-author input,.comment-form-email input{width:100%}.subscribe-formulario select{font-size:var(--fs-0)}ol.children{border-left:1px solid var(--cor-destaques);margin:0 0 0 1rem;padding:0}.comment-meta{flex-direction:column;align-items:start;border-radius:0;padding:.25rem .5rem}.comment-content,.reply{padding:0 .5rem}.search-form{max-width:100%}}[data-theme=dark]:root{--cor-pagina:hsl(0, 0%, 1%);--cor-fonte:hsl(0, 0%, 90%);--cor-link-meta:rgb(194, 210, 255);--cor-link-meta-est:rgb(235, 240, 255);--cor-link-ori:rgb(108, 147, 255);--cor-link-vis:rgb(171, 136, 255);--cor-link-est:rgb(166, 189, 255);--cor-bordas:rgb(68, 68, 68);--cor-destaques:rgb(29, 29, 29)}[data-theme=dark] .gridicon,[data-theme=dark] .menu-toggle-icon,[data-theme=dark] .site-title img,[data-theme=dark] a.comment-link{filter:invert();fill:unset}[data-theme=dark] .activitypub-comment .comment-meta{background-color:#00003d}[data-theme=dark] .activitypub-comment>.comment-body>footer>.comment-author>.fn:after{filter:invert(1)}[data-theme=dark] a.comment-link span{filter:invert()}[data-theme=dark] .lyte-wrapper,[data-theme=dark] .post-thumbnail img{box-shadow:none}[data-theme=dark] input[type=email],[data-theme=dark] input[type=number],[data-theme=dark] input[type=search],[data-theme=dark] input[type=text],[data-theme=dark] input[type=url],[data-theme=dark] textarea{background-color:var(--cor-destaques);color:var(--cor-fonte)}[data-theme=dark] .ctx-atencao{background-color:#1f1c00}[data-theme=dark] .ctx-transparencia{background-color:#001425}[data-theme=dark] .ctx-dica{background-color:#2e0f00}[data-theme=dark] .podcast_player{background-color:#100024}[data-theme=dark] .top:before{border-top:5px solid var(--cor-destaques);border-right:5px solid var(--cor-destaques)}#primary-menu.menu.nav-menu ul{flex:none}#secondary-menu>ul>li:first-child{padding:0;border-radius:var(--med-borda)}.menu-toggle-icon{cursor:pointer;display:block}.menu-toggle-icon img{max-width:none}#menu-toggle-list{overflow:hidden;display:block;position:absolute;left:auto;right:-100%;width:max-content;max-height:0;margin-top:1.5rem;user-select:none;-webkit-user-select:none;-ms-user-select:none;border-radius:var(--med-borda);z-index:999}#menu-toggle:checked~#menu-toggle-list{max-height:max-content}#menu-toggle:checked+label>img{opacity:.3}.menu-item .children li{padding:0 1rem 1rem 1rem;text-align:end;background-color:var(--cor-destaques)}.menu-item .children li:first-child{padding-top:.8em;border-radius:var(--med-borda) var(--med-borda) 0 0}.menu-item .children li:last-child{padding-bottom:1em;border-radius:0 0 var(--med-borda) var(--med-borda)}.divider{border-top:1px var(--cor-bordas) solid}
\ No newline at end of file
+*/:root{--cor-pagina:hsl(0, 0%, 99%);--cor-fonte:hsl(0, 0%, 10%);--cor-destaques:hsl(0, 0%, 97%);--cor-bordas:hsl(0, 0%, 92%);--cor-chapada:hsl(0, 0%, 100%);--cor-link-ori:hsl(225, 72%, 41%);--cor-link-vis:hsl(276, 100%, 25%);--cor-link-est:hsl(240, 63%, 27%);--cor-link-meta:hsl(0, 0%, 30%);--cor-link-meta-est:hsl(0, 0%, 50%);--ff-serif:Georgia,"Noto Serif",ui-serif,serif;--ff-monospace:ui-monospace,monospace;--fs-0:clamp(0.9894rem, 0.9831rem + 0.0315vw, 1rem);--fs-1:clamp(1.1875rem, 1.1505rem + 0.1852vw, 1.25rem);--fs-2:clamp(1.425rem, 1.3435rem + 0.4074vw, 1.5625rem);--fs-3:clamp(1.71rem, 1.5659rem + 0.7204vw, 1.9531rem);--fs-4:clamp(2.0519rem, 1.8211rem + 1.1537vw, 2.4413rem);--fs-5:clamp(2.4625rem, 2.1132rem + 1.7463vw, 3.0519rem);--med-comp-linha:65ch;--med-borda:6px;--med-salto-pequeno:1.35rem;--med-salto-medio:4rem;--med-salto-grande:8rem}*,::after,::before{box-sizing:border-box}*{margin:0;word-wrap:break-word;overflow-wrap:break-word}body{background:var(--cor-pagina);color:var(--cor-fonte);font-family:var(--ff-serif);font-size:var(--fs-1);line-height:1.7;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;scroll-behavior:smooth}blockquote,figure,form,h1,h2,h3,h4,p,picture{margin-bottom:var(--med-salto-pequeno);font-weight:400}li,p{max-width:var(--med-comp-linha);overflow-wrap:break-word}ol,ul{margin:0 0 var(--med-salto-pequeno) 0;padding:0}li{margin:0 0 .5rem var(--med-salto-pequeno)}canvas,figure,img,picture,svg,video{max-width:100%;height:auto;vertical-align:middle}blockquote{margin:0 0 var(--med-salto-pequeno) 0;border-left:var(--med-borda) solid var(--cor-bordas);padding:0 var(--med-salto-pequeno);max-width:var(--med-comp-linha)}hr{margin:var(--med-salto-pequeno);height:1px;border:none;background-color:var(--cor-bordas)}embed,iframe,object{max-width:100%}table{margin:0 0 var(--med-salto-pequeno);width:100%}code,kbd{padding:2px 4px;margin:0;font-size:var(--fs-0);font-family:var(--ff-monospace);background:var(--cor-destaques);border-radius:var(--med-borda)}kbd{border:1px solid var(--cor-bordas);border-bottom:3px solid var(--cor-bordas)}pre{background-color:var(--cor-destaques);font-family:var(--ff-monospace);border-radius:var(--med-borda);font-size:var(--fs-0);padding:1rem;overflow:auto;margin-bottom:var(--med-salto-pequeno)}input:not([type=checkbox]),select,textarea{font:inherit;display:inline-block;padding:.25rem .5rem;height:40px}textarea{height:auto;resize:vertical;width:100%}input:not([type=submit]):not([type=file]),textarea{border:1px solid var(--cor-bordas);border-radius:var(--med-borda);background-color:var(--cor-chapada)}[type=checkbox],[type=radio]{transform:scale(1.5);position:relative;top:-.2rem}button,input[type=reset],input[type=submit],select{cursor:pointer}a{color:var(--cor-link-ori)}a:visited{color:var(--cor-link-vis)}a:active,a:focus,a:hover{color:var(--cor-link-est)}.comment-metadata a,.link-alt a,a.comment-reply-link{color:var(--cor-link-meta)}.comment-metadata a:hover,.link-alt a:hover,a:hover.comment-reply-link{color:var(--cor-link-meta-est)}.comment-metadata a,.link-alt,a.comment-reply-link,a.more-link{font-family:var(--ff-monospace);font-size:var(--fs-0);line-height:1.4}a.comment-metadata{text-transform:initial}.alignleft{float:left;margin-right:var(--med-salto-pequeno)}.alignright{float:right;margin-left:var(--med-salto-pequeno)}.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto}.aligncenter,.alignleft,.alignright{margin-bottom:var(--med-salto-pequeno)}.site{max-width:900px;margin-inline:auto;padding:0 1rem}.site-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin:1rem 0 var(--med-salto-grande)}h1.site-title,p.site-title{margin:0;height:74px;align-content:center;font-size:var(--fs-3)}.main-navigation{font-size:var(--fs-0);display:flex;line-height:1.3em;gap:1.25rem}#dark-mode-toggle,#secondary-menu,.main-navigation ul{display:flex;list-style:none;margin:0;padding:0;gap:1.25rem;align-items:center}.main-navigation li{font-family:var(--ff-serif);position:relative;margin:0}ul.nav-menu{padding:.5rem 1.25rem;background-color:var(--cor-destaques);border-radius:var(--med-borda)}li.menu-rss{margin-left:-.75rem}#dark-mode-toggle li:first-child{padding:0;margin:0}#dark-mode-toggle li a{background-image:url('/wp-content/themes/dez/img/icone-dark-mode-lua.svg');background-size:cover;display:block;height:24px;width:24px;overflow:hidden;text-indent:-9999px;white-space:nowrap}[data-theme=dark] #dark-mode-toggle li a{background-image:url('/wp-content/themes/dez/img/icone-dark-mode-sol.svg');filter:invert()}.hfeed .orbita-manual,.hfeed article.hentry{margin:1rem 0 var(--med-salto-grande)}article.hentry li:last-child,article.hentry ol:last-child,article.hentry p:last-child,article.hentry ul:last-child{margin-bottom:0}.entry-header{margin-bottom:var(--med-salto-pequeno)}.entry-header h1,.entry-header h2{font-size:var(--fs-4);line-height:1.25;margin:1.35rem 0}.post-thumbnail{margin:0 0 var(--med-salto-pequeno)}.lyte-wrapper,.post-thumbnail img{box-shadow:4px 4px 16px #d8d8d8}a.comment-link{background-image:url('/wp-content/themes/dez/img/icone-speech-stroke.svg');background-repeat:no-repeat;background-size:18px;background-position-y:1px;padding-left:24px}.wp-caption img[class*=wp-image-]{display:block;margin-left:auto;margin-right:auto}.wp-caption .wp-caption-text,caption{background-color:var(--cor-destaques);padding:.25rem .5rem;font-size:var(--fs-0);text-align:left}.aviso-pos-post{padding:1rem;background-color:var(--cor-destaques);border-radius:var(--med-borda);text-align:center;margin:var(--med-salto-grande) auto}.ctx-atencao,.ctx-atualizacao,.ctx-dica,.ctx-editor,.ctx-transparencia,.format-link .link,.podcast_player{padding:1rem 1.2rem 1rem 3rem;border-radius:var(--med-borda);max-width:var(--med-comp-linha);margin-bottom:var(--med-salto-pequeno);background:var(--cor-destaques)}.ctx-editor{padding:.75rem 1rem}div.ctx-atencao p:last-child,div.ctx-atualizacao p:last-child,div.ctx-dica p:last-child,div.ctx-editor p:last-child,div.ctx-transparencia p:last-child,div.podcast_player p:last-child{margin-bottom:0}.ctx-atencao:before,.ctx-atualizacao:before,.ctx-dica:before,.ctx-transparencia:before,.format-link .link:before{position:absolute;margin-left:-2.15rem}.ctx-atualizacao:before{content:'🕓'}.ctx-atencao:before{content:'⚠️'}.ctx-transparencia:before{content:'👁️'}.ctx-dica:before{content:'💡'}.format-link .link:before{content:'🔗'}.podcast_player{background:#f6efff;padding:1rem}.single .comment-navigation{margin-bottom:4rem}.comment-respond{margin:var(--med-salto-grande) auto}.comment-form-alert{font-family:var(--ff-monospace);font-size:var(--fs-0)}.comment-form-cookies-consent label{margin-left:1rem}.comment-form-author{max-width:50%;float:left;margin-right:1rem}.comment-form-email{max-width:50%;float:left}.comment-form-cookies-consent{clear:both}.comments-area ol{list-style:none}.comment-list li,ol.comment-list{margin:0;max-width:100%}.comment-content li ol,.comment-content li ul{margin:0 0 var(--med-salto-pequeno) var(--med-salto-pequeno)}.comment-content ol{list-style:decimal}.comment-list .depth-1{margin:0 0 var(--med-salto-medio) 0}.comment-list article{margin:0 0 var(--med-salto-pequeno) 0}ol.children{border-left:1px solid var(--cor-bordas);margin:0;padding:0 0 0 var(--med-salto-pequeno)}.bypostauthor{display:block}#cancel-comment-reply-link{display:block}.comment-meta{background-color:var(--cor-destaques);padding:.6rem 1rem;border-radius:var(--med-borda);margin-bottom:var(--med-salto-pequeno);display:flex;align-items:center;column-gap:1rem}.activitypub-comment .comment-meta{background-color:#eeeaff}.activitypub-comment>.comment-body>footer>.comment-author>.fn:after,.byuser>.comment-body>footer>.comment-author>.fn:after{background-size:26px;display:inline-block;width:26px;height:22px;content:"";background-repeat:no-repeat;background-position:0;position:relative;top:4px;left:6px;z-index:1}.byuser>.comment-body>footer>.comment-author>.fn:after{background-image:url('/wp-content/themes/dez/img/selo-verificado.svg')}.activitypub-comment>.comment-body>footer>.comment-author>.fn:after{background-image:url('/wp-content/themes/dez/img/icone-mastodon.svg');background-size:22px;width:22px;left:8px}.comment-navigation .nav-links,.navigation .nav-links,.post-navigation .nav-links{display:flex;flex-direction:row-reverse}.orbita-navigation .nav-links{flex-direction:row}.comment-navigation .nav-previous,.navigation .nav-previous,.post-navigation .nav-previous{text-align:end;flex:1 0 50%}.comment-navigation .nav-next,.navigation .nav-next,.post-navigation .nav-next{text-align:start;flex:1 0 50%}.orbita-navigation .nav-previous{text-align:start}.orbita-navigation .nav-next{text-align:end}.single .navigation{margin:var(--med-salto-medio) 0 var(--med-salto-grande)}.site-footer{margin:var(--med-salto-grande) auto 0;text-align:center;padding:0}.page-id-20907 .site-footer{display:inline-block}.site-footer p{max-width:100%}.site-footer .search-form{margin:0 auto var(--med-salto-medio)}.top{position:sticky;display:block;float:right;bottom:1rem;margin-right:2rem;width:45px;aspect-ratio:1;background:var(--cor-fonte);border-radius:var(--med-borda);opacity:0;transition:opacity .5s ease}.top:before{content:"";position:absolute;inset:30%;transform:translateY(20%) rotate(-45deg);border-top:5px solid #fff;border-right:5px solid #fff}.top-visivel{opacity:.5}.top-visivel:hover{opacity:1}.search-form{max-width:60%}input[type=search].search-field{width:90%;padding-right:3rem}.search-submit{padding:.25rem;margin-left:-3rem;vertical-align:top;border:none;background-color:transparent}.search-form path{stroke:var(--cor-link-ori);stroke-width:3px}.search-form path:hover{stroke:var(--cor-link-est)}.page-header{border-bottom:1px solid var(--cor-bordas);margin-bottom:var(--med-salto-grande)}.page-id-38122 label{display:block}.search-results .page-header{border-bottom:0}.page-id-19958 .entry-title,.page-id-20602 .entry-title,.page-id-25504 .entry-title,.page-id-33255 .entry-title,.page-id-39568 .entry-title,.page-id-6971 .entry-title{display:none}.page-id-19958 .entry-content p:first-child,.page-id-20602 .entry-content p:first-child,.page-id-25504 .entry-content p:first-child,.page-id-33255 .entry-content p:first-child,.page-id-39568 .entry-content p:first-child,.page-id-6971 .entry-content p:first-child{font-size:var(--fs-3);font-family:var(--ff-serif);line-height:1.4;max-width:100%}.apoie-pix{text-align:center;font-weight:700;max-width:100%!important}div.apoie-blocos{display:flex;list-style:none;flex-wrap:wrap;gap:1rem;justify-content:space-around;align-items:flex-start;align-content:stretch;margin:0 0 1.5rem}div.apoie-blocos div.apoie-blocos-item{background-color:var(--cor-destaques);margin:0;padding:1rem;flex-grow:1;flex-basis:0;font-size:var(--fs-0);border-radius:var(--med-borda)}div.apoie-blocos div.apoie-blocos-item h3{border-bottom:1px solid var(--cor-bordas);margin:0 0 1rem 0;padding-bottom:1rem;text-align:center;font-size:var(--fs-3);line-height:1;min-width:220px}div.apoie-blocos div.apoie-blocos-item h3 small{font-size:var(--fs-0)}div.apoie-blocos div.apoie-blocos-item ul{margin:0}div.apoie-blocos div.apoie-blocos-mensal h3{border:0;padding:0;min-width:150px}.format-quote h1.entry-title,.format-quote h2.entry-title{font-size:var(--fs-3);line-height:1.35}.format-quote .entry-title{background:var(--cor-destaques);padding:.5rem 1rem;position:relative;z-index:0;border-radius:var(--med-borda)}.format-quote .entry-title:after{border:var(--med-salto-pequeno) solid transparent;border-top-color:var(--cor-destaques);content:'';margin-left:-1rem;position:absolute;top:98%;left:10%}.format-quote .entry-content p:first-child{margin-left:var(--med-salto-pequeno)}.format-link p.link span{font-family:var(--ff-monospace);font-size:var(--fs-0)}.hfeed article.type-podcast h2.entry-title{font-size:var(--fs-2)}#menu-toggle,.comment-form-author label,.comment-form-comment label,.comment-form-email label,.entry-meta span.author-1,.says,.screen-reader-text,article.format-aside .entry-title,article.format-image .entry-title,article.format-link .entry-title,span.required-field-message{display:none}.subscribe-formulario label{display:block}.lyte-wrapper{width:100%!important;margin:0!important}.single-orbita_post .entry-content{margin-bottom:4rem}.littlefoot{position:relative}.littlefoot__button{background-color:var(--cor-link-meta-est);border-radius:var(--med-borda);border:0;cursor:pointer;display:inline-block;height:var(--med-salto-pequeno);vertical-align:text-bottom}.littlefoot__button.is-active,.littlefoot__button:active,.littlefoot__button:focus,.littlefoot__button:hover{background-color:var(--cor-link-meta)}.littlefoot__button svg{float:left;height:.35rem}.littlefoot__popover{border:1px solid var(--cor-bordas);border-radius:var(--med-borda);margin:calc(.5rem + 1.25rem) 0;max-width:90%;width:22em;position:absolute;top:0;z-index:1}.littlefoot__popover.is-above{bottom:0;top:auto}.littlefoot__wrapper{position:relative;z-index:1}.littlefoot__content,.littlefoot__wrapper{border-radius:var(--med-borda)}.littlefoot__content{background-color:var(--cor-destaques);max-height:15em;font-size:var(--fs-0);overflow:auto;padding:.5rem .75rem;width:100%}.littlefoot__content p:last-child{margin:0}.is-scrollable .littlefoot__content:after{bottom:0;color:var(--cor-link-meta);content:"\21E3";display:block;left:0;opacity:1;position:sticky;text-align:center;transform:translateX(calc(1.4rem * -1)) translateY(calc(.6rem / 2));width:1.4rem}.is-scrollable.is-fully-scrolled .littlefoot__content:after{opacity:0}.littlefoot__tooltip{background-color:var(--cor-destaques);border:1px solid var(--cor-bordas);height:calc(.5rem * 2);margin-left:calc(.5rem * -1);position:absolute;transform:rotate(45deg);width:calc(.5rem * 2)}.is-below .littlefoot__tooltip{top:calc(.5rem * -1)}.is-above .littlefoot__tooltip{bottom:calc(.5rem * -1)}@media not print{.littlefoot--print{display:none}}@media print{.littlefoot__button,.littlefoot__popover{display:none}}.dataTable-container{overflow-x:auto}.dataTable-wrapper.no-header .dataTable-container{border-top:1px solid #d9d9d9}.dataTable-bottom,.dataTable-table>tbody>tr>td,.dataTable-table>tbody>tr>th,.dataTable-table>tfoot>tr>td,.dataTable-table>tfoot>tr>th,.dataTable-table>thead>tr>td,.dataTable-table>thead>tr>th,.dataTable-top,table.dataTable-table thead{padding:.25rem .5rem}table.dataTable-table thead{background-color:var(--cor-bordas)}.dataTable-bottom,.dataTable-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:var(--med-salto-pequeno) 0}.dataTable-selector{padding:6px}.dataTable-input{padding:6px 12px}.dataTable-pagination-list{display:flex;justify-content:space-between;column-gap:1.5rem;list-style:none}.dataTable-pagination-list li{margin:0}li.active a{text-decoration:none;color:var(--cor-fonte)}.dataTable-table{border-spacing:0;border-collapse:separate;margin-bottom:0}.dataTable-table>thead>tr>th{vertical-align:bottom;text-align:left;border-bottom:1px solid #d9d9d9}.dataTable-table>tfoot>tr>th{vertical-align:bottom;text-align:left;border-top:1px solid #d9d9d9}.dataTable-table th{vertical-align:bottom;text-align:left}.dataTable-table th a{text-decoration:none;color:inherit}.dataTable-sorter{display:inline-block;height:100%;position:relative;width:100%}.dataTable-sorter::after,.dataTable-sorter::before{content:"";height:0;width:0;position:absolute;right:4px;border-left:4px solid transparent;border-right:4px solid transparent;opacity:.2}.dataTable-sorter::before{border-top:4px solid #000;bottom:0}.dataTable-sorter::after{border-bottom:4px solid #000;border-top:4px solid transparent;top:0}.asc .dataTable-sorter::after,.desc .dataTable-sorter::before{opacity:.6}.dataTables-empty{text-align:center}table.dataTable-table:focus tr.dataTable-cursor>td:first-child{border-left:3px #00f solid}table.dataTable-table:focus{outline:solid 1px black;outline-offset:-1px}table.dataTable-table tr:nth-child(2n){background-color:var(--cor-destaques)}@media (max-width:670px){.site-header{row-gap:var(--med-salto-pequeno)}.icons-navigation{order:2;margin-left:1rem}#site-navigation{order:3;margin:auto}ul.nav-menu{padding:.5rem 1rem}.format-quote .entry-title{font-size:var(--fs-2)!important}.format-quote .entry-content p:first-child{margin-left:0}.lyte-wrapper,.post-thumbnail{left:50%;margin:0 -50vw var(--med-salto-pequeno) -50vw!important;max-width:100vw!important;position:relative;right:50%;width:100vw!important;max-width:1200px!important}.category-aplicativos figure:first-child,.category-aplicativos p:first-child{display:inline-block;width:100%;text-align:center}.category-aplicativos .alignright,.category-aplicativos figure:first-child picture,.category-aplicativos p:first-child img{margin:0 auto;float:initial}.comment-form-author,.comment-form-email{float:initial;max-width:100%;margin-right:0}.comment-form-author input,.comment-form-email input{width:100%}.subscribe-formulario select{font-size:var(--fs-0)}ol.children{border-left:1px solid var(--cor-destaques);margin:0 0 0 1rem;padding:0}.comment-meta{flex-direction:column;align-items:start;border-radius:0;padding:.25rem .5rem}.comment-content,.reply{padding:0 .5rem}.search-form{max-width:100%}}[data-theme=dark]:root{--cor-pagina:hsl(0, 0%, 1%);--cor-fonte:hsl(0, 0%, 90%);--cor-link-meta:rgb(194, 210, 255);--cor-link-meta-est:rgb(235, 240, 255);--cor-link-ori:rgb(108, 147, 255);--cor-link-vis:rgb(171, 136, 255);--cor-link-est:rgb(166, 189, 255);--cor-bordas:rgb(68, 68, 68);--cor-destaques:rgb(29, 29, 29)}[data-theme=dark] .gridicon,[data-theme=dark] .menu-toggle-icon,[data-theme=dark] .site-title img,[data-theme=dark] a.comment-link{filter:invert();fill:unset}[data-theme=dark] .activitypub-comment .comment-meta{background-color:#00003d}[data-theme=dark] .activitypub-comment>.comment-body>footer>.comment-author>.fn:after{filter:invert(1)}[data-theme=dark] a.comment-link span{filter:invert()}[data-theme=dark] .lyte-wrapper,[data-theme=dark] .post-thumbnail img{box-shadow:none}[data-theme=dark] input[type=email],[data-theme=dark] input[type=number],[data-theme=dark] input[type=search],[data-theme=dark] input[type=text],[data-theme=dark] input[type=url],[data-theme=dark] textarea{background-color:var(--cor-destaques);color:var(--cor-fonte)}[data-theme=dark] .ctx-atencao{background-color:#1f1c00}[data-theme=dark] .ctx-transparencia{background-color:#001425}[data-theme=dark] .ctx-dica{background-color:#2e0f00}[data-theme=dark] .podcast_player{background-color:#100024}[data-theme=dark] .top:before{border-top:5px solid var(--cor-destaques);border-right:5px solid var(--cor-destaques)}#primary-menu.menu.nav-menu ul{flex:none}#secondary-menu>ul>li:first-child{padding:0;border-radius:var(--med-borda)}.menu-toggle-icon{cursor:pointer;display:block}.menu-toggle-icon img{max-width:none}#menu-toggle-list{overflow:hidden;display:block;position:absolute;left:auto;right:-100%;width:max-content;max-height:0;margin-top:1.5rem;user-select:none;-webkit-user-select:none;-ms-user-select:none;border-radius:var(--med-borda);z-index:999}#menu-toggle:checked~#menu-toggle-list{max-height:max-content}#menu-toggle:checked+label>img{opacity:.3}.menu-item .children li{padding:0 1rem 1rem 1rem;text-align:end;background-color:var(--cor-destaques)}.menu-item .children li:first-child{padding-top:.8em;border-radius:var(--med-borda) var(--med-borda) 0 0}.menu-item .children li:last-child{padding-bottom:1em;border-radius:0 0 var(--med-borda) var(--med-borda)}.divider{border-top:1px var(--cor-bordas) solid}
\ No newline at end of file