MediaWiki:Vector.css: Difference between revisions
Content added Content deleted
(fix black text on header) |
(new top nav implementation, uses JS to create the nav instead of hacky CSS) |
||
Line 47: | Line 47: | ||
#footer a:hover { |
#footer a:hover { |
||
color: #fff; |
color: #fff; |
||
⚫ | |||
/* header */ |
|||
#mw-page-base { |
|||
⚫ | |||
} |
} |
||
Line 62: | Line 57: | ||
/* new Vector */ |
/* new Vector */ |
||
⚫ | |||
⚫ | |||
background: none; |
|||
⚫ | |||
} |
} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
/* |
/* top nav */ |
||
#mw- |
.client-js #mw-page-base { |
||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
⚫ | |||
#p-Ricochet#p-Ricochet { |
|||
padding-top: 56px; |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
.client-js #mw-head, |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
background: #343a40; |
|||
} |
|||
⚫ | |||
⚫ | |||
#ricochet-top-nav { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
font-weight: 400; |
font-weight: 400; |
||
line-height: 1.5; |
line-height: 1.5; |
||
text-align: left; |
|||
z-index: 101; |
z-index: 101; |
||
} |
} |
||
#ricochet-top-nav-list { |
|||
/*.mw-cookiewarning-container ~ #mw-navigation #p-Ricochet { |
|||
list-style: none; |
|||
top: 35px; |
|||
⚫ | |||
}*/ |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
#ricochet-top-nav-list a { |
|||
#mw-panel #p-Ricochet .vector-menu-content { |
|||
⚫ | |||
margin: 0; |
|||
⚫ | |||
background: none; |
|||
color: rgba(255, 255, 255, 0.5); |
|||
⚫ | |||
} |
} |
||
#ricochet-top-nav-list a:hover, |
|||
#mw-panel #p-Ricochet .vector-menu-content-list { |
|||
#ricochet-top-nav-list a:focus { |
|||
⚫ | |||
color: rgba(255, 255, 255, 0.75); |
|||
⚫ | |||
text-decoration: none; |
|||
⚫ | |||
} |
} |
||
#ricochet-top-nav-list svg { |
|||
#mw-panel #p-Ricochet .vector-menu-content li { |
|||
width: 20px; |
|||
⚫ | |||
⚫ | |||
font-size: 1rem; |
|||
fill: hsla(0, 0%, 100%, 0.5); |
|||
⚫ | |||
vertical-align: middle; |
|||
} |
} |
||
#ricochet-top-nav-list a[href="https://wiki.ricochetuniverse.com"] |
|||
⚫ | |||
{ |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
opacity: .5; |
|||
} |
} |
||
#ricochet-top-nav-list a[href$='/discord']:hover > svg, |
|||
#mw-panel #p-Ricochet a:hover, |
|||
# |
#ricochet-top-nav-list a[href$='/discord']:focus > svg { |
||
fill: #5865f2; |
|||
opacity: .75; |
|||
⚫ | |||
} |
} |