Difference between revisions of "MediaWiki:Common.css"
From Wiki Knowledge Base | Teltonika GPS
(Blanked the page) |
|||
Line 1: | Line 1: | ||
+ | /** Čia įdėtas CSS bus taikomas visoms išvaizdoms */ | ||
+ | @media screen and (max-width: 800px) { | ||
+ | table.main-table { | ||
+ | width:100% !important; | ||
+ | display: table !important | ||
+ | } | ||
+ | .main-table td { | ||
+ | text-align: center; | ||
+ | display: block; | ||
+ | margin-top: 10px | ||
+ | } | ||
+ | .main-table td:nth-child(2n) { | ||
+ | margin-bottom: 20px | ||
+ | } | ||
+ | } |
Revision as of 08:55, 26 March 2018
/** Čia įdėtas CSS bus taikomas visoms išvaizdoms */ @media screen and (max-width: 800px) { table.main-table { width:100% !important; display: table !important } .main-table td { text-align: center; display: block; margin-top: 10px } .main-table td:nth-child(2n) { margin-bottom: 20px } }