forked from micromata/Baumeister
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_footer.scss
60 lines (47 loc) · 1.04 KB
/
_footer.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//
// Footer
// --------------------------------------------------
// Custom footer styles
// Global variables
//
$footer-height: 60px;
$footer-text-margin: 20px;
// Global mixins
//
// Called in _scaffolding.scss
@mixin footer-htmlProps {
position: relative;
min-height: 100%;
}
// Called in _scaffolding.scss
@mixin footer-bodyProps {
// Margin bottom by footer height
margin-bottom: ($footer-height - $footer-text-margin);
}
// Module wrapper
.footer {
// Local variables
//
// Which are meant to be used only in this module. »Global« variables are stored
// in /src/assets/scss/_variables.scss
$footer-bg: #f5f5f5;
// Local mixins
//
// Which are meant to be used only in this module. »Global« mixins are stored
// in /src/assets/scss/theme/_mixins.scss
// Styles
//
position: absolute;
bottom: 0;
width: 100%;
// Set the fixed height of the footer here
height: $footer-height;
background-color: $footer-bg;
> .container {
padding-right: 15px;
padding-left: 15px;
}
.footer-text {
margin: $footer-text-margin 0;
}
}