MediaWiki:Theme-blurryface.css

From TwentyOneWiki
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.
.sidebar-nav {
    margin: 0 0 12px 0;
    padding: 0;
    list-style: none;
    background: linear-gradient(98deg, #7a0018 0%, #d90429 100%);
    border-radius: 14px;
    box-shadow: 0 1px 14px #a70021b0;
    padding: 10px 8px 10px 8px;
}

.sidebar-nav .mw-list-item {
    padding: 7px 0 7px 15px;
    margin-bottom: 5px;
    font-size: 1.07em;
    color: #fff !important;
    border-left: 4px solid transparent;
    border-radius: 7px;
    transition: background 0.14s, border-color 0.14s, color 0.13s;
}

.sidebar-nav .mw-list-item:last-child {
    margin-bottom: 0;
}

.sidebar-nav .mw-list-item > a {
    color: #fff !important;
    text-decoration: none;
    display: block;
    width: 100%;
    transition: color 0.13s, padding-left 0.14s;
    border-radius: 7px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.sidebar-nav .mw-list-item:hover,
.sidebar-nav .mw-list-item:focus-within {
    background: rgba(250,30,68,0.19);
    border-left: 4px solid #f6d311;
}

.sidebar-nav .mw-list-item:hover > a,
.sidebar-nav .mw-list-item:focus-within > a {
    color: #f6d311 !important;
    padding-left: 13px;
}