diff --git a/enfold-cille/style.css b/enfold-cille/style.css index 1b9e3fe..18d9dd4 100644 --- a/enfold-cille/style.css +++ b/enfold-cille/style.css @@ -55,12 +55,32 @@ div.container_wrap_first > div.container:first-child { 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. - */ /* -body.home .content { - padding-bottom: 0; -} */ + */ .av-masonry-entry .av-masonry-entry-title { font-size: 18px; color: inherit; @@ -75,6 +95,33 @@ body.home .content { 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. */ @@ -206,9 +253,6 @@ body.home .content { list-style-type: none; } .entry-content-wrapper li li { -/* - list-style-type: circle; -*/ margin-bottom: 0; } .entry-content-wrapper li > h4 { @@ -392,11 +436,20 @@ footer.entry-footer { /* * EnlighterJS PLUGIN. */ - span.classicEnlighterJS { - padding: 7px 3px 3px !important; - background-color: #fafafa !important; - border: 1px solid #e0e0e0 !important; - border-radius: 3px; +div.EnlighterJSWrapper { + overflow-x: scroll; +} +ul.EnlighterJS { + 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; }