Skip to content

Commit f39a404

Browse files
【fix】footer100%
1 parent 4c378e7 commit f39a404

File tree

1 file changed

+37
-20
lines changed

1 file changed

+37
-20
lines changed

examples/css/common.css

Lines changed: 37 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,32 @@
11
@charset "UTF-8";
22
/*重写AdmineLTE 的部分效果 start*/
33
body {
4-
font-family: "Helvetica Neue", Helvetica, Arial, "Heiti SC", "Microsoft Yahei", sans-serif;
4+
font-family: 'Helvetica Neue', Helvetica, Arial, 'Heiti SC', 'Microsoft Yahei', sans-serif;
55
}
66

7-
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
8-
font-family: "Helvetica Neue", Helvetica, Arial, "Heiti SC", "Microsoft Yahei", sans-serif;
7+
h1,
8+
h2,
9+
h3,
10+
h4,
11+
h5,
12+
h6,
13+
.h1,
14+
.h2,
15+
.h3,
16+
.h4,
17+
.h5,
18+
.h6 {
19+
font-family: 'Helvetica Neue', Helvetica, Arial, 'Heiti SC', 'Microsoft Yahei', sans-serif;
920
}
1021

1122
a {
1223
cursor: pointer;
1324
}
1425

1526
@media (max-width: 767px) {
16-
.main-sidebar, .left-side {
17-
padding-top: 50px
27+
.main-sidebar,
28+
.left-side {
29+
padding-top: 50px;
1830
}
1931
}
2032

@@ -31,27 +43,29 @@ a {
3143
width: auto !important;
3244
left: 180px !important;
3345
top: -22px !important;
34-
z-index: 900
46+
z-index: 900;
3547
}
3648

3749
.sidebar-mini.sidebar-collapse .main-header .navbar {
38-
margin-left: 0
50+
margin-left: 0;
3951
}
4052
}
4153

42-
.skin-blue .wrapper, .skin-blue .main-sidebar, .skin-blue .left-side {
54+
.skin-blue .wrapper,
55+
.skin-blue .main-sidebar,
56+
.skin-blue .left-side {
4357
background-color: #ffffff;
4458
}
4559

4660
.main-header .navbar {
47-
-webkit-transition: margin-left .3s ease-in-out;
48-
-o-transition: margin-left .3s ease-in-out;
49-
transition: margin-left .3s ease-in-out;
61+
-webkit-transition: margin-left 0.3s ease-in-out;
62+
-o-transition: margin-left 0.3s ease-in-out;
63+
transition: margin-left 0.3s ease-in-out;
5064
margin-bottom: 0;
5165
margin-left: 0;
5266
border: none;
5367
min-height: 60px;
54-
border-radius: 0
68+
border-radius: 0;
5569
}
5670

5771
.navbar-header {
@@ -69,7 +83,7 @@ a {
6983
background-color: transparent;
7084
background-image: none;
7185
padding: 15px 17px;
72-
font-family: fontAwesome
86+
font-family: fontAwesome;
7387
}
7488

7589
.navbar-nav > .nav-dropdown-menu > .dropdown-menu {
@@ -78,27 +92,30 @@ a {
7892
padding: 0 0 0 0;
7993
margin: 0;
8094
right: 16px;
81-
top: 100%
95+
top: 100%;
8296
}
8397

8498
.main-header .navbar-custom-menu {
8599
padding: 0;
86100
margin: 0 16px;
87101
}
88102

89-
*, *:after, *::before {
103+
*,
104+
*:after,
105+
*::before {
90106
-webkit-box-sizing: border-box;
91107
-moz-box-sizing: border-box;
92108
box-sizing: border-box;
93109
}
94110

95-
.main-sidebar, .left-side {
111+
.main-sidebar,
112+
.left-side {
96113
padding-top: 60px;
97114
}
98115

99116
/*重写AdmineLTE 的部分效果 end*/
100117
.skin-blue .main-header .navbar {
101-
background-color: #212121;
118+
background-color: #212121;
102119
}
103120
/*footer */
104121

@@ -112,7 +129,7 @@ a {
112129
margin-top: 100px;
113130
text-align: center;
114131
bottom: 0;
115-
132+
width: 100%;
116133
}
117134

118135
.icl-copyright {
@@ -143,12 +160,12 @@ a {
143160
color: #7d7d7d;
144161
}
145162

146-
.contact-link{
163+
.contact-link {
147164
text-align: center;
148165
margin-top: 10px;
149166
}
150167
.join-link {
151168
text-align: center;
152169
margin-top: 10px;
153170
}
154-
/*footer end */
171+
/*footer end */

0 commit comments

Comments
 (0)