Difference between revisions of "Template:BABS UNSW Australia"
Line 18: | Line 18: | ||
+ | /* Sticky footer styles | ||
+ | -------------------------------------------------- */ | ||
+ | html { | ||
+ | position: relative; | ||
+ | min-height: 100%; | ||
+ | } | ||
+ | body { | ||
+ | /* Margin bottom by footer height */ | ||
+ | margin-bottom: 100px; | ||
+ | } | ||
+ | .footer { | ||
+ | position: absolute; | ||
+ | bottom: 0; | ||
+ | width: 100%; | ||
+ | /* Set the fixed height of the footer here */ | ||
+ | height: 100px; | ||
+ | background-color: #f5f5f5; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Custom page CSS | ||
+ | -------------------------------------------------- */ | ||
+ | /* Not required for template or sticky footer method. */ | ||
+ | |||
+ | .container { | ||
+ | width: auto; | ||
+ | max-width: 680px; | ||
+ | padding: 0 15px; | ||
+ | } | ||
+ | .container .text-muted { | ||
+ | margin: 5px 0; | ||
+ | } | ||
</style> | </style> |
Revision as of 06:53, 6 July 2015