User:ButteBag/common.css

From Wikivoyage
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Move TOC off pagebanner image */
@media screen and (min-width: 768px) {
    .wpb-topbanner-toc {
        position: relative;
        background: #171717;
        font-size: inherit;
    }
}

/* Replace transparent box behind TOC title text with a dropshadow */
.ext-wpb-pagebanner .wpb-topbanner .wpb-name {
    background: none;
    text-shadow: 0 0 10px black;
}

/* Text in TOC should align with other template text */
@media screen and (min-width: 768px) {
    .wpb-banner-toc {
        padding: 0.3em 1.25em;
    }
}

/* Dots in TOC shouldn't highlight onhover */
.ext-wpb-pagebanner li.toclevel-1 > a:after {
    content: none;
}
.wpb-banner-toc li.toclevel-1:after {
    content: " ·";
    font-weight: bold;
    padding: 0 0 0 0.1em;
}
.wpb-banner-toc li.toclevel-1:last-child:after {
    content: none;
}
@media screen and (min-width: 768px) {
    .wpb-banner-toc a, .wpb-banner-toc a:visited, .wpb-banner-toc a:active {
        display: inline;
    }
}

/* Quote formatting */
.cquote {
  max-width: 640px;
}
.cquote tr:first-child {
  font-size: 1.5rem;
  font-family: serif;
  line-height: 1.45;
  color: #292929;
}