|
|
|
|
|
|
|
|
|
|
|
|
|
const Style = () => { |
|
return <style jsx global>{` |
|
// 底色 |
|
body{ |
|
background-color: #eeedee; |
|
} |
|
.dark body{ |
|
background-color: black; |
|
} |
|
|
|
|
|
#theme-fukasawa .grid-item { |
|
height: auto; |
|
break-inside: avoid-column; |
|
margin-bottom: .5rem; |
|
} |
|
|
|
|
|
@media (min-width: 1024px) { |
|
#theme-fukasawa .grid-container { |
|
column-count: 3; |
|
column-gap: .5rem; |
|
} |
|
} |
|
|
|
|
|
@media (min-width: 640px) and (max-width: 1023px) { |
|
#theme-fukasawa .grid-container { |
|
column-count: 2; |
|
column-gap: .5rem; |
|
} |
|
} |
|
|
|
|
|
@media (max-width: 639px) { |
|
#theme-fukasawa .grid-container { |
|
column-count: 1; |
|
column-gap: .5rem; |
|
} |
|
} |
|
`}</style> |
|
} |
|
|
|
export { Style } |
|
|