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 11< nav class ="main-nav ">
22 < div class ="block ">
3+ < ul >
34 {% 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 >
912 {% endfor %}
13+ </ ul >
1014 </ div >
1115</ nav >
Original file line number Diff line number Diff line change 4646
4747.profile # header {
4848 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 ;
5151 text-align : center;
5252 position : relative;
5353}
@@ -104,7 +104,7 @@ nav.main-nav a {
104104nav .main-nav a .cta {
105105 background : # 5badf0 ;
106106 color : # fff ;
107- margin-left : 12px ;
107+ /* margin-left: 12px;*/
108108}
109109
110110# wrapper {
@@ -229,9 +229,16 @@ em, i { font-style: italic; }
229229
230230.block {
231231 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 ;
232239}
233240
234- .block a .main {
241+ .block ul li a .main {
235242 padding : 2px 2px ;
236243 margin-right : 12px ;
237244 margin-bottom : 6px ;
@@ -635,4 +642,23 @@ h2.month {
635642 .post h2 .headline { font-size : 13px ; }
636643 .post h1 { font-size : 24px ; }
637644 .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