diff --git a/src/components/DateAndPlace.scss b/src/components/DateAndPlace.scss index fd61ae8..2385834 100644 --- a/src/components/DateAndPlace.scss +++ b/src/components/DateAndPlace.scss @@ -4,16 +4,29 @@ text-align: center; text-transform: uppercase; font-size: calc(10px + 2vmin); + margin-bottom: 1rem; h2 { font-family: 'Montserrat-Medium'; - font-size: 1.4rem; color: $brown-text !important; - margin-bottom: -0.7rem; + margin-bottom: -0.7rem !important; + + &.large { + font-size: 2rem !important; + } + &.small { + font-size: 1.4rem !important; + } } h3 { - font-size: 1rem; color: $brown-text !important; + + &.large { + font-size: 1.4rem !important; + } + &.small { + font-size: 0.8rem !important; + } } } diff --git a/src/components/DateAndPlace.tsx b/src/components/DateAndPlace.tsx index 0d9f041..bed6938 100644 --- a/src/components/DateAndPlace.tsx +++ b/src/components/DateAndPlace.tsx @@ -2,14 +2,14 @@ import './DateAndPlace.scss'; import { FormattedMessage } from 'react-intl'; -export const DateAndPlace = () => { +export const DateAndPlace = (props: { size: string }) => { return (
-

+

-

+

diff --git a/src/components/Diamond.tsx b/src/components/Diamond.tsx index c96d2be..981e573 100644 --- a/src/components/Diamond.tsx +++ b/src/components/Diamond.tsx @@ -1,3 +1,5 @@ +import './Diamond.scss'; + export const Diamond = () => { return ( { - + ); }; diff --git a/src/pages/Main.tsx b/src/pages/Main.tsx index 4588ec3..2bd3dfd 100644 --- a/src/pages/Main.tsx +++ b/src/pages/Main.tsx @@ -49,7 +49,7 @@ export const Main = () => { ) : (
- +
)}