restructure project to use turborepo
This commit is contained in:
parent
670ab793da
commit
90c535ebb2
181 changed files with 18477 additions and 10909 deletions
28
apps/blog/src/components/MainContent.tsx
Normal file
28
apps/blog/src/components/MainContent.tsx
Normal file
|
@ -0,0 +1,28 @@
|
|||
import styled, { css } from "styled-components"
|
||||
import theming from "../styles/theming"
|
||||
|
||||
import Card from "./Card"
|
||||
|
||||
export const mainContentCSS = css`
|
||||
margin-top: 1rem;
|
||||
width: 50%;
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
table img {
|
||||
max-width: fit-content;
|
||||
}
|
||||
|
||||
@media screen and (max-width: ${theming.size.screen_size1}) {
|
||||
width: auto;
|
||||
margin: 1rem;
|
||||
}
|
||||
`
|
||||
|
||||
const MainContent = styled(Card)`
|
||||
${mainContentCSS}
|
||||
`
|
||||
|
||||
export default MainContent
|
Loading…
Add table
Add a link
Reference in a new issue