mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
Use CSS grid instead of flexbox to style the suggested pages
This commit is contained in:
parent
607c9f8529
commit
a497f7aea1
1 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,8 @@ summary { cursor: pointer; }
|
|||
|
||||
.similar-page-suggestions { padding: 1em 2em; background: var(--bg-page-inset); /*box-shadow: 0 0.1rem 1rem 0.3rem var(--shadow);*/ }
|
||||
.similar-page-suggestions > h2 { text-align: center; }
|
||||
.similar-page-suggestions-list { list-style-type: none; display: flex; flex-wrap: wrap; justify-content: space-evenly; }
|
||||
.similar-page-suggestions-list { list-style-type:none;
|
||||
padding: 0; display: grid; grid:auto / repeat(auto-fit, minmax(min(15em, 100%), 1fr)); justify-items: center; grid-gap: 1em; }
|
||||
|
||||
.comments { padding: 1em 2em; background: var(--bg-comments-1); box-shadow: 0 0.1rem 1rem 0.3rem var(--shadow); }
|
||||
.comments .not-logged-in { padding: 0.3em 0.65em; background: var(--bg-comments-2); border-radius: 0.2em; font-style: italic; }
|
||||
|
|
Loading…
Reference in a new issue