File tree Expand file tree Collapse file tree 2 files changed +40
-10
lines changed Expand file tree Collapse file tree 2 files changed +40
-10
lines changed Original file line number Diff line number Diff line change 1
1
< nav class ="main-nav ">
2
2
< div class ="block ">
3
+ < ul >
3
4
{% for link in site.links %}
4
- < a target ="{% if link.external %}_blank{% else %}_top{% endif %} "
5
- class ="main cta "
6
- href ="{% unless link.external %}{{ site.url }}{% endunless %}{{ link.url }} ">
7
- {{ link.name }}
8
- </ a >
5
+ < li >
6
+ < a target ="{% if link.external %}_blank{% else %}_top{% endif %} "
7
+ class ="main cta "
8
+ href ="{% unless link.external %}{{ site.url }}{% endunless %}{{ link.url }} ">
9
+ {{ link.name }}
10
+ </ a >
11
+ </ li >
9
12
{% endfor %}
13
+ </ ul >
10
14
</ div >
11
15
</ nav >
Original file line number Diff line number Diff line change 46
46
47
47
.profile # header {
48
48
border-bottom : 1px solid # eee ;
49
- margin-bottom : 40 px ;
50
- padding-bottom : 40 px ;
49
+ margin-bottom : 28 px ;
50
+ padding-bottom : 32 px ;
51
51
text-align : center;
52
52
position : relative;
53
53
}
@@ -104,7 +104,7 @@ nav.main-nav a {
104
104
nav .main-nav a .cta {
105
105
background : # 5badf0 ;
106
106
color : # fff ;
107
- margin-left : 12px ;
107
+ /* margin-left: 12px;*/
108
108
}
109
109
110
110
# wrapper {
@@ -229,9 +229,16 @@ em, i { font-style: italic; }
229
229
230
230
.block {
231
231
text-align : center;
232
+ padding-top : 8px ;
233
+ padding-bottom : 8px ;
234
+ }
235
+
236
+ .block ul li {
237
+ list-style : none;
238
+ padding : 12px 12px ;
232
239
}
233
240
234
- .block a .main {
241
+ .block ul li a .main {
235
242
padding : 2px 2px ;
236
243
margin-right : 12px ;
237
244
margin-bottom : 6px ;
@@ -635,4 +642,23 @@ h2.month {
635
642
.post h2 .headline { font-size : 13px ; }
636
643
.post h1 { font-size : 24px ; }
637
644
.post h2 { font-size : 20px ; }
638
- }
645
+
646
+ .block ul li a .cta {
647
+ display : block;
648
+ width : 100% ;
649
+ }
650
+ nav .main-nav a {
651
+ font-size : 18px ;
652
+ padding-top : 14px ;
653
+ padding-bottom : 14px ;
654
+ }
655
+ .profile # wrapper {
656
+ padding : 60px 40px 0px ;
657
+ }
658
+ }
659
+
660
+ @media screen and (min-width : 540px ) {
661
+ .block ul li {
662
+ display : inline;
663
+ }
664
+ }
You can’t perform that action at this time.
0 commit comments