User:Krishj4/common.css: Difference between revisions
No edit summary Tag: Reverted |
Experiment: slightly rounded infobox corners (border-radius 6px) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 45: | Line 45: | ||
.skin-vector-2022 .mw-heading.mw-heading2 { | .skin-vector-2022 .mw-heading.mw-heading2 { | ||
position: relative; | position: relative; | ||
border-bottom: 1px solid | border-bottom: 1px solid #c8ccd1; | ||
padding-bottom: 0.25em; | padding-bottom: 0.25em; | ||
} | } | ||
| Line 61: | Line 61: | ||
.skin-vector-2022 .mw-body .mw-first-heading .mw-page-title-main::after, | .skin-vector-2022 .mw-body .mw-first-heading .mw-page-title-main::after, | ||
.skin-vector-2022 .mw-heading.mw-heading2 h2::after { | |||
content: ""; | |||
position: absolute; | |||
left: 0; | |||
right: 0; | |||
bottom: -0.29em; /* drop down onto the grey rule */ | |||
height: 2px; | |||
background-color: var(--rpi-red); | |||
} | |||
.skin-vector-2022 .infobox { | .skin-vector-2022 .infobox { | ||
border-top: 3px solid var(--rpi-red); | border-top: 3px solid var(--rpi-red); | ||
border-radius: 6px; | |||
} | } | ||