mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11:37 +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