Difference between revisions of "MediaWiki:Common.css"
From NY Science Standards Wiki
(Created page with "→CSS placed here will be applied to all skins: @import "override.css";") |
|||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@import "override.css"; | @import "override.css"; | ||
+ | |||
+ | #sep-section, #dci-section, #cc-section { | ||
+ | padding: 16px; | ||
+ | box-sizing: border-box; | ||
+ | } | ||
+ | |||
+ | @media (min-width: 769px) { | ||
+ | #sep-section, #dci-section, #cc-section { | ||
+ | width: 33.3333%; | ||
+ | float: left; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @media (max-width: 768px) { | ||
+ | #sep-section, #dci-section, #cc-section { | ||
+ | width: 100%; | ||
+ | float: none; | ||
+ | } | ||
+ | } |
Revision as of 07:50, 30 March 2025
/* CSS placed here will be applied to all skins */ @import "override.css"; #sep-section, #dci-section, #cc-section { padding: 16px; box-sizing: border-box; } @media (min-width: 769px) { #sep-section, #dci-section, #cc-section { width: 33.3333%; float: left; } } @media (max-width: 768px) { #sep-section, #dci-section, #cc-section { width: 100%; float: none; } }