MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
. | /* Default display settings for desktop and mobile layouts */ | ||
.content-desktop { | |||
display: block; | |||
} | } | ||
. | |||
.content-mobile { | |||
display: none; | |||
} | } | ||
/* Base styles for both layouts */ | |||
.content-desktop table, | |||
.content-mobile table { | |||
border-collapse: separate; | |||
border-spacing: 1em; | |||
} | |||
/* Common styles for better appearance */ | |||
.content-desktop th, | |||
.content-mobile th { | |||
font-weight: bold; | |||
} | |||
/* Add any other common styles here that should apply to both desktop and mobile */ | |||
@media only screen and (max-width: 768px) { | @media only screen and (max-width: 768px) { |