Actualiza listas y resaltado de sintaxis código

Detalle:
  - Se revisan las listas y se crea una nueva plantilla sólo para
    páginas recientes.
  - Se sustituye el plugin de resaltado de sintaxis por otro que usa
    Prism.js y se integra bien con Enfold. Se ajustan estilos.
  - Se actualizan algunos estilos básicos.
This commit is contained in:
Manuel Cillero 2020-07-20 21:01:47 +02:00
parent 29d3a19129
commit 516b5f4413
7 changed files with 504 additions and 18 deletions

View file

@ -204,9 +204,9 @@ a.avia-cookie-consent-button:hover {
background-color: #e9146c;
height: 4px;
}
#menu-item-5777 {
#menu-item-5777,
#menu-item-13589 {
border-top: 1px solid #556372;
border-bottom: 1px solid #556372;
}
/*
@ -313,6 +313,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;
@ -355,13 +364,13 @@ span[data-avia-tooltip] {
max-height: 900px;
width: auto;
}
/* Notas breves posts */
article.category-breves .entry-content-wrapper div.entry-content {
/* Marcadores posts */
article.category-marcadores .entry-content-wrapper div.entry-content {
border-left: 7px solid #3c8dbc;
padding-left: 20px;
}
article.category-breves .entry-content-wrapper p {
font-size: 1.235em;
article.category-marcadores .entry-content-wrapper p {
font-size: 1.1em;
line-height: 1.5em;
text-align: left;
color: #999999 !important;
@ -523,6 +532,14 @@ li.comment {
border-right-width: 3px;
}
/*
* Content Cards PLUGIN.
*/
a.content_cards_image_link > br,
a.content_cards_title_link > br {
display: none;
}
/*
* LuckyWP Table of Contents PLUGIN.
*/
@ -561,7 +578,75 @@ div.lwptoc_item > div.lwptoc_itemWrap span.lwptoc_item_label:before {
}
div.lwptoc_i {
width: 100%;
max-width: 100%;;
max-width: 100%;
}
}
/*
* Highlighting Code Block PLUGIN.
*/
.hcb_wrap {
display: flex !important;
margin: 0 !important;
}
.hcb_wrap .line-highlight {
margin-top: 0 !important;
}
.hcb_wrap .undefined-numbers .line-highlight {
margin-top: 9px !important;
}
.hcb_wrap .undefined-numbers code {
padding-top: 9px !important;
padding-bottom: 9px !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;
}
}
@ -628,6 +713,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 {