Difference between revisions of "Template:Macquarie Australia/TestCSS"
(Attempt 3 of table nav border) |
(Add new class with center text) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 58: | Line 58: | ||
/* background-color: #f2f2f2; */ | /* background-color: #f2f2f2; */ | ||
/* border-bottom: 1px solid #ccc; */ | /* border-bottom: 1px solid #ccc; */ | ||
+ | border-collapse: collapse; /* Prevents a double line for both th td borders */ | ||
border: 0px; | border: 0px; | ||
/* no colours, borders, width, or float here */ | /* no colours, borders, width, or float here */ | ||
Line 78: | Line 79: | ||
width: 100%; | width: 100%; | ||
text-align: left; | text-align: left; | ||
+ | } | ||
+ | |||
+ | .centreItInline { /* Horizontal positioning */ | ||
+ | display: block; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | } | ||
+ | |||
+ | .centreStuffInline { /* Horizontal positioning */ | ||
+ | text-align: center; | ||
} | } | ||
Line 114: | Line 125: | ||
font-size: 16px; | font-size: 16px; | ||
color: #ffffff; | color: #ffffff; | ||
− | border: | + | border: 0; |
border-spacing: 0; | border-spacing: 0; | ||
+ | text-align: center; | ||
+ | padding: 0; | ||
} | } | ||
Line 249: | Line 262: | ||
img.wrappedImage { /* Styling for figure captions - class */ | img.wrappedImage { /* Styling for figure captions - class */ | ||
float: left; | float: left; | ||
+ | } | ||
+ | |||
+ | /* TEXT IN COLUMNS Class styling */ | ||
+ | |||
+ | .divideTextTwoColumns { | ||
+ | /* Create multiple columns */ | ||
+ | -webkit-column-count: 2; /* Chrome, Safari, Opera */ | ||
+ | -moz-column-count: 2; /* Firefox */ | ||
+ | column-count: 2; | ||
+ | /* Gap between columns */ | ||
+ | -webkit-column-gap: 40px; /* Chrome, Safari, Opera */ | ||
+ | -moz-column-gap: 40px; /* Firefox */ | ||
+ | column-gap: 40px; | ||
+ | /* Line between columns */ | ||
+ | -webkit-column-rule: 1px dashed #009933; /* Chrome, Safari, Opera */ | ||
+ | -moz-column-rule: 1px dashed #009933; /* Firefox */ | ||
+ | column-rule: 1px dashed #009933; | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | font-size: 12px; | ||
} | } | ||
Latest revision as of 13:14, 7 September 2015