Skip to content

Commit fe92c77

Browse files
committed
[design] improve head spacing
1 parent ff56cec commit fe92c77

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed

‎css/grid.css‎

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111

1212
.grid-item-head{
13-
padding:2em2em02em;
13+
padding:2em2em1em2em;
1414
width:100%;
1515
}
1616

@@ -33,12 +33,7 @@
3333
padding-right:8vw;
3434
}
3535

36-
.grid-item-head{
37-
padding-top:3em;
38-
}
39-
4036
.grid-item-body{
41-
padding-bottom:25vh;
4237
grid-template-columns:repeat(3,minmax(1em,1fr));
4338
}
4439
}
@@ -51,12 +46,7 @@
5146
padding-right:11vw;
5247
}
5348

54-
.grid-item-head{
55-
padding-top:4em;
56-
}
57-
5849
.grid-item-body{
59-
padding-top:3em;
6050
grid-template-columns:repeat(4,minmax(1em,1fr));
6151
}
6252
}
@@ -69,6 +59,11 @@
6959
padding-right:14vw;
7060
}
7161

62+
.grid-item-head{
63+
padding-top:3em;
64+
padding-bottom:2em;
65+
}
66+
7267
.grid-item-body{
7368
grid-template-columns:repeat(5,minmax(1em,1fr));
7469
}

‎index.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030

3131
<divclass="grid-item-head">
3232
<divclass="head">
33-
<divclass="head-item mb-3 mb-lg-0">
33+
<divclass="head-item mb-3 mb-xl-0">
3434
<pclass="clock"></p>
3535
</div>
36-
<divclass="head-item head-search mb-3 mb-lg-0">
36+
<divclass="head-item head-search mb-3 mb-xl-0">
3737
<formclass="search" action="http://www.google.com/search" method="get">
3838
<inputclass="search-input mb-0" type="text" placeholder="Find bookmarks or search" tabindex="1" name="q" autocomplete="off" tabindex="1">
3939
<inputtype="submit" value="Search" class="is-hidden">
@@ -42,23 +42,23 @@
4242
<spanclass="icon-close"></span>
4343
</button>
4444
</div>
45-
<divclass="head-item button-group mb-3 mb-lg-0">
45+
<divclass="head-item button-group mb-3 mb-xl-0">
4646
<buttonclass="button mb-0 control-add" tabindex="1">
4747
<spanclass="button-text">Add</span>
4848
</button>
4949
<buttonclass="button mb-0 control-edit" tabindex="1">
5050
<spanclass="button-text">Edit</span>
5151
</button>
5252
</div>
53-
<divclass="head-item button-group mb-3 mb-lg-0">
53+
<divclass="head-item button-group mb-3 mb-xl-0">
5454
<buttonclass="button mb-0 control-link-list" tabindex="1">
5555
<spanclass="button-text">List</span>
5656
</button>
5757
<buttonclass="button mb-0 control-link-blocks active" tabindex="1">
5858
<spanclass="button-text">Block</span>
5959
</button>
6060
</div>
61-
<divclass="head-item mb-3 mb-lg-0">
61+
<divclass="head-item mb-3 mb-xl-0">
6262
<formclass="theme">
6363
<labelclass="button mb-0 theme-label" for="accent-picker">
6464
<spanclass="button-text">Accent</span>

0 commit comments

Comments
(0)