mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-31 00:57:33 -05:00
Compare commits
4 Commits
84004d3ac0
...
14475c13f4
Author | SHA1 | Date | |
---|---|---|---|
14475c13f4
|
|||
6b729c6acf
|
|||
f751c4b104
|
|||
de20387b5a
|
@@ -217,14 +217,6 @@ hr {
|
|||||||
border: 1px solid var(--background-3);
|
border: 1px solid var(--background-3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 720px) {
|
|
||||||
.full-width-hr {
|
|
||||||
/* see also: the related-posts section too */
|
|
||||||
margin-left: calc(-100vw / 2 + 760px / 2);
|
|
||||||
margin-right: calc(-100vw / 2 + 760px / 2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
table.simple {
|
table.simple {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border: 2px solid var(--text-1);
|
border: 2px solid var(--text-1);
|
||||||
@@ -891,15 +883,14 @@ aside.quote {
|
|||||||
|
|
||||||
/* Related posts section {{{ */
|
/* Related posts section {{{ */
|
||||||
|
|
||||||
.full-width-page-list {
|
/* set the margins on the contents instead of the parent .related-posts
|
||||||
/* make left/right 0 margin so it takes up full width */
|
* so that the posts in the list clip off the edge of the screen,
|
||||||
margin: 25px 0;
|
* which makes a more obvious indicator that it's scrollable
|
||||||
}
|
*/
|
||||||
|
|
||||||
.related-posts > hr,
|
.related-posts > hr,
|
||||||
.related-posts > h1 {
|
.related-posts > h1 {
|
||||||
margin-left: 20px;
|
margin: var(--page-margin);
|
||||||
margin-right: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.related-posts .page {
|
.related-posts .page {
|
||||||
@@ -909,17 +900,18 @@ aside.quote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.related-posts .page:first-child {
|
.related-posts .page:first-child {
|
||||||
margin-left: 20px;
|
margin-left: var(--page-margin);
|
||||||
}
|
}
|
||||||
.related-posts .page:last-child {
|
.related-posts .page:last-child {
|
||||||
margin-right: 20px;
|
margin-right: var(--page-margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
.related-posts .page-list {
|
.related-posts .page-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
overflow-x: scroll;
|
overflow-x: auto;
|
||||||
|
margin-bottom: var(--page-margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
<hr class="full-width-hr">
|
|
Reference in New Issue
Block a user