Difference between revisions of "Template:Boxstyle/styles.css"
Jump to navigation
Jump to search
Ostentatio (talk | contribs) |
Ostentatio (talk | contribs) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* NOTE: PLEASE DO NOT EDIT THIS FILE UNLESS SPECIFICALLY REQUESTED TO DO SO! */ | /* NOTE: PLEASE DO NOT EDIT THIS FILE UNLESS SPECIFICALLY REQUESTED TO DO SO! */ | ||
+ | |||
+ | /* NOTE: Don't override the boxstyle class in templates using this stylesheet. Instead, add a class for that specific template which overrides whatever needs to be overridden, and use both classes.*/ | ||
.boxstyle{ | .boxstyle{ | ||
Line 9: | Line 11: | ||
border-radius: 10px; | border-radius: 10px; | ||
border-collapse:separate; | border-collapse:separate; | ||
− | box-shadow: | + | box-shadow:2px 2px 5px rgba(0,0,0,0.45); |
+ | clear:both; | ||
} | } | ||
+ | .boxstyle::after{ | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | clear: both; | ||
+ | } | ||
/* Overrides for specific skins */ | /* Overrides for specific skins */ | ||
/* body.skin-timelesswurm .boxstyle { } */ | /* body.skin-timelesswurm .boxstyle { } */ |
Latest revision as of 17:42, 28 April 2021
/* NOTE: PLEASE DO NOT EDIT THIS FILE UNLESS SPECIFICALLY REQUESTED TO DO SO! */ /* NOTE: Don't override the boxstyle class in templates using this stylesheet. Instead, add a class for that specific template which overrides whatever needs to be overridden, and use both classes.*/ .boxstyle{ margin:2px auto; padding:3px; width:60%; border:2px solid black; text-align:left; border-radius: 10px; border-collapse:separate; box-shadow:2px 2px 5px rgba(0,0,0,0.45); clear:both; } .boxstyle::after{ content: ''; display: block; clear: both; } /* Overrides for specific skins */ /* body.skin-timelesswurm .boxstyle { } */