Skip to content

Commit

Permalink
adjust post size for mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
adityatelange committed Jul 25, 2020
1 parent c76ab82 commit 467c27d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion assets/css/post-entry.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
margin-bottom: var(--header-height);
}

@media screen and (max-width: 600px) {
.first-entry {
height: 240px;
}
}

.first-entry .entry-header {
overflow: hidden;
display: -webkit-box;
Expand Down Expand Up @@ -82,4 +88,4 @@
display: inline;
color: var(--secondary);
font-size: 14px;
}
}
6 changes: 6 additions & 0 deletions assets/css/theme-vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
--border: #eee;
}

@media screen and (max-width: 600px) {
:root {
--gap: 14px;
}
}

.dark {
--theme: #1d1e20;
--entry: #2e2e33;
Expand Down

0 comments on commit 467c27d

Please sign in to comment.