File tree Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 11
11
12
12
/*General*/
13
13
body {
14
- margin : 0 ;
15
14
padding : 0 ;
15
+ margin-bottom : 60px ;
16
+ }
17
+
18
+ html {
19
+ position : relative;
20
+ min-height : 100% ;
21
+ padding-bottom : 60px ;
22
+ }
23
+
24
+ .footer {
25
+ color : white;
26
+ background : var (--primary );
27
+ width : 100% ;
28
+
29
+ position : absolute;
30
+ height : 60px ;
31
+ bottom : 0 ;
16
32
}
17
33
18
34
.header-container {
@@ -81,12 +97,6 @@ body {
81
97
color : var (--primary );
82
98
}
83
99
84
- .footer {
85
- color : white;
86
- background : var (--primary );
87
- width : 100% ;
88
- }
89
-
90
100
.footer > a {
91
101
color : var (--primary-fg );
92
102
}
Original file line number Diff line number Diff line change 14
14
< link rel ="stylesheet " href ="{% static 'css/styles.css' %} ">
15
15
</ head >
16
16
17
- < body class =" d-flex flex-column min-vh-100 " >
17
+ < body >
18
18
<!--header-->
19
19
{% block app_header %}
20
20
< header >
52
52
</ div >
53
53
< br >
54
54
<!-- app footer -->
55
- < footer class ="footer my-5 mt-auto ">
55
+ < footer class ="footer ">
56
56
< div class ="text-center p-3 ">
57
57
Developed by < a class ="text-white " href ="https://sadilar.org "> SADiLaR</ a >
58
58
</ div >
You can’t perform that action at this time.
0 commit comments