Difference between revisions of "Template:Macquarie Australia/TestCSS"
(Added table formatting) |
(Changed table styling to be a specific class) |
||
Line 63: | Line 63: | ||
.specialInline { /* Creates the container for inline content - class */ | .specialInline { /* Creates the container for inline content - class */ | ||
display: inline-block; | display: inline-block; | ||
+ | } | ||
+ | |||
+ | .regularTable { /* Creates regular table class */ | ||
+ | border-collapse: collapse; | ||
+ | width: 80%; | ||
} | } | ||
Line 95: | Line 100: | ||
color: #ffffff; /* #ffffff is white */ | color: #ffffff; /* #ffffff is white */ | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.contentContainer h1, h2, h3, h4, h5, h6 { /* Colour and font family */ | .contentContainer h1, h2, h3, h4, h5, h6 { /* Colour and font family */ | ||
Line 125: | Line 118: | ||
.contentContainer a:hover{ /* Styling links on hover */ | .contentContainer a:hover{ /* Styling links on hover */ | ||
color: #f4b248; /*dark blue*/ | color: #f4b248; /*dark blue*/ | ||
+ | } | ||
+ | |||
+ | .regularTable table, th, td { /* default table header and detail formatting */ | ||
+ | border: 1px solid black; | ||
+ | height: 28px; | ||
+ | padding: 15px; | ||
+ | text-align: center; | ||
+ | vertical-align: middle; | ||
+ | background-color: #ffffff; /*white*/ | ||
+ | color: #000000; /*black*/ | ||
} | } | ||
Line 185: | Line 188: | ||
color: #0645ad; /*hyperlink blue*/ | color: #0645ad; /*hyperlink blue*/ | ||
text-decoration: underline; | text-decoration: underline; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
</style> | </style> | ||
</html> | </html> |