Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonathan Bell
srctweb
Commits
ac8cc73d
Commit
ac8cc73d
authored
Apr 05, 2018
by
Daniel W Bond
Browse files
added new bootstrap 4 sticky footer styles from the documentation
parent
7a1e235d
Changes
1
Hide whitespace changes
Inline
Side-by-side
srctweb/assets/css/style.css
View file @
ac8cc73d
/* Sticky footer styles */
/* The html and body elements cannot have any padding or margin. */
html
,
html
{
position
:
relative
;
min-height
:
100%
;
}
body
{
height
:
100%
;
/* Margin bottom by footer height */
margin-bottom
:
120px
;
}
.footer
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
/* Set the fixed height of the footer here */
height
:
120px
;
background-color
:
#e4e6d7
;
}
/* Custom page CSS */
a
[
name
]
{
padding-top
:
50px
;
}
/* Wrapper for page content to push down footer */
#wrap
{
min-height
:
100%
;
height
:
auto
;
/* Negative indent footer by its height */
margin
:
0
auto
-100px
;
/* Pad bottom by footer height */
padding
:
0
0
130px
;
}
/* Set the fixed height of the footer here */
#footer
{
height
:
100px
;
background-color
:
#e4e6d7
;
}
@font-face
{
font-family
:
'Xolonium'
;
src
:
url('../fonts/Xolonium-Regular.otf')
format
(
"opentype"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment