Skip to content

Commit 7f5e467

Browse files
committed
Merge pull request sergiokopplin#114 from sergiokopplin/113
fixed - tags margin/padding / sergiokopplin#113
2 parents bd0461f + cefc600 commit 7f5e467

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

_includes/main.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,14 +579,15 @@ pre {
579579
margin-bottom: 2rem;
580580
}
581581
.post > .post-tags > .item {
582-
padding: 3px 6px;
582+
padding: 2px 8px;
583583
border-radius: 3px;
584584
font-size: 1.1rem;
585585
background: #ededed;
586586
color: #666;
587587
letter-spacing: 1px;
588-
margin: 0 0.5rem;
588+
margin: 3px 1px;
589589
text-decoration: none;
590+
display: inline-block;
590591
}
591592
.post > h2,
592593
.post > h3,
@@ -633,7 +634,7 @@ pre {
633634
margin-bottom: 6rem;
634635
-webkit-font-smoothing: antialiased;
635636
text-rendering: optimizeLegibility;
636-
padding: 3px 6px;
637+
padding: 3px 9px;
637638
border-radius: 3px;
638639
font-size: 1.3rem;
639640
background: #ededed;

assets/styles/main.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,14 +579,15 @@ pre {
579579
margin-bottom: 2rem;
580580
}
581581
.post > .post-tags > .item {
582-
padding: 3px 6px;
582+
padding: 2px 8px;
583583
border-radius: 3px;
584584
font-size: 1.1rem;
585585
background: #ededed;
586586
color: #666;
587587
letter-spacing: 1px;
588-
margin: 0 0.5rem;
588+
margin: 3px 1px;
589589
text-decoration: none;
590+
display: inline-block;
590591
}
591592
.post > h2,
592593
.post > h3,
@@ -633,7 +634,7 @@ pre {
633634
margin-bottom: 6rem;
634635
-webkit-font-smoothing: antialiased;
635636
text-rendering: optimizeLegibility;
636-
padding: 3px 6px;
637+
padding: 3px 9px;
637638
border-radius: 3px;
638639
font-size: 1.3rem;
639640
background: #ededed;

assets/styles/pages/_post.styl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@
2222
margin-bottom 2rem
2323

2424
> .post-tags > .item
25-
padding 3px 6px
25+
padding 2px 8px
2626
border-radius 3px
2727
font-size 1.1rem
2828
background epsilon
2929
color alpha
3030
letter-spacing 1px
31-
margin 0 .5rem
31+
margin 3px 1px
3232
text-decoration none
33+
display inline-block
3334

3435
// general style
3536
> h2,

assets/styles/pages/_tags.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
margin-bottom 6rem
3030
-webkit-font-smoothing antialiased
3131
text-rendering optimizeLegibility
32-
padding 3px 6px
32+
padding 3px 9px
3333
border-radius 3px
3434
font-size 1.3rem
3535
background epsilon

0 commit comments

Comments
 (0)