Difference between revisions of "Template:Macquarie Australia/TestCSS"
(Add table padding) |
(Added centredfigure class) |
||
Line 55: | Line 55: | ||
.regularInline { /* Creates the container for inline content - class */ | .regularInline { /* Creates the container for inline content - class */ | ||
display: inline-block; | display: inline-block; | ||
+ | } | ||
+ | |||
+ | .CentredFigure { /* Creates the container for CentredFigure - class */ | ||
+ | /* no styling required here so far */ | ||
} | } | ||
Line 156: | Line 160: | ||
margin-left: 20px; | margin-left: 20px; | ||
margin-right: 20px; | margin-right: 20px; | ||
+ | } | ||
+ | |||
+ | figure.CentredFigure { /* Styling for figures in CentredFigure class */ | ||
+ | margin: 0 auto 0.55em; | ||
+ | display: block; | ||
} | } | ||
Revision as of 12:25, 7 August 2015