MediaWiki:Common.css
From The Taylor Archive
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 1. Kill any pseudo-element boxes generated at the bottom of the navigation sidebar */
#mw-site-navigation::before,
#mw-site-navigation::after,
#mw-site-navigation .sidebar-chunk::before,
#mw-site-navigation .sidebar-chunk::after,
.sidebar-chunk:last-child::before,
.sidebar-chunk:last-child::after {
display: none !important;
content: none !important;
background: none !important;
height: 0 !important;
}
/* 2. Target any leftover un-clickable wrapper containers and strip their white card styling */
#mw-site-navigation > div:last-child,
#mw-site-navigation .sidebar-chunk:last-child,
#mw-related-navigation > div:last-child {
background: transparent !important;
border: none !important;
box-shadow: none !important;
min-height: 0 !important;
}
/* 3. Re-apply the crisp white background only to populated chunks */
#mw-site-navigation .sidebar-chunk {
background: #ffffff;
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
/* Hide the Discussion / Talk tab in Timeless */
#ca-talk,
#ca-talk-sticky,
.mw-portlet-namespaces #ca-talk {
display: none !important;
}
/* --- Vertical Timeline Container --- */
.wiki-timeline {
position: relative;
max-width: 800px;
margin: 20px auto;
padding-left: 30px;
border-left: 4px solid #2a4b8d; /* Vertical spine color */
}
/* --- Timeline Event Box --- */
.timeline-event {
position: relative;
margin-bottom: 25px;
padding: 12px 18px;
background: #ffffff;
border: 1px solid #e1e8ed;
border-radius: 6px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
/* --- Timeline Bullet Node --- */
.timeline-event::before {
content: '';
position: absolute;
left: -39px; /* Align bullet over the vertical line */
top: 15px;
width: 14px;
height: 14px;
border-radius: 50%;
background: #2a4b8d;
border: 3px solid #ffffff;
box-shadow: 0 0 0 2px #2a4b8d;
}
/* --- Date Header --- */
.timeline-date {
font-weight: bold;
color: #2a4b8d;
font-size: 0.9em;
text-transform: uppercase;
margin-bottom: 4px;
}
/* --- Event Title & Body --- */
.timeline-title {
font-weight: bold;
font-size: 1.1em;
margin-bottom: 6px;
}