mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Hide dates in posts list for smaller screens
Replace the date meta data with bulleted list
This commit is contained in:
12
main.less
12
main.less
@@ -529,6 +529,18 @@ body {
|
|||||||
.section.main {
|
.section.main {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
|
|
||||||
|
.container {
|
||||||
|
.content {
|
||||||
|
.post-item {
|
||||||
|
display: list-item;
|
||||||
|
list-style: disc inside;
|
||||||
|
.meta {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.section.main.post {
|
.section.main.post {
|
||||||
|
@@ -518,6 +518,13 @@ body {
|
|||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
.section.main .container .content .post-item {
|
||||||
|
display: list-item;
|
||||||
|
list-style: disc inside;
|
||||||
|
}
|
||||||
|
.section.main .container .content .post-item .meta {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.section.main.post {
|
.section.main.post {
|
||||||
padding-top: 60px;
|
padding-top: 60px;
|
||||||
padding-bottom: 60px;
|
padding-bottom: 60px;
|
||||||
|
Reference in New Issue
Block a user