File tree 2 files changed +38
-19
lines changed
2 files changed +38
-19
lines changed Original file line number Diff line number Diff line change @@ -79,30 +79,42 @@ body {
79
79
*/
80
80
81
81
.vsp-footer {
82
- display : flex;
83
- flex-direction : row;
84
- flex-wrap : wrap;
85
- margin : 0 ;
86
- font-size : 0.8rem ;
87
- background-color : # 091440 ;
88
- flex-shrink : 0 ;
82
+ line-height : 1.2rem ;
89
83
font-size : 0.8rem ;
84
+ position : relative;
90
85
background-color : # 091440 ;
91
86
color : # 8997a5 ;
92
- width : 100% ;
93
87
}
94
88
95
- .vsp-footer-left ,
96
- .vsp-footer-right {
97
- display : flex;
98
- justify-content : center;
99
- align-items : center;
89
+ .vsp-footer-bg-left ,
90
+ .vsp-footer-bg-right {
91
+ position : absolute;
92
+ height : 100% ;
93
+ }
94
+
95
+ .vsp-footer-bg-right {
96
+ right : 0 ;
97
+ bottom : 0 ;
98
+ background-color : # 202a52 ;
99
+ }
100
+
101
+ @media (max-width : 768px ) {
102
+ .vsp-footer-bg-left ,
103
+ .vsp-footer-bg-right {
104
+ height : 50% ;
105
+ }
106
+ }
107
+
108
+ .vsp-footer-left {
109
+ background-color : # 091440 ;
100
110
}
101
111
102
112
.vsp-footer-right {
103
- background-color : rgba (237 , 239 , 241 , .1 );
104
- text-align : right;
105
- color : # 8997a5 ;
113
+ background-color : # 202a52 ;
114
+ /* Top & bottom padding to ensure right is same height as left despite
115
+ having one less line of text */
116
+ padding-top : 0.6rem ;
117
+ padding-bottom : 0.6rem ;
106
118
}
107
119
108
120
/*
Original file line number Diff line number Diff line change 2
2
3
3
</ div> <!-- vsp-page-content -->
4
4
5
- < footer class ="vsp-footer ">
6
- < div class ="vsp-footer-left col-md-8 col-12 ">
5
+ < footer class ="vsp-footer flex-md-row flex-row-reverse ">
6
+ < div class ="vsp-footer-bg-left d-none d-sm-block col-md-6 col-12 "> </ div >
7
+ < div class ="vsp-footer-bg-right d-none d-sm-block col-md-6 col-12 "> </ div >
8
+
9
+ < div class ="container d-flex flex-wrap px-0 px-sm-2 mx-0 mx-sm-auto ">
10
+
11
+ < div class ="vsp-footer-left col-md-8 col-12 justify-content-center justify-content-md-start px-0 ">
7
12
< p class ="py-4 m-0 ">
8
13
< strong > Stats updated:</ strong > {{ timeAgo .WebApiCache.UpdateTime }}
9
14
< br />
13
18
</ p >
14
19
</ div >
15
20
16
- < div class ="vsp-footer-right col-md-4 col-12 text-center text-md-right ">
21
+ < div class ="vsp-footer-right col-md-4 col-12 justify-content-center justify-content-md-end text-center text-md-right px-0 ">
17
22
< p class ="py-4 m-0 ">
18
23
Decred Developers | 2020-2024
19
24
< br />
20
25
The source code is available on < a href ="https://github.com/decred/vspd " target ="_blank " rel ="noopener noreferrer "> GitHub</ a >
21
26
</ p >
22
27
</ div >
28
+
29
+ </ div >
23
30
</ footer >
24
31
25
32
</ body>
You can’t perform that action at this time.
0 commit comments