Difference between revisions of "MediaWiki:Common.css"
(Replaced content with "→CSS placed here will be applied to all skins: ") |
|||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
+ | /* The syntax of the first radius allows one to four values */ | ||
+ | /* Radius is set for all 4 sides */ | ||
+ | border-radius: 10px; | ||
+ | |||
+ | /* top-left-and-bottom-right | top-right-and-bottom-left */ | ||
+ | border-radius: 10px 5%; | ||
+ | |||
+ | /* top-left | top-right-and-bottom-left | bottom-right */ | ||
+ | border-radius: 2px 4px 2px; | ||
+ | |||
+ | /* top-left | top-right | bottom-right | bottom-left */ | ||
+ | border-radius: 1px 0 3px 4px; | ||
+ | |||
+ | /* The syntax of the second radius allows one to four values */ | ||
+ | /* (first radius values) / radius */ | ||
+ | border-radius: 10px 5% / 20px; | ||
+ | |||
+ | /* (first radius values) / top-left-and-bottom-right | top-right-and-bottom-left */ | ||
+ | border-radius: 10px 5% / 20px 30px; | ||
+ | |||
+ | /* (first radius values) / top-left | top-right-and-bottom-left | bottom-right */ | ||
+ | border-radius: 10px 5px 2em / 20px 25px 30%; | ||
+ | |||
+ | /* (first radius values) / top-left | top-right | bottom-right | bottom-left */ | ||
+ | border-radius: 10px 5% / 20px 25em 30px 35em; | ||
+ | |||
+ | border-radius: inherit; |
Revision as of 04:44, 1 November 2015
/* CSS placed here will be applied to all skins */ /* The syntax of the first radius allows one to four values */ /* Radius is set for all 4 sides */ border-radius: 10px; /* top-left-and-bottom-right | top-right-and-bottom-left */ border-radius: 10px 5%; /* top-left | top-right-and-bottom-left | bottom-right */ border-radius: 2px 4px 2px; /* top-left | top-right | bottom-right | bottom-left */ border-radius: 1px 0 3px 4px; /* The syntax of the second radius allows one to four values */ /* (first radius values) / radius */ border-radius: 10px 5% / 20px; /* (first radius values) / top-left-and-bottom-right | top-right-and-bottom-left */ border-radius: 10px 5% / 20px 30px; /* (first radius values) / top-left | top-right-and-bottom-left | bottom-right */ border-radius: 10px 5px 2em / 20px 25px 30%; /* (first radius values) / top-left | top-right | bottom-right | bottom-left */ border-radius: 10px 5% / 20px 25em 30px 35em; border-radius: inherit;