Difference between revisions of "Template:Macquarie Australia/TestCSS"
(Removed styling not used) |
(Added figure styling and comments) |
||
Line 43: | Line 43: | ||
.contentContainer { /* Creates the container for the content - class */ | .contentContainer { /* Creates the container for the content - class */ | ||
/* background-color: #EEEDEA; */ | /* background-color: #EEEDEA; */ | ||
− | width: | + | width: 98%; |
float: left; | float: left; | ||
− | + | padding: 4px; | |
/* border-top: 6px solid #EE3e53; */ | /* border-top: 6px solid #EE3e53; */ | ||
} | } | ||
− | .specialInline { /* Creates the container for inline content - class */ | + | .specialInline { /* Creates the container for inline content SYTYCS special - class */ |
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | .regularInline { /* Creates the container for inline content - class */ | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
Line 146: | Line 150: | ||
} | } | ||
− | figcaption { /* Styling for figure captions - class */ | + | figure.regularInline { /* Styling for figures in regularInline class */ |
+ | margin-top: 1em; | ||
+ | margin-bottom: 1em; | ||
+ | margin-left: 20px; | ||
+ | margin-right: 20px; | ||
+ | } | ||
+ | |||
+ | figcaption.specialInline { /* Styling for figure captions - class */ | ||
+ | display: block; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | figcaption.regularInline { /* Styling for figure captions - class */ | ||
display: block; | display: block; | ||
+ | text-align: center; | ||
} | } | ||
Revision as of 10:51, 7 August 2015