move theme related data from blog
to theme
This commit is contained in:
parent
2965ca04b0
commit
7b7be55499
68 changed files with 1393 additions and 1251 deletions
|
@ -1,5 +1,4 @@
|
|||
import styled, { css } from "styled-components"
|
||||
import theming from "../styles/theming"
|
||||
|
||||
import Card from "./Card"
|
||||
|
||||
|
@ -15,7 +14,8 @@ export const mainContentCSS = css`
|
|||
max-width: fit-content;
|
||||
}
|
||||
|
||||
@media screen and (max-width: ${theming.size.screen_size1}) {
|
||||
@media screen and (max-width: ${({ theme }) =>
|
||||
theme.theme.maxDisplayWidth.mobile}) {
|
||||
width: auto;
|
||||
margin: 1rem;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue