Vista del salto de línea en las listas, ajustes para el mensaje de las cookies y para la presentación de código con EnlighterJS

This commit is contained in:
Manuel Cillero 2018-12-30 22:46:59 +01:00
parent 1a3f8ecf83
commit ebc7e88b8e

View file

@ -55,12 +55,32 @@ div.container_wrap_first > div.container:first-child {
filter: alpha(opacity=82); /* For IE8 and earlier */ filter: alpha(opacity=82); /* For IE8 and earlier */
} }
/*
* Lists.
*/
.custom-list > li {
list-style: none;
position: relative;
}
.custom-list > li > span.num {
display: block;
position: absolute;
text-align: right;
width: 3em;
left: -3.225em;
cursor: default;
}
ol > li > br,
ul > li > br {
display: block; /* https://stackoverflow.com/a/31633969 */
content: "";
margin-top: 6px;
}
/* /*
* Home page. * Home page.
*/ /* */
body.home .content {
padding-bottom: 0;
} */
.av-masonry-entry .av-masonry-entry-title { .av-masonry-entry .av-masonry-entry-title {
font-size: 18px; font-size: 18px;
color: inherit; color: inherit;
@ -75,6 +95,33 @@ body.home .content {
padding-bottom: 0; padding-bottom: 0;
} }
/*
* Cookies advice.
*/
.avia-cookie-consent p {
color: #fff;
font-size: .85em;
font-weight: lighter;
line-height: 1.55em;
margin-bottom: 1em;
max-width: 800px;
text-align: left;
letter-spacing: 0.015em;
}
.avia-cookie-consent a {
color: #aaa;
text-decoration: underline;
}
.avia-cookie-consent a:hover {
color: #fff;
}
@media (max-width: 989px) {
.avia-cookie-consent p {
max-width: 100%;
text-align: justify;
}
}
/* /*
* Main title & breadcrumb. * Main title & breadcrumb.
*/ */
@ -206,9 +253,6 @@ body.home .content {
list-style-type: none; list-style-type: none;
} }
.entry-content-wrapper li li { .entry-content-wrapper li li {
/*
list-style-type: circle;
*/
margin-bottom: 0; margin-bottom: 0;
} }
.entry-content-wrapper li > h4 { .entry-content-wrapper li > h4 {
@ -392,11 +436,20 @@ footer.entry-footer {
/* /*
* EnlighterJS PLUGIN. * EnlighterJS PLUGIN.
*/ */
span.classicEnlighterJS { div.EnlighterJSWrapper {
padding: 7px 3px 3px !important; overflow-x: scroll;
background-color: #fafafa !important; }
border: 1px solid #e0e0e0 !important; ul.EnlighterJS {
border-radius: 3px; padding: 12px 0 !important;
background-color: #fff !important;
}
ul.EnlighterJS li,
div.EnlighterJSWrapper pre {
white-space: pre;
}
span.EnlighterJS {
border: 0 !important;
background-color: #fffcd3 !important;
} }