Skip to content

Commit

Permalink
design: optimize tap target sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
macrat committed Feb 12, 2024
1 parent b19b681 commit f2bec51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}

header {
margin: 48px 0;
margin: 40px 0;
padding: 0 8px;
}
nav {
Expand All @@ -69,7 +69,7 @@
text-decoration: none;
}
nav li > a {
padding: 0 8px;
padding: 0 8px 12px;
}
.pageqr {
display: none;
Expand Down
8 changes: 5 additions & 3 deletions templates/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
.blog-articles > li {
margin: 8px -16px;
padding: 16px;
padding: calc(16px - .5rem) 16px 16px;
}
.blog-articles > li > time {
margin: 1rem 0 0;
Expand All @@ -33,11 +33,13 @@
}
.tags > li {
display: inline-block;
margin: 0 .1rem;
padding: 0 .3rem;
margin: .1rem;
padding: 0;
}
.tags > li > a {
display: inline-block;
text-decoration: none;
padding: .5rem .3rem 0;
}

.pager {
Expand Down

0 comments on commit f2bec51

Please sign in to comment.