mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
adjust post size for mobile devices
This commit is contained in:
parent
c76ab82a3c
commit
467c27d5c2
@ -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;
|
||||
@ -82,4 +88,4 @@
|
||||
display: inline;
|
||||
color: var(--secondary);
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
@ -21,6 +21,12 @@
|
||||
--border: #eee;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
:root {
|
||||
--gap: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.dark {
|
||||
--theme: #1d1e20;
|
||||
--entry: #2e2e33;
|
||||
|
Loading…
Reference in New Issue
Block a user