Difference between revisions of "Template:Macquarie Australia/TestCSS"
(Added table styling for figures) |
(More trial and error with figure caption styling) |
||
Line 311: | Line 311: | ||
figure { /* Styling for figure captions - class */ | figure { /* Styling for figure captions - class */ | ||
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
+ | background-color: #ffffff; | ||
+ | padding: 5px; | ||
display: table; | display: table; | ||
+ | } | ||
+ | |||
+ | figure img { | ||
+ | display: block; | ||
+ | width: 100%; | ||
} | } | ||
Line 320: | Line 327: | ||
text-align: left; | text-align: left; | ||
display: table-caption; | display: table-caption; | ||
+ | caption-side: bottom; | ||
+ | background: #ffffff; | ||
+ | padding: 0 5px 5px; | ||
} | } | ||
Revision as of 15:52, 17 August 2015