diff --git a/themes/default/theme.css b/themes/default/theme.css index 0f9c2e9..0b642dc 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -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; }