Difference between revisions of "MediaWiki:Common.css"
From NY Science Standards Wiki
(Give the Dimensions table a bottom margin so the K-12 Progression heading is spaced like the other headings) |
(Tab bar: tinted blue background, link-blue tabs, underline on active tab) |
||
| Line 4: | Line 4: | ||
/* Segmented tab bar (Performance Expectations / Questions / Claims and Evidence) on directory pages */ | /* Segmented tab bar (Performance Expectations / Questions / Claims and Evidence) on directory pages */ | ||
| − | .pe-ce-toggle { border-collapse: separate; border-spacing: 0; border: 1px solid # | + | .pe-ce-toggle { border-collapse: separate; border-spacing: 0; border: 1px solid #b9cde4; border-radius: 8px; background: #eaf1f9; overflow: hidden; margin-bottom: 14px; font-size: 1.05em; } |
.pe-ce-toggle td { padding: 4px; } | .pe-ce-toggle td { padding: 4px; } | ||
| − | .pe-ce-toggle a { display: block; padding: 8px 12px; border-radius: 6px; color: # | + | .pe-ce-toggle a { display: block; padding: 8px 12px; border-radius: 6px; color: #1b599b; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; } |
| − | .pe-ce-toggle a:hover { background: # | + | .pe-ce-toggle a:hover { background: #dbe6f3; color: #0c447c; } |
| − | .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.selflink { background: #fff; color: #1b599b; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.12); border-bottom: 3px solid #1b599b; border-radius: 6px 6px 2px 2px; padding-bottom: 5px; } |
.pe-ce-toggle a i { margin-right: 4px; } | .pe-ce-toggle a i { margin-right: 4px; } | ||
/* Small "New" pill inside a tab (e.g. Exam questions) */ | /* Small "New" pill inside a tab (e.g. Exam questions) */ | ||
Revision as of 13:02, 15 October 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 #b9cde4; border-radius: 8px; background: #eaf1f9; 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: #1b599b; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.pe-ce-toggle a:hover { background: #dbe6f3; color: #0c447c; }
.pe-ce-toggle a.selflink { background: #fff; color: #1b599b; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.12); border-bottom: 3px solid #1b599b; border-radius: 6px 6px 2px 2px; padding-bottom: 5px; }
.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; }
/* Vocabulary section on standards pages: bold sub-headings sit close to their list; each list gets a full gap before whatever follows */
.vocab-subhead { font-weight: 700; margin-bottom: 0.25em; }
.vocab-list { margin-bottom: 1em; }
/* NGSS Dimensions table (three-column-wrapper): give the heading that follows it the same gap as every other heading */
.three-column-wrapper { margin-bottom: 1em; }