diff --git a/README.md b/README.md new file mode 100644 index 0000000..0dbf671 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# manuel.cillero.es + +Código específico, hojas de estilo, recursos y *snippets* del **tema hijo** +basado en Enfold Theme (https://kriesi.at/themes/enfold-overview) desarrollado +para mi sitio personal (https://manuel.cillero.es) creado con WordPress +(https://es.wordpress.org). + +Versión 1.1.1 diff --git a/www/wp-content/themes/enfold-cille/flexible-posts-widget/list-archive-notes.php b/www/wp-content/themes/enfold-cille/flexible-posts-widget/list-archive-notes.php new file mode 100644 index 0000000..6874da0 --- /dev/null +++ b/www/wp-content/themes/enfold-cille/flexible-posts-widget/list-archive-notes.php @@ -0,0 +1,51 @@ +have_posts() ): +?> + + +
+

+
+have_posts() ): have_posts() ) : $flexible_posts->the_post(); global $post; ?>
  • > - post_mime_type, 0, 6 ) ) { - echo wp_get_attachment_image( $post->ID, $thumbsize ); - } + post_mime_type, 0, 6 ) ) { + echo wp_get_attachment_image( $post->ID, $thumbsize ); } - ?> -

    -

    + } + ?> +

    +

  • @@ -45,7 +45,7 @@ if( $flexible_posts->have_posts() ):

    -have_posts() ): have_posts() ) : $flexible_posts->the_post(); global $post; ?>
  • > request ) ); - echo '' : '">' ); + global $wp; + $permalink = get_permalink(); + $current_url = home_url( add_query_arg( array(), $wp->request ) ); + echo '' : '">' ); if( $thumbnail == true ) { // If the post has a feature image, show it if( has_post_thumbnail() ) { @@ -38,8 +38,8 @@ if( $flexible_posts->have_posts() ): } } ?> -

    -

    +

    +

  • @@ -48,7 +48,7 @@ if( $flexible_posts->have_posts() ):

    -have_posts() ): have_posts() ) : $flexible_posts->the_post(); global $post; ?>
  • > request ) ); - echo '' : '">' ); + global $wp; + $permalink = get_permalink(); + $current_url = home_url( add_query_arg( array(), $wp->request ) ); + echo '' : '">' ); if( $thumbnail == true ) { // If the post has a feature image, show it if( has_post_thumbnail() ) { @@ -38,8 +38,8 @@ if( $flexible_posts->have_posts() ): } } ?> -

    -

    +

    +

  • @@ -48,7 +48,7 @@ if( $flexible_posts->have_posts() ):

    -have_posts() ): +?> + + +
    +

    +
    +have_posts() ): -1200x470.

    "); } /* @@ -28,23 +27,11 @@ add_filter( 'body_class', 'add_category_name' ); function add_category_name( $classes = '' ) { if ( is_single() ) { $category = get_the_category(); - $classes[] = 'category-' . $category[0]->slug; + $classes[] = 'category-' . $category[0]->slug; } return $classes; } -/* - * Add EXIF data only in photoblog posts using a filter. - * See https://ithemes.com/2011/03/20/automatically-add-content-to-your-wordpress-posts-and-pages#Using_Filters - */ -add_filter( 'the_content', 'add_exif_data' ); -function add_exif_data( $content ) { - if ( function_exists('exifography_display_exif') && is_single() && has_category( 976 ) ) { - $content .= exifography_display_exif(); - } - return $content; -} - /* * Visual consolidation of tag clouds. * See https://codex.wordpress.org/Function_Reference/wp_tag_cloud @@ -82,9 +69,20 @@ function fix_single_post_title( $args, $id ) { else { // Post categories by name: $categories = array_values( array_column( get_the_category(), 'name' ) ); - if ( in_array( $categories[0], array( 'Blog', 'Archivo de notas', 'Apuntes', 'Álbum de fotos' ) ) ) { - $args['title'] = $categories[0]; - } + switch ($categories[0]) { + case 'Blog': + $args['title'] = 'En el blog'; + break; + case 'Notas rápidas': + $args['title'] = 'En mis notas'; + break; + case 'Snippets': + $args['title'] = 'Picando código'; + break; + case 'Álbum de fotos': + $args['title'] = 'Foto del álbum'; + break; + } } } elseif ( is_category() || is_tag() ) { @@ -113,19 +111,25 @@ function avia_change_tag_page_layout( $layout, $context ) { } /* - * Register new icons as a theme icons fot GitHub and GitLab. + * Register new icons as a theme icons. * See https://kriesi.at/documentation/enfold/custom-social-icons/ */ add_filter( 'avf_default_icons', 'avia_add_custom_icon', 10, 1 ); function avia_add_custom_icon( $icons ) { - $icons['github'] = array( 'font' =>'fontello', 'icon' => 'uf09b' ); - $icons['gitlab'] = array( 'font' =>'fontello', 'icon' => 'uf296' ); + $icons['GitHub'] = array( 'font' =>'fontello', 'icon' => 'uf09b' ); + $icons['GitLab'] = array( 'font' =>'fontello', 'icon' => 'uf296' ); + $icons['SoloGit'] = array( 'font' =>'fontello', 'icon' => 'ue806' ); + $icons['Mastodon'] = array( 'font' =>'fontello', 'icon' => 'ue804' ); + $icons['Bluesky'] = array( 'font' =>'fontello', 'icon' => 'ue805' ); return $icons; } add_filter( 'avf_social_icons_options', 'avia_add_custom_social_icon', 10, 1 ); function avia_add_custom_social_icon( $icons ) { - $icons['GitHub'] = 'github'; - $icons['GitLab'] = 'gitlab'; + $icons['GitHub'] = 'GitHub'; + $icons['GitLab'] = 'GitLab'; + $icons['SoloGit'] = 'SoloGit'; + $icons['Mastodon'] = 'Mastodon'; + $icons['Bluesky'] = 'Bluesky'; return $icons; } @@ -146,7 +150,7 @@ function avia_same_category_filter( $settings ) { add_filter( 'get_the_terms', 'exclude_taxonomy_terms', 10, 3 ); function exclude_taxonomy_terms( $terms, $post, $taxonomy ) { // List of taxonomy terms (slugs) to exclude: - $exclude_slugs = array( 'portada', 'pelis-y-series', 'lecturas', 'twitter', 'linkedin', 'facebook' ); + $exclude_slugs = array( 'portada', 'pelis-y-series', 'lecturas' ); if ( !is_admin() ) { foreach( $terms as $key => $term ) { @@ -171,6 +175,9 @@ function avia_change_breadcrumb( $trail, $args ) { elseif ( is_category() ) { $trail = array(); } + elseif ( is_tax( 'quote_author_tag' ) ) { + array_splice( $trail, 1, 0, array( 'Libro de citas' ) ); + } return $trail; } @@ -202,7 +209,7 @@ function before_save_post( $data, $postarr ) { } else { $data['post_content'] = substr( $data['post_content'], $dotpos + 2 ); - } + } } } else { @@ -282,6 +289,14 @@ function social_post_defautl_thumbnail( $html, $post_id, $post_thumbnail_id, $si return $html; } */ +/* + * Remove provider previews. + * +add_filter( 'embed_oembed_html', 'wp_remove_oembed_providers', 10, 2 ); +function wp_remove_oembed_providers( $html, $url ) { + return '' . esc_html( $url ) . ''; +} */ + /* * Add a button to display the number of characters in Title and Content editor; * and also add a character counter to the Excerpt box (with no limit). @@ -538,7 +553,7 @@ class enfold_post_footer_widget extends WP_Widget { * See https://wordpress.stackexchange.com/questions/107113/output-before-and-after-the-loop */ register_sidebar( array( - 'name' => 'Displayed After Loop', + 'name' => 'Displayed After Quote', 'id' => 'after-loop', 'description' => '', 'before_widget' => '
    ', @@ -546,13 +561,32 @@ register_sidebar( array( 'before_title' => '
    ', 'after_title' => '
    ', ) ); -add_action( 'loop_end', 'wp_content_after_loop' ); -function wp_content_after_loop( $query ) { - if ( $query->is_main_query() && is_active_sidebar( 'after-loop' ) ) { +add_action( 'loop_end', 'wp_content_after_quote' ); +function wp_content_after_quote( $query ) { + if ( ! $query->is_main_query() ) { + return; + } + if ( ! ( is_post_type_archive( 'quote' ) || is_singular( 'quote' ) ) ) { + return; + } + if ( is_active_sidebar( 'after-loop' ) ) { dynamic_sidebar( 'after-loop' ); } } +/** + * Show all quotes by author with no pagination. + */ +add_action( 'pre_get_posts', 'wp_all_quotes_by_author' ); +function wp_all_quotes_by_author( $query ) { + if ( ! $query->is_main_query() ) { + return; + } + if ( $query->is_tax( 'quote_author_tag' ) ) { + $query->set( 'posts_per_page', -1 ); + } +} + /* * Restore the font size in the tag cloud widget using a copy of the entire Avia * stylesheet "enfold/css/avia-snippet-widget.css" from Enfold 4.5, and removing @@ -608,3 +642,17 @@ function hide_content_antibots_shortcode( $atts, $content = null ) { } return antispambot( $content ); } + +/* + * Ensure HTML code using Highlighting Code Block plugin with Enfold Theme. + * Use: [hcb_html]text or email[/hcb_html]. + * See https://kriesi.at/support/topic/codeblock-within-editor-not-working-enfold-4-7-3/#post-1206456 + */ +add_shortcode( 'html_tag', 'hcb_html_shortcode' ); +add_shortcode( 'html_code', 'hcb_html_shortcode' ); +add_shortcode( 'html_block', 'hcb_html_shortcode' ); +function hcb_html_shortcode( $atts, $content = null ) { + $content = str_replace( '‹', '<', $content ); + $content = str_replace( '›', '>', $content ); + return $content; +} diff --git a/www/wp-content/themes/enfold-cille/images/clip.png b/www/wp-content/themes/enfold-cille/images/clip.png new file mode 100644 index 0000000..be766ed Binary files /dev/null and b/www/wp-content/themes/enfold-cille/images/clip.png differ diff --git a/www/wp-content/themes/enfold-cille/images/logo.png b/www/wp-content/themes/enfold-cille/images/logo.png new file mode 100644 index 0000000..37bae9a Binary files /dev/null and b/www/wp-content/themes/enfold-cille/images/logo.png differ diff --git a/www/wp-content/themes/enfold-cille/prism.css b/www/wp-content/themes/enfold-cille/prism.css new file mode 100644 index 0000000..019d0bf --- /dev/null +++ b/www/wp-content/themes/enfold-cille/prism.css @@ -0,0 +1,5 @@ +/* PrismJS 1.26.0 +https://prismjs.com/download.html#themes=prism-coy&languages=markup+css+clike+javascript+bash+batch+dart+diff+docker+git+json+markdown+markup-templating+perl+php+rust+sql+toml+typescript&plugins=line-highlight+line-numbers */ +code[class*=language-],pre[class*=language-]{color:#000;background:0 0;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{position:relative;margin:.5em 0;overflow:visible;padding:1px}pre[class*=language-]>code{position:relative;z-index:1;border-left:10px solid #358ccb;box-shadow:-1px 0 0 0 #358ccb,0 0 0 1px #dfdfdf;background-color:#fdfdfd;background-image:linear-gradient(transparent 50%,rgba(69,142,209,.04) 50%);background-size:3em 3em;background-origin:content-box;background-attachment:local}code[class*=language-]{max-height:inherit;height:inherit;padding:0 1em;display:block;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background-color:#fdfdfd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:1em}:not(pre)>code[class*=language-]{position:relative;padding:.2em;border-radius:.3em;color:#c92c2c;border:1px solid rgba(0,0,0,.1);display:inline;white-space:normal}pre[class*=language-]:after,pre[class*=language-]:before{content:'';display:block;position:absolute;bottom:.75em;left:.18em;width:40%;height:20%;max-height:13em;box-shadow:0 13px 8px #979797;-webkit-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-ms-transform:rotate(-2deg);-o-transform:rotate(-2deg);transform:rotate(-2deg)}pre[class*=language-]:after{right:.75em;left:auto;-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-ms-transform:rotate(2deg);-o-transform:rotate(2deg);transform:rotate(2deg)}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#7d8b99}.token.punctuation{color:#5f6364}.token.boolean,.token.constant,.token.deleted,.token.function-name,.token.number,.token.property,.token.symbol,.token.tag{color:#c92c2c}.token.attr-name,.token.builtin,.token.char,.token.function,.token.inserted,.token.selector,.token.string{color:#2f9c0a}.token.entity,.token.operator,.token.url,.token.variable{color:#a67f59;background:rgba(255,255,255,.5)}.token.atrule,.token.attr-value,.token.class-name,.token.keyword{color:#1990b8}.token.important,.token.regex{color:#e90}.language-css .token.string,.style .token.string{color:#a67f59;background:rgba(255,255,255,.5)}.token.important{font-weight:400}.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.7}@media screen and (max-width:767px){pre[class*=language-]:after,pre[class*=language-]:before{bottom:14px;box-shadow:none}}pre[class*=language-].line-numbers.line-numbers{padding-left:0}pre[class*=language-].line-numbers.line-numbers code{padding-left:3.8em}pre[class*=language-].line-numbers.line-numbers .line-numbers-rows{left:0}pre[class*=language-][data-line]{padding-top:0;padding-bottom:0;padding-left:0}pre[data-line] code{position:relative;padding-left:4em}pre .line-highlight{margin-top:0} +pre[data-line]{position:relative;padding:1em 0 1em 3em}.line-highlight{position:absolute;left:0;right:0;padding:inherit 0;margin-top:1em;background:hsla(24,20%,50%,.08);background:linear-gradient(to right,hsla(24,20%,50%,.1) 70%,hsla(24,20%,50%,0));pointer-events:none;line-height:inherit;white-space:pre}@media print{.line-highlight{-webkit-print-color-adjust:exact;color-adjust:exact}}.line-highlight:before,.line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:0 .5em;background-color:hsla(24,20%,50%,.4);color:#f4f1ef;font:bold 65%/1.5 sans-serif;text-align:center;vertical-align:.3em;border-radius:999px;text-shadow:none;box-shadow:0 1px #fff}.line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}.line-numbers .line-highlight:after,.line-numbers .line-highlight:before{content:none}pre[id].linkable-line-numbers span.line-numbers-rows{pointer-events:all}pre[id].linkable-line-numbers span.line-numbers-rows>span:before{cursor:pointer}pre[id].linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:rgba(128,128,128,.2)} +pre[class*=language-].line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.line-numbers-rows>span{display:block;counter-increment:linenumber}.line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right} diff --git a/www/wp-content/themes/enfold-cille/prism.js b/www/wp-content/themes/enfold-cille/prism.js new file mode 100644 index 0000000..bc796e5 --- /dev/null +++ b/www/wp-content/themes/enfold-cille/prism.js @@ -0,0 +1,24 @@ +/* PrismJS 1.26.0 +https://prismjs.com/download.html#themes=prism-coy&languages=markup+css+clike+javascript+bash+batch+dart+diff+docker+git+json+markdown+markup-templating+perl+php+rust+sql+toml+typescript&plugins=line-highlight+line-numbers */ +var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(u){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,e={},M={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function e(n){return n instanceof W?new W(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/=l.reach);y+=m.value.length,m=m.next){var k=m.value;if(t.length>n.length)return;if(!(k instanceof W)){var x,b=1;if(h){if(!(x=z(p,y,n,f))||x.index>=n.length)break;var w=x.index,A=x.index+x[0].length,E=y;for(E+=m.value.length;E<=w;)m=m.next,E+=m.value.length;if(E-=m.value.length,y=E,m.value instanceof W)continue;for(var P=m;P!==t.tail&&(El.reach&&(l.reach=j);var C=m.prev;S&&(C=I(t,C,S),y+=S.length),T(t,C,b);var N=new W(o,g?M.tokenize(L,g):L,d,L);if(m=I(t,C,N),O&&I(t,m,O),1l.reach&&(l.reach=_.reach)}}}}}}(e,a,n,a.head,0),function(e){var n=[],t=e.head.next;for(;t!==e.tail;)n.push(t.value),t=t.next;return n}(a)},hooks:{all:{},add:function(e,n){var t=M.hooks.all;t[e]=t[e]||[],t[e].push(n)},run:function(e,n){var t=M.hooks.all[e];if(t&&t.length)for(var r,a=0;r=t[a++];)r(n)}},Token:W};function W(e,n,t,r){this.type=e,this.content=n,this.alias=t,this.length=0|(r||"").length}function z(e,n,t,r){e.lastIndex=n;var a=e.exec(t);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function i(){var e={value:null,prev:null,next:null},n={value:null,prev:e,next:null};e.next=n,this.head=e,this.tail=n,this.length=0}function I(e,n,t){var r=n.next,a={value:t,prev:n,next:r};return n.next=a,r.prev=a,e.length++,a}function T(e,n,t){for(var r=n.next,a=0;a"+a.content+""},!u.document)return u.addEventListener&&(M.disableWorkerMessageHandler||u.addEventListener("message",function(e){var n=JSON.parse(e.data),t=n.language,r=n.code,a=n.immediateClose;u.postMessage(M.highlight(r,M.languages[t],t)),a&&u.close()},!1)),M;var r=M.util.currentScript();function a(){M.manual||M.highlightAll()}if(r&&(M.filename=r.src,r.hasAttribute("data-manual")&&(M.manual=!0)),!M.manual){var l=document.readyState;"loading"===l||"interactive"===l&&r&&r.defer?document.addEventListener("DOMContentLoaded",a):window.requestAnimationFrame?window.requestAnimationFrame(a):window.setTimeout(a,16)}return M}(_self);"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism); +Prism.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(a,e){var s={};s["language-"+e]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[e]},s.cdata=/^$/i;var t={"included-cdata":{pattern://i,inside:s}};t["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var n={};n[a]={pattern:RegExp("(<__[^>]*>)(?:))*\\]\\]>|(?!)".replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:t},Prism.languages.insertBefore("markup","cdata",n)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(a,e){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp("(^|[\"'\\s])(?:"+a+")\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))","i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[e,"language-"+e],inside:Prism.languages[e]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml; +!function(s){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;s.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+e.source+"|(?:[^\\\\\r\n()\"']|\\\\[^])*)\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},s.languages.css.atrule.inside.rest=s.languages.css;var t=s.languages.markup;t&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(Prism); +Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}; +Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp("(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])"),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute("on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)","javascript")),Prism.languages.js=Prism.languages.javascript; +!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:a.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=a.variable[1].inside,i=0;i>)?=)/],number:i,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:n,parameter:t,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:i,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(); +!function(e){var a=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n="(^|[^\\w.])(?:[a-z]\\w*\\s*\\.\\s*)*(?:[A-Z]\\w*\\s*\\.\\s*)*",s={pattern:RegExp(n+"[A-Z](?:[\\d_A-Z]*[a-z]\\w*)?\\b"),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[s,{pattern:RegExp(n+"[A-Z]\\w*(?=\\s+\\w+\\s*[;,=()])"),lookbehind:!0,inside:s.inside}],keyword:a,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":s,keyword:a,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(Prism); +!function(i){i.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(e){var n=r[e],a=[];/^\w+$/.test(e)||a.push(/\w+/.exec(e)[0]),"diff"===e&&a.push("bold"),i.languages.diff[e]={pattern:RegExp("^(?:["+n+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(e)[0]}}}}),Object.defineProperty(i.languages.diff,"PREFIXES",{value:r})}(Prism); +!function(e){var r="(?:[ \t]+(?![ \t])(?:)?|)".replace(//g,function(){return"\\\\[\r\n](?:\\s|\\\\[\r\n]|#.*(?!.))*(?![\\s#]|\\\\[\r\n])"}),n="\"(?:[^\"\\\\\r\n]|\\\\(?:\r\n|[^]))*\"|'(?:[^'\\\\\r\n]|\\\\(?:\r\n|[^]))*'",t="--[\\w-]+=(?:|(?![\"'])(?:[^\\s\\\\]|\\\\.)+)".replace(//g,function(){return n}),o={pattern:RegExp(n),greedy:!0},i={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function a(e,n){return e=e.replace(//g,function(){return t}).replace(//g,function(){return r}),RegExp(e,n)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:a("(^(?:ONBUILD)?\\w+)(?:)*","i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[o,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:a("(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\\b","i"),lookbehind:!0,greedy:!0},{pattern:a("(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\\\]+)AS","i"),lookbehind:!0,greedy:!0},{pattern:a("(^ONBUILD)\\w+","i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:i,string:o,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:i},e.languages.dockerfile=e.languages.docker}(Prism); +Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}; +Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json; +!function(s){function n(n){return n=n.replace(//g,function(){return"(?:\\\\.|[^\\\\\n\r]|(?:\n|\r\n?)(?![\r\n]))"}),RegExp("((?:^|[^\\\\])(?:\\\\{2})*)(?:"+n+")")}var e="(?:\\\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\\\|\r\n`])+",t="\\|?__(?:\\|__)+\\|?(?:(?:\n|\r\n?)|(?![^]))".replace(/__/g,function(){return e}),a="\\|?[ \t]*:?-{3,}:?[ \t]*(?:\\|[ \t]*:?-{3,}:?[ \t]*)+\\|?(?:\n|\r\n?)";s.languages.markdown=s.languages.extend("markup",{}),s.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:s.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+t+a+"(?:"+t+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+t+a+")(?:"+t+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(e),inside:s.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+t+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+t+"$"),inside:{"table-header":{pattern:RegExp(e),alias:"important",inside:s.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n("\\b__(?:(?!_)|_(?:(?!_))+_)+__\\b|\\*\\*(?:(?!\\*)|\\*(?:(?!\\*))+\\*)+\\*\\*"),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n("\\b_(?:(?!_)|__(?:(?!_))+__)+_\\b|\\*(?:(?!\\*)|\\*\\*(?:(?!\\*))+\\*\\*)+\\*"),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n("(~~?)(?:(?!~))+\\2"),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n('!?\\[(?:(?!\\]))+\\](?:\\([^\\s)]+(?:[\t ]+"(?:\\\\.|[^"\\\\])*")?\\)|[ \t]?\\[(?:(?!\\]))+\\])'),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(e){["url","bold","italic","strike","code-snippet"].forEach(function(n){e!==n&&(s.languages.markdown[e].inside.content.inside[n]=s.languages.markdown[n])})}),s.hooks.add("after-tokenize",function(n){"markdown"!==n.language&&"md"!==n.language||!function n(e){if(e&&"string"!=typeof e)for(var t=0,a=e.length;t",quot:'"'},u=String.fromCodePoint||String.fromCharCode;s.languages.md=s.languages.markdown}(Prism); +!function(h){function v(e,n){return"___"+e.toUpperCase()+n+"___"}Object.defineProperties(h.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,r,e,o){if(a.language===r){var c=a.tokenStack=[];a.code=a.code.replace(e,function(e){if("function"==typeof o&&!o(e))return e;for(var n,t=c.length;-1!==a.code.indexOf(n=v(r,t));)++t;return c[t]=e,n}),a.grammar=h.languages.markup}}},tokenizePlaceholders:{value:function(p,k){if(p.language===k&&p.tokenStack){p.grammar=h.languages[k];var m=0,d=Object.keys(p.tokenStack);!function e(n){for(var t=0;t=d.length);t++){var a=n[t];if("string"==typeof a||a.content&&"string"==typeof a.content){var r=d[m],o=p.tokenStack[r],c="string"==typeof a?a:a.content,i=v(k,r),u=c.indexOf(i);if(-1!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}(); +!function(a){var e=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,t=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,n=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,s=/[{}\[\](),:;]/;a.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:e,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:t,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:n,punctuation:s};var l={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:a.languages.php},r=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:l}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:l}}];a.languages.insertBefore("php","variable",{string:r,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:r,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:t,number:i,operator:n,punctuation:s}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),a.hooks.add("before-tokenize",function(e){if(/<\?/.test(e.code)){a.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}}),a.hooks.add("after-tokenize",function(e){a.languages["markup-templating"].tokenizePlaceholders(e,"php")})}(Prism); +!function(e){for(var a="/\\*(?:[^*/]|\\*(?!/)|/(?!\\*)|)*\\*/",t=0;t<2;t++)a=a.replace(//g,function(){return a});a=a.replace(//g,function(){return"[^\\s\\S]"}),e.languages.rust={comment:[{pattern:RegExp("(^|[^\\\\])"+a),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(Prism); +Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}; +!function(e){function n(e){return e.replace(/__/g,function(){return"(?:[\\w-]+|'[^'\n\r]*'|\"(?:\\\\.|[^\\\\\"\r\n])*\")"})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n("(^[\t ]*\\[\\s*(?:\\[\\s*)?)__(?:\\s*\\.\\s*__)*(?=\\s*\\])"),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n("(^[\t ]*|[{,]\\s*)__(?:\\s*\\.\\s*__)*(?=\\s*=)"),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(Prism); +!function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var s=e.languages.extend("typescript",{});delete s["class-name"],e.languages.typescript["class-name"].inside=s,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:s}}}}),e.languages.ts=e.languages.typescript}(Prism); +!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document&&document.querySelector){var t,o="line-numbers",s="linkable-line-numbers",l=function(){if(void 0===t){var e=document.createElement("div");e.style.fontSize="13px",e.style.lineHeight="1.5",e.style.padding="0",e.style.border="0",e.innerHTML=" 
     ",document.body.appendChild(e),t=38===e.offsetHeight,document.body.removeChild(e)}return t},a=!0;Prism.plugins.lineHighlight={highlightLines:function(u,e,c){var t=(e="string"==typeof e?e:u.getAttribute("data-line")||"").replace(/\s+/g,"").split(",").filter(Boolean),d=+u.getAttribute("data-line-offset")||0,h=(l()?parseInt:parseFloat)(getComputedStyle(u).lineHeight),f=Prism.util.isActive(u,o),i=u.querySelector("code"),p=f?u:i||u,g=[],m=i&&p!=i?function(e,t){var i=getComputedStyle(e),n=getComputedStyle(t);function r(e){return+e.substr(0,e.length-2)}return t.offsetTop+r(n.borderTopWidth)+r(n.paddingTop)-r(i.paddingTop)}(u,i):0;t.forEach(function(e){var t=e.split("-"),i=+t[0],n=+t[1]||i,r=u.querySelector('.line-highlight[data-range="'+e+'"]')||document.createElement("div");if(g.push(function(){r.setAttribute("aria-hidden","true"),r.setAttribute("data-range",e),r.className=(c||"")+" line-highlight"}),f&&Prism.plugins.lineNumbers){var o=Prism.plugins.lineNumbers.getLine(u,i),s=Prism.plugins.lineNumbers.getLine(u,n);if(o){var l=o.offsetTop+m+"px";g.push(function(){r.style.top=l})}if(s){var a=s.offsetTop-o.offsetTop+s.offsetHeight+"px";g.push(function(){r.style.height=a})}}else g.push(function(){r.setAttribute("data-start",String(i)),i span",u).forEach(function(e,t){var i=t+r;e.onclick=function(){var e=n+"."+i;a=!1,location.hash=e,setTimeout(function(){a=!0},1)}})}return function(){g.forEach(b)}}};var u=0;Prism.hooks.add("before-sanity-check",function(e){var t=e.element.parentElement;if(c(t)){var i=0;v(".line-highlight",t).forEach(function(e){i+=e.textContent.length,e.parentNode.removeChild(e)}),i&&/^(?: \n)+$/.test(e.code.slice(-i))&&(e.code=e.code.slice(0,-i))}}),Prism.hooks.add("complete",function e(t){var i=t.element.parentElement;if(c(i)){clearTimeout(u);var n=Prism.plugins.lineNumbers,r=t.plugins&&t.plugins.lineNumbers;if(y(i,o)&&n&&!r)Prism.hooks.add("line-numbers",e);else Prism.plugins.lineHighlight.highlightLines(i)(),u=setTimeout(d,1)}}),window.addEventListener("hashchange",d),window.addEventListener("resize",function(){v("pre").filter(c).map(function(e){return Prism.plugins.lineHighlight.highlightLines(e)}).forEach(b)})}function v(e,t){return Array.prototype.slice.call((t||document).querySelectorAll(e))}function y(e,t){return e.classList.contains(t)}function b(e){e()}function c(e){return!(!e||!/pre/i.test(e.nodeName))&&(!!e.hasAttribute("data-line")||!(!e.id||!Prism.util.isActive(e,s)))}function d(){var e=location.hash.slice(1);v(".temporary.line-highlight").forEach(function(e){e.parentNode.removeChild(e)});var t=(e.match(/\.([\d,-]+)$/)||[,""])[1];if(t&&!document.getElementById(e)){var i=e.slice(0,e.lastIndexOf(".")),n=document.getElementById(i);if(n)n.hasAttribute("data-line")||n.setAttribute("data-line",""),Prism.plugins.lineHighlight.highlightLines(n,t,"temporary ")(),a&&document.querySelector(".temporary.line-highlight").scrollIntoView()}}}(); +!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var o="line-numbers",a=/\n(?!$)/g,e=Prism.plugins.lineNumbers={getLine:function(e,n){if("PRE"===e.tagName&&e.classList.contains(o)){var t=e.querySelector(".line-numbers-rows");if(t){var i=parseInt(e.getAttribute("data-start"),10)||1,r=i+(t.children.length-1);n");(i=document.createElement("span")).setAttribute("aria-hidden","true"),i.className="line-numbers-rows",i.innerHTML=l,t.hasAttribute("data-start")&&(t.style.counterReset="linenumber "+(parseInt(t.getAttribute("data-start"),10)-1)),e.element.appendChild(i),u([t]),Prism.hooks.run("line-numbers",e)}}}),Prism.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0})}function u(e){if(0!=(e=e.filter(function(e){var n=function(e){return e?window.getComputedStyle?getComputedStyle(e):e.currentStyle||null:null}(e)["white-space"];return"pre-wrap"===n||"pre-line"===n})).length){var n=e.map(function(e){var n=e.querySelector("code"),t=e.querySelector(".line-numbers-rows");if(n&&t){var i=e.querySelector(".line-numbers-sizer"),r=n.textContent.split(a);i||((i=document.createElement("span")).className="line-numbers-sizer",n.appendChild(i)),i.innerHTML="0",i.style.display="block";var s=i.getBoundingClientRect().height;return i.innerHTML="",{element:e,lines:r,lineHeights:[],oneLinerHeight:s,sizer:i}}}).filter(Boolean);n.forEach(function(e){var i=e.sizer,n=e.lines,r=e.lineHeights,s=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach(function(e,n){if(e&&1 div.container:first-child { background-color: #fff; } -body.category-archivo div.container_wrap_first > div.container:first-child { +body.category-blog div.container_wrap_first > div.container:first-child { background: #fff url(images/notebook.jpg) repeat-y left top; padding-left: 68px; } @@ -87,9 +90,112 @@ ul > li > br { margin-top: 6px; } +/* + * Buttons. + */ +#top .avia-button .avia_button_background { + bottom: -4px; +} +#top .avia-button.avia-size-large .avia_iconbox_title, +#top .avia-button.avia-size-large .avia_button_icon { + font-size: 120%; +} + /* * Home page. */ +#terminal { + background-color: black; + background-image: radial-gradient(rgba(0, 150, 0, 0.75), black 120%); + color: white; + text-shadow: 0 0 5px #C8C8C8; + border-radius: 32px; + margin: 10px 0; + overflow: hidden; +} +#terminal pre { + background: none; + overflow: hidden; + white-space: pre-wrap; + font: 1rem Inconsolata, monospace; + border: 0; + padding: .8em 4%; + margin-bottom: 0; +} +#terminal pre::after { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px); + pointer-events: none; +} +#terminal pre a { + color: #33ff00; +} +#terminal pre a:hover { + color: #ffb000; +} +#terminal pre span { + box-shadow: .6em 0 0 #33ff00; + animation: caret .5s step-end infinite alternate; +} +@keyframes caret { + 50% { box-shadow: .6em 0 0 transparent; } +} + +#featured-links .av_iconlist_title a { + font-size: 125%; + font-weight: bold; +} +#featured-links .iconlist_content p { + font-size: 90%; + line-height: 1.2em; +} +#featured-links .iconlist_icon { + margin-left: 8px !important; +} +#featured-links footer.entry-footer { + padding-top: 1em; +} + +.blocks-title { + margin-bottom: 14px; +} +.blocks-title a.avia-button { + border-radius: 0; + padding: 0 5px !important; + text-align: left; +} +.blocks-title a span.avia_iconbox_title { + display: block; + padding: 0 !important; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + font-size: 18px; + letter-spacing: 1px; + line-height: 33px; +} +.blocks-title a span.avia_iconbox_title:after { + content: "\2197"; + font-size: 1em; + line-height: 0; + position: relative; + vertical-align: super; +} +.blocks-title a span.avia_button_background { + height: 33px; + padding: 0 !important; +} + +#keep-calm h2 { + font-weight: 500 !important; + line-height: 1.3em !important; +} + .av-masonry-entry .av-masonry-entry-title { font-size: 18px; color: inherit; @@ -100,9 +206,6 @@ ul > li > br { .av-masonry-entry.category-blog.av-masonry-item-no-image .av-inner-masonry-content { background: url(images/av-masonry-item-no-image.jpg) no-repeat center center; } -#dpe_fp_widget-9 { - padding-bottom: 0; -} /* * Cookies advice. @@ -134,7 +237,7 @@ a.avia-cookie-consent-button:hover { .avia-cookie-consent p { max-width: 100%; text-align: justify; - } + } } /* @@ -201,9 +304,9 @@ a.avia-cookie-consent-button:hover { background-color: #e9146c; height: 4px; } -#menu-item-5777 { +#menu-item-5777, +#menu-item-5544 { border-top: 1px solid #556372; - border-bottom: 1px solid #556372; } /* @@ -310,6 +413,15 @@ a.avia-cookie-consent-button:hover { .entry-content-wrapper .text-underline { border-bottom: 1px solid currentcolor; } +.entry-content-wrapper code { + border: 1px dotted #e2e2e8; + border-radius: 3px; + background-color: rgba(245, 245, 250, 0.75); + padding: 1px 5px; + margin: 0 3px; + font-size: smaller; + vertical-align: middle; +} /* Text styles */ span[data-avia-tooltip] { padding-left: 2px; @@ -352,34 +464,71 @@ span[data-avia-tooltip] { max-height: 900px; width: auto; } -/* Apuntes posts */ -article.category-apuntes .entry-content-wrapper div.entry-content { - border-left: 7px solid #3c8dbc; +/* Embedded content */ +.js_active .avia-iframe-wrap { + height: auto; + padding-bottom: 7.25%; +} +.js_active .avia-iframe-wrap iframe { + clip: auto !important; + + padding: 4%; + background-color: black; +} +/* Notas rápidas posts */ +article.category-notes .entry-content-wrapper div.entry-content { + border-left: 7px solid #ccc; padding-left: 20px; } -article.category-apuntes .entry-content-wrapper p { - font-size: 1.235em; +article.category-notes > .entry-content-wrapper > div.entry-content::before { + display: block; + content: ""; + width: 56px; + height: 56px; + position: absolute; + margin-top: -4px; + margin-left: -56px; + background: transparent url(images/clip.png) no-repeat 0 0; +} +article.category-notes .entry-content-wrapper p { + font-size: 1.1em; line-height: 1.5em; text-align: left; color: #999999 !important; } /* Quotes posts */ +article.type-quote .post-meta-infos { + position: absolute; + height: 100%; +} article.type-quote .post-meta-infos > time, article.type-quote .post-meta-infos > span { display: none; } article.type-quote .post-meta-infos > span.blog-categories { display: block; - text-indent: -1.325em; - margin-top: 1.4em; + position: absolute; + bottom: 5em; + white-space: nowrap; + text-indent: -9999px; } + + + +body.single article.type-quote .post-meta-infos > span.blog-categories { + bottom: 15em; +} + + + + article.type-quote .post-meta-infos span.blog-categories a:before { content: "— "; } article.type-quote .post-meta-infos span.blog-categories a { font-size: 1.4em; color: #797979; - padding-left: 4px; + padding-left: 9999px; } article.type-quote .entry-content-wrapper div.entry-content { padding-left: 60px; @@ -393,7 +542,8 @@ article.type-quote .entry-content-wrapper p { color: #999999 !important; } .quotes-after-loop h5 { - margin-bottom: 1em; + font-size: 19px; + color: #6a6e71; } .quotes-after-loop ul { margin: 0 0 1em; @@ -475,16 +625,21 @@ li.comment { } #commentform p > input[type="text"] { margin-bottom: 5px; + width: 220px !important; } #commentform label { + position: absolute !important; left: 230px; font-size: 14px; - margin-top: .2em; +/* margin-top: .2em;*/ line-height: 1.4em; color: #777; } +#commentform label .required { + display: inline; +} #commentform input[type='checkbox'] { - margin-top: 1em; + margin-top: .8em; } #commentform p.comment-form-av-privatepolicy { margin: 0 !important; @@ -494,6 +649,9 @@ li.comment { margin-top: 0; font-weight: normal; } +#commentform p.comment-form-av-privatepolicy label { + display: inline; +} #commentform p.comment-form-av-privatepolicy label a { font-weight: bold; } @@ -521,28 +679,166 @@ li.comment { } /* - * EnlighterJS PLUGIN. + * Content Cards PLUGIN. */ -div.EnlighterJSWrapper { - overflow-x: scroll; +a.content_cards_image_link > br, +a.content_cards_title_link > br { + display: none; } -ul.EnlighterJS { - padding: 12px 0 !important; - background-color: #fff !important; + +/* + * LuckyWP Table of Contents PLUGIN. + */ +div.lwptoc.lwptoc-right { + margin-top: 0; + margin-bottom: 8px; } -ul.EnlighterJS li, -div.EnlighterJSWrapper pre { - white-space: pre; +div.lwptoc_i { + max-width: 320px; } -span.EnlighterJS { - border: 0 !important; - background-color: #fffcd3 !important; +div.lwptoc_item > div.lwptoc_itemWrap span.lwptoc_item_label { + font-size: 88%; } -.EnlighterJS span { - font-size: 18px !important; +div.lwptoc_item > div.lwptoc_itemWrap span.lwptoc_item_label:before { + content: "·"; + position: absolute; + margin-left: -6px; } -.wpcustomEnlighterJS span { - font-size: 24px !important; +@media (max-width: 929px) { + div.lwptoc_i { + max-width: 260px; + } +} +@media (max-width: 767px) { + div.lwptoc.lwptoc-right { + margin-left: 16px; + } + div.lwptoc_i { + max-width: 210px; + } +} +@media (max-width: 567px) { + div.lwptoc.lwptoc-right { + margin-left: 0; + float: none; + } + div.lwptoc_i { + width: 100%; + max-width: 100%; + } +} + +/* + * Highlighting Code Block PLUGIN. + */ +.hcb_wrap { + display: flex !important; + margin: 0 !important; +} +.hcb_wrap.hcb_wrap pre { + padding: 0 !important; +} +.hcb_wrap.hcb_wrap code { + border-radius: 0; + border: 1px solid #e1e1e1 !important; + border-left: 10px solid #358ccb !important; + background-color: rgb(252, 252, 252) !important; + padding: .5em 1.5em !important; +} +.hcb_wrap .line-numbers .line-numbers-rows { + padding: .5em 0 !important; + top: 0 !important; +} +.hcb_wrap .line-numbers code { + padding-left: 3.8em !important; +} +.hcb_wrap .line-highlight { + margin-top: .5em !important; + width: 100% !important; + background: linear-gradient(to right, hsla(24, 20%, 49%, .2), #fcfcfc00) !important; + z-index: 10; +} +.hcb_wrap .line-numbers .line-highlight { + margin-top: -0.5em !important; +} + +/* + * Tooltips PLUGIN. + */ +div.qtip { + background-color: black; +} +div.qtip-content { + line-height: 14px; +} +div.qtip-content a { + color: #a8d1ff; + font-weight: bold; +} +div.tooltips_directory { + text-align: center; +} +div.tooltips_table_title { + width: 18%; + padding-right: 12px; + text-align: right; + background-color: #f9f9f9; +} +div.tooltips_table_content { + width: 82%; + text-align: left; +} +a.navitem { + font-size: 16px !important; +} +a.navitem.allDirectory { + visibility: hidden; + text-indent: -9999px; +} +a.navitem.allDirectory:after { + content: "TODOS"; + text-indent: 0; + display: block; + visibility: visible; +} +@media (max-width: 767px) { + div.tooltips_table_title { + width: 100%; + text-align: center; + } + div.tooltips_table_content { + width: 100%; + padding: 8px 0 16px; + } +} + +/* + * Indicate External Links PLUGIN. + */ +.extlink sup { + line-height: .8em; +} +.av-icon-char.extlink sup, +.quote-author .extlink sup, +.social_bookmarks .extlink sup { + display: none; +} + +/* + * TABLEON PLUGIN. + */ +.tableon-data-table input[type="search"] { + margin-bottom: 7px !important; +} +.tableon-data-table input[data-key="post_title"] { + margin-bottom: 14px !important; +} +.tableon-data-table select { + padding: 0 6px !important; + margin-bottom: 7px !important; +} +select.table23-per-page-selector { + width: 80px !important; } /* @@ -556,14 +852,70 @@ span.EnlighterJS { padding: 2px 3px; white-space: nowrap; } -/* Archive */ -.page-id-5502 .avia-content-slider.avia-builder-el-2 .fake-thumbnail .slide-image { - display: none; +/* Entradas del blog */ +.page-id-5502 .last-entries { + overflow: hidden; } -.page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-meta, -.page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-entry-excerpt { +.page-id-5502 .last-entries h3 { + position: absolute; + top: -15px; + font-size: 2.92rem; + white-space: nowrap; +} +.page-id-5502 .avia-builder-el-4 .fake-thumbnail .slide-image, +.page-id-5502 .avia-builder-el-4 .fake-thumbnail .fallback-post-type-icon { + background-color: #f0f0f0; +} +.page-id-5502 .avia-builder-el-4 .slide-meta, +.page-id-5502 .avia-builder-el-4 .slide-entry-excerpt { font-size: 75%; } +/* HTML > Etiquetas HTML */ +.toggle_doctag { + margin: 0 0 90px; +} +/* HTML > Soporte por navegador */ +.html-browser-support { + border-bottom: 1px solid #e1e1e1; +} +.html-browser-support td { + padding: 3px 2px; + text-align: center; +} +.html-browser-support thead td { + padding: 5px 2px; +} +.html-browser-support thead td.letter { + vertical-align: middle; + font-size: 120%; + font-weight: bold; + width: 8em; +} +.html-browser-support tbody tr > td:first-child { + text-align: left; + white-space: nowrap; +} +.html-browser-support tr.html-tag > td + td { + background-color: #ecffdd; +} +.html-browser-support tr.html-tag td { + border-top: 1px solid #e1e1e1; +} +.html-browser-support tr.html-attr td { + border-bottom-width: 0; +} +.html-browser-support tr.html-attr > td:first-child { + padding-left: 1.5em; +} +.html-browser-support tr.html-attr > td > code { + border: 0; + background-color: transparent; + padding: 0; +} +.html-browser-support tr.html-attr > td + td { + color: #999; + font-size: 94%; +} /* * WIDGETS. @@ -608,6 +960,7 @@ ul.dpe-flexible-posts li { list-style-image: none; margin-left: 0 !important; margin-bottom: 8px; + padding: 3px 0; text-align: left; } ul.dpe-flexible-posts li img { @@ -644,8 +997,7 @@ ul.dpe-flexible-posts li p.meta { text-align: left; margin-top: 6px; } -ul.dpe-flexible-posts li img + h4, -ul.dpe-flexible-posts li img + h4 + p.meta { +ul.dpe-flexible-posts .with_thumbnail { margin-left: 60px; } ul.dpe-flexible-posts a { @@ -671,18 +1023,18 @@ ul.dpe-flexible-posts.list-notes li img { height: 70px; border-radius: 5px; } -ul.dpe-flexible-posts.list-notes li img + h4, -ul.dpe-flexible-posts.list-notes li img + h4 + p.meta { +ul.dpe-flexible-posts.list-notes .with_thumbnail { margin-left: 80px; } -/* Blogroll widget */ -ul.dpe-flexible-posts.list-blogroll li img { +/* Blogroll and Archive Notes widgets */ +ul.dpe-flexible-posts.list-blogroll li img, +ul.dpe-flexible-posts.list-archive-notes li img { width: 60px; height: 60px; border-radius: 30px; } -ul.dpe-flexible-posts.list-blogroll li img + h4, -ul.dpe-flexible-posts.list-blogroll li img + h4 + p.meta { +ul.dpe-flexible-posts.list-blogroll .with_thumbnail, +ul.dpe-flexible-posts.list-archive-notes .with_thumbnail { margin-left: 70px; } @@ -756,6 +1108,7 @@ a.dpe-flexible-photos-link:hover { */ .widget_recent_comments li.recentcomments { margin-left: 0; + padding: 6px 0; } /* @@ -777,15 +1130,19 @@ a.dpe-flexible-photos-link:hover { } .quote-text, .quote-text p { - color: #ccc; + color: #919191 !important; text-align: left; margin: .1em 0 .4em; } +body.home .quote-text, +body.home .quote-text p { + color: #ccc !important; +} .quote-text p { margin: 0 !important; } .quote-author p { - color: #999; + color: #999 !important; text-align: left; font-size: .88em; font-weight: 300; @@ -799,23 +1156,6 @@ a.dpe-flexible-photos-link:hover { color: #f70a0a; } -body.tax-quote_author_tag .quote-text, -body.tax-quote_author_tag .quote-text p { - color: #999; - margin-top: 1.4em; - margin-left: 1.2em; -} -body.tax-quote_author_tag .quote-author p { - margin-left: 2.8em; -} -body.tax-quote_author_tag .quote-author a { - color: #ccc; - font-weight: 400; -} -body.tax-quote_author_tag .quote-author a:hover { - color: #f70a0a; -} - /* * Métrica 3 widget. */ @@ -836,8 +1176,7 @@ body.tax-quote_author_tag .quote-author a:hover { * FOOTER. */ #quotes > .container { - padding-bottom: 50px; - background: transparent url(images/bg-footer.png) no-repeat 100% bottom; + padding-bottom: 10px; } #socket .container { padding-top: 8px; @@ -869,9 +1208,24 @@ body.tax-quote_author_tag .quote-author a:hover { transition-delay: 0s; opacity: 1 !important; } +#scroll-top-link.avia-svg-icon svg:first-child { + height: 35px; + margin-top: 6px; +} #scroll-top-link:hover { background-color: #000; } +@media only screen and (max-width: 767px) { + .responsive #scroll-top-link { + display: block; + } +} + +#top .av_inherit_color a { + text-decoration: none; + border-bottom: 1px solid white; + border-bottom-color: inherit; +} #top .pagination { padding: 10px 0; @@ -913,15 +1267,26 @@ body.tax-quote_author_tag .quote-author a:hover { .av-share-box ul li a { font-size: 18px; } -#top #wrap_all .av-social-link-github:hover a, -#top #wrap_all .av-social-link-gitlab:hover a { +#top #wrap_all .av-social-link-Mastodon:hover a, +#top #wrap_all .av-social-link-Mastodon:hover a { + color: #fff; + background-color: #563acc; +} +#top #wrap_all .av-social-link-Bluesky:hover a, +#top #wrap_all .av-social-link-Bluesky:hover a { + color: #fff; + background-color: #1185fe; +} +#top #wrap_all .av-social-link-GitHub:hover a, +#top #wrap_all .av-social-link-GitLab:hover a, +#top #wrap_all .av-social-link-SoloGit:hover a { color: #fff; background-color: #bd2c00; } /* Search box adjustment */ #top #s, #top #searchsubmit { - height: 44px; + height: 44px !important; line-height: 44px; } #top #searchsubmit { @@ -935,30 +1300,38 @@ body.tax-quote_author_tag .quote-author a:hover { /* * RESPONSIVE MEDIA QUERIES. */ -@media (min-width: 768px) and (max-width: 1399px) { - /* Home page list notes */ - #dpe_fp_widget-9 ul.list-notes > li:last-child { +@media (min-width: 930px) { + #terminal pre { + padding-left: 30px; + padding-right: 30px; + font-size: 1.3rem; + } + /* Photos widgets */ + ul.dpe-flexible-photos-footer li { + margin-right: 1.5%; + } +} +@media (min-width: 930px) and (max-width: 1399px) { + #featured-links .iconlist_content p { + font-size: 80%; + } +} +@media (min-width: 989px) and (max-width: 1139px) { + #featured-links ul.avia-icon-list li + li + li + li { display: none; } } -@media (min-width: 768px) and (max-width: 1299px) { - /* Home page list notes */ - #dpe_fp_widget-9 ul.list-notes > li + li + li + li { - display: none; +@media (max-width: 989px) { + #featured-links { + margin-bottom: 0 !important; + padding: 5px 4%; } - /* Quotes widgets */ - #quotes > .container { - background-position: 92% bottom; + #featured-search { + margin-top: -24px !important; + padding: 5px 4%; } -} -@media (min-width: 768px) and (max-width: 1099px) { - /* Home page list notes */ - #dpe_fp_widget-9 ul.list-notes > li img { - display: none; - } - #dpe_fp_widget-9 ul.list-notes > li img + h4, - #dpe_fp_widget-9 ul.list-notes > li img + h4 + p.meta { - margin-left: 0 !important; + #top .container .av-masonry.av-large-gap { + padding: 10px 0 0; } } @media (min-width: 768px) and (max-width: 929px) { @@ -975,14 +1348,9 @@ body.tax-quote_author_tag .quote-author a:hover { ul.dpe-flexible-posts li img { display: none; } - ul.dpe-flexible-posts li img + h4, - ul.dpe-flexible-posts li img + h4 + p.meta { + ul.dpe-flexible-posts li .with_thumbnail { margin-left: 0 !important; } - /* Home page list notes */ - #dpe_fp_widget-9 ul.list-notes > li + li + li { - display: none; - } /* Métrica 3 widget */ #text-2 { text-align: left; @@ -1000,18 +1368,23 @@ body.tax-quote_author_tag .quote-author a:hover { div.container_wrap_first { background: #fff; } - body.category-archivo div.container_wrap_first > div.container:first-child, + body.category-blog div.container_wrap_first > div.container:first-child, body.archive.tag div.container_wrap_first > div.container:first-child, body.page-id-121962 div.container_wrap_first > div.container:first-child { background: #fff; padding-left: 30px; - } + } #avia2-menu { display: none; } .av_icon_active_right .social_bookmarks { padding-left: 0; } + /* Home page */ + #keep-calm, + #keep-calm .av-rotator-text { + text-align: left !important; + } /* Breadcrumb */ .title_container .breadcrumb { margin-top: .7em !important; @@ -1023,6 +1396,16 @@ body.tax-quote_author_tag .quote-author a:hover { div .avia-table td { white-space: normal !important; } + @media only screen and (max-width: 767px) { + .avia_scrollable_table .avia-table { + width: auto; + } + .responsive .avia_scrollable_table { + width: 100%; + overflow-x: scroll; + overflow-y: hidden; + } + } /* Photos widget */ ul.dpe-flexible-photos li { width: 31.3%; @@ -1037,6 +1420,10 @@ body.tax-quote_author_tag .quote-author a:hover { .page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-entry-excerpt { font-size: 100%; } + /* Notas rápidas posts */ + article.category-notes > .entry-content-wrapper > div.entry-content::before { + display: none; + } } @media (max-width: 567px) { /* LAYOUT */ @@ -1065,3 +1452,246 @@ body.tax-quote_author_tag .quote-author a:hover { display: none; } } + +/* + * PRINT STYLES. + */ +#header_main .logo a { + background: transparent url(images/logo.png) no-repeat 0 -100px; +} +@media print { + .no-print { + display: none; + } + + /* LAYOUT */ + @page { + size: A4; + margin: 1.6cm 1cm; + } + * { + print-color-adjust: exact; + -webkit-print-color-adjust: exact; + } + html, body { + background: #fff; + } + body { + font-size: 15px; + } + .responsive #top #wrap_all .container { + width: 100%; + max-width: 100%; + } + .container { + padding-right: 10px; + padding-left: 10px; + } + .container .av-content-small.units { + width: 100%; + } + + /* Hide sections */ + .social_bookmarks, + #header_meta, + .av-share-box, + .hr-invisible, + #legal, + .avia-cookie-consent-wrap, + .related_posts, + .tooltips_directory .navitems, + /* Comments */ + .comment_meta_container, + .comment_container, + .av-buildercomment, + span.comment-container, + span.text-sep-comment, + .slide-meta-comments, + .slide-meta-del, + /* Widgets */ + div.lwptoc, + .widget_search, + .widget-simpletags, + .widget_instagram-feed-widget, + .sidebar #dpe_fp_widget-15, + .sidebar #dpe_fp_widget-19, + .sidebar #dpe_fp_widget-20, + .sidebar #dpe_fp_widget-21, + .sidebar #dpe_fp_widget-24, + .sidebar #dpe_fp_widget-25 { + display: none !important; + } + + /* White background */ + #wrap_all, #wrapper-all, #header_main, #main, div.container_wrap_first, #socket { + background: #fff; + border-top: 0; + } + + /* Header */ + #header_main { + padding-bottom: 12px; + } + #header_main .logo a { + width: 300px; + height: 100px; + background-color: #fff; + background-position-y: 10px; + } + #header_main .logo a img { + display: none; + } + + /* Main content */ + #top .alternate_color.title_container .main-title, + #top .alternate_color.title_container .main-title a { + color: #ff3300 !important; + } + body.category-blog div.container_wrap_first > div.container:first-child, + body.archive.tag div.container_wrap_first > div.container:first-child, + body.page-id-121962 div.container_wrap_first > div.container:first-child { + background: #fff; + padding-left: 10px; + } + .title_container { + background-color: #fff; + } + .entry-content a:after { + word-break: break-all; + color: #00e; + } + .entry-content-wrapper p { + text-align: justify; + } + .blog-tags a { + color: #999 !important; + } + .more-link { + width: auto; + } + .tooltipsincontent { + border-bottom: 0 !important; + } + + /* Sidebar */ + #top #main .sidebar { + width: 100%; + padding: 0; + } + .inner_sidebar{ + margin-left: 0; + } + + /* Footer */ + #socket .container { + border-top: 1px solid #e1e1e1; + } + #socket .copyright { + color: black; + } + + /* Links */ + .entry-content-wrapper a, + .entry-content-wrapper a.visited { + color: #ff3300 !important; + } + .entry-content-wrapper a[href]:after { + content: " <" attr(href) ">"; + color: #3c8dbc; + font-weight: 300; + font-size: 90%; + text-transform: initial; + word-break: break-all; + } + .quote-author a, + .post-title a, .post-meta-infos a, + .entry-footer a, + .widget_enfold_post_header_widget a, + .widget_enfold_post_footer_widget a, + .entry-content-wrapper a.iconlist_icon { + text-decoration: inherit; + color: inherit !important; + } + a.no-print-link:after, + .av-masonry a:after, + .avia-image-container a:after, + .big-preview a:after, + .quote-author a:after, + a.slide-image:after, + a.lightbox-added:after, + .avia-gallery-thumb a:after, + .avia-button-wrap a:after, + .post-title a:after, .post-meta-infos a:after, + .entry-footer a:after, + .widget_enfold_post_header_widget a:after, + .widget_enfold_post_footer_widget a:after, + .entry-content-wrapper a.iconbox_icon:after, + .entry-content-wrapper a.iconlist_icon:after { + content: "" !important; + } + + /* Tables */ + .avia-data-table-wrap table { + width: 100%; + } + + /* Page breaks */ + .break-avoid, + .av-special-heading { + page-break-inside: avoid; + } + .entry-content-wrapper h1, + .entry-content-wrapper h2, + .entry-content-wrapper h3 { + page-break-after: avoid; + } + + /* Disable animations */ + .entry-content-wrapper * { + opacity: 100 !important; + /* CSS transitions */ + -o-transition-property: none !important; + -moz-transition-property: none !important; + -ms-transition-property: none !important; + -webkit-transition-property: none !important; + transition-property: none !important; + /* CSS transforms */ + -o-transform: none !important; + -moz-transform: none !important; + -ms-transform: none !important; + -webkit-transform: none !important; + transform: none !important; + /* CSS animations */ + -webkit-animation: none !important; + -moz-animation: none !important; + -o-animation: none !important; + -ms-animation: none !important; + animation: none !important; + } + .av-caption-image-overlay-bg { + opacity: 0 !important; + } + .image-overlay, + .av-image-caption-overlay { + display: none !important; + } + + /* "Sobre mí" */ + .personal-card .av_font_icon { + display: block; + width: 100%; + text-align: left; + } + .personal-card a:after { font-size: 24pt; } +} +@media print and (max-width: 767px) { + body.home main .flex_column_table { + display: none !important; + } +} +@media print and (max-width: 567px) { + .personal-card a:after { font-size: 12pt; } /* "Sobre mí" */ +} +@media (max-width: 399px) { + .personal-card a:after { font-size: 9pt; } /* "Sobre mí" */ +} diff --git a/www/wp-content/themes/enfold-cille/taxonomy-quote_author_tag.php b/www/wp-content/themes/enfold-cille/taxonomy-quote_author_tag.php new file mode 100644 index 0000000..b486b99 --- /dev/null +++ b/www/wp-content/themes/enfold-cille/taxonomy-quote_author_tag.php @@ -0,0 +1,90 @@ + avia_which_archive() ) ); + + do_action( 'ava_after_main_title' ); + + /** + * @since 5.6.7 + * @param string $main_class + * @param string $context file name + * @return string + */ + $main_class = apply_filters( 'avf_custom_main_classes', 'av-main-' . basename( __FILE__, '.php' ), basename( __FILE__ ) ); +?> + +
    '> + +
    + +
    units ' 'content' ) );?>> + +
    + +
    + + array() ); + $post_type_obj = array(); + + foreach( $posts as $post ) + { + $sorted[ $post->post_type ][] = $post; + if( empty( $post_type_obj[ $post->post_type] ) ) + { + $post_type_obj[ $post->post_type ] = get_post_type_object( $post->post_type ); + } + } + + $avia_config['blog_style'] = apply_filters( 'avf_blog_style', avia_get_option( 'blog_style', 'multi-big' ), 'tag' ); + + foreach( $sorted as $key => $post_type ) + { + if( empty( $post_type ) ) + { + continue; + } + + $args = array_merge( $wp_query->query_vars, array( 'post_type' => $key ) ); + query_posts( $args ); + + $more = 0; + get_template_part( 'includes/loop', 'index' ); + + $wp_query = $backup_query; + } + + if ( is_active_sidebar( 'after-loop' ) ) : + echo '
    '; + dynamic_sidebar( 'after-loop' ); + echo '
    '; + endif; + ?> + + +
    + + + +
    + +
    + +