Skip to content

Commit eb2de2b

Browse files
committed
fix menu
1 parent 5a6cdc8 commit eb2de2b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

project/sportlife/css/style.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ a {
211211
right: 0;
212212
z-index: 15; /* to overlap .overlay */
213213

214-
padding: 20px;
214+
padding: 20px 20px 40px;
215215

216216
border-top: 4px solid #3599D9;
217217
background: #fff;
@@ -231,20 +231,32 @@ a {
231231
}
232232

233233
.header-panel_sub-menu_h {
234+
display: block;
235+
padding-bottom: 20px;
234236
font-weight: bold;
235237
color: #2E2E36;
238+
font-size: 15px;
236239
line-height: 1.5;
237240
}
238241

239242
.header-panel_sub-menu_i {
240243
display: block;
241244
padding-top: 20px;
242245
color: #666;
246+
font-size: 15px;
243247
}
244248
.header-panel_sub-menu_i:hover {
245249
text-decoration: none;
246250
color: #3599D9;
247251
}
252+
.header-panel_sub-menu_i:first-child{
253+
padding-top: 0;
254+
}
255+
256+
.header-panel_sub-menu_h + .header-panel_sub-menu_i {
257+
padding-top: 0;
258+
}
259+
248260

249261
.header-panel_search {
250262
float: right;

0 commit comments

Comments
 (0)