Difference between revisions of "MediaWiki:Common.css"
From NY Science Standards Wiki
(Add .toggle-new pill style for the tab bar) |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
@import "override.css"; | @import "override.css"; | ||
| + | |||
| + | /* Segmented tab bar (Performance Expectations / Questions / Claims and Evidence) on directory pages */ | ||
| + | .pe-ce-toggle { border-collapse: separate; border-spacing: 0; border: 1px solid #dfe3e8; border-radius: 8px; background: #f3f5f7; overflow: hidden; margin-bottom: 14px; font-size: 1.05em; } | ||
| + | .pe-ce-toggle td { padding: 4px; } | ||
| + | .pe-ce-toggle a { display: block; padding: 8px 12px; border-radius: 6px; color: #3d5a80; text-decoration: none; transition: background .15s, color .15s; } | ||
| + | .pe-ce-toggle a:hover { background: #e6ebf1; color: #1b599b; } | ||
| + | .pe-ce-toggle a.selflink { background: #fff; color: #1b599b; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.12); } | ||
| + | .pe-ce-toggle a i { margin-right: 4px; } | ||
| + | /* Small "New" pill inside a tab (e.g. Exam questions) */ | ||
| + | .pe-ce-toggle .toggle-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #e8891d; color: #fff; font-size: 0.7em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; line-height: 1.5; } | ||
Latest revision as of 09:20, 23 September 2026
/* CSS placed here will be applied to all skins */
@import "override.css";
/* Segmented tab bar (Performance Expectations / Questions / Claims and Evidence) on directory pages */
.pe-ce-toggle { border-collapse: separate; border-spacing: 0; border: 1px solid #dfe3e8; border-radius: 8px; background: #f3f5f7; overflow: hidden; margin-bottom: 14px; font-size: 1.05em; }
.pe-ce-toggle td { padding: 4px; }
.pe-ce-toggle a { display: block; padding: 8px 12px; border-radius: 6px; color: #3d5a80; text-decoration: none; transition: background .15s, color .15s; }
.pe-ce-toggle a:hover { background: #e6ebf1; color: #1b599b; }
.pe-ce-toggle a.selflink { background: #fff; color: #1b599b; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.pe-ce-toggle a i { margin-right: 4px; }
/* Small "New" pill inside a tab (e.g. Exam questions) */
.pe-ce-toggle .toggle-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #e8891d; color: #fff; font-size: 0.7em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; line-height: 1.5; }