mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Use auto-fill in link-grid
This commit is contained in:
parent
64772b0dec
commit
6548d0b865
@ -3,14 +3,10 @@
|
||||
// https://caniuse.com/mdn-css_properties_gap_grid_context
|
||||
grid-gap: 1.5rem;
|
||||
gap: 1.5rem;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
margin-bottom: 20px;
|
||||
padding: 1rem;
|
||||
|
||||
+mobile() {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.link-grid-container {
|
||||
border: solid $grey-lighter;
|
||||
box-shadow: 1rem 1rem .5rem rgba(0, 0, 0, .5);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user