11import { css } from 'emotion' ;
22import { theme } from 'core/theme' ;
33import background from 'assets/bg-create-session.png' ;
4- const { spacing, breakpoints } = theme ;
4+
5+ const { spacing, breakpoints, palette } = theme ;
56
67export const mainContainer = css `
78 position : relative;
@@ -14,9 +15,15 @@ export const mainContainer = css`
1415 padding : 0 ;
1516 width : 100% ;
1617 height : calc ( 100vh - ${ spacing ( 86 ) } ) ;
17- @media screen and ( max-width : ${ breakpoints . values . md } px ) {
18+ @media screen and ( max-width : 960 px ) {
1819 background-image : none;
1920 }
21+
22+ @media ( max-width : 578px ) {
23+ height : calc ( 100vh - ${ spacing ( 147 ) } ) ;
24+ width : 90% ;
25+ margin : 0 auto;
26+ }
2027` ;
2128
2229export const buttonContainer = css `
@@ -29,12 +36,22 @@ export const buttonContainer = css`
2936 margin-left : auto;
3037 margin-right : auto;
3138 }
39+ @media ( max-width : 960px ) {
40+ margin-left : auto;
41+ }
3242` ;
3343
3444export const descriptionText = css `
3545 text-align : center;
3646 font-size : 1.8rem ;
3747 font-weight : 400 ;
48+
49+ @media ( max-width : 578px ) {
50+ font-size : 1.6rem ;
51+ }
52+ @media ( max-width : 380px ) {
53+ font-size : 1.5rem ;
54+ }
3855` ;
3956
4057export const createSessionBtn = css `
@@ -58,9 +75,27 @@ export const createSessionBtn = css`
5875 color : white;
5976 outline : none;
6077 }
78+ @media ( max-width : 578px ) {
79+ color : white;
80+ background : none;
81+ background-color : rgb ( 255 , 87 , 51 ) ;
82+ border : none;
83+ & : hover ,
84+ & : active {
85+ background-color : ${ palette . text . primary } ;
86+ outline : none;
87+ }
88+ }
89+ @media ( max-width : 380px ) {
90+ padding : ${ spacing ( 20 ) } ${ spacing ( 24 ) } ;
91+ font-size : 1.2rem ;
92+ }
6193` ;
6294
6395export const arrowIcon = css `
6496 margin-left : 0.8rem ;
6597 font-size : 2rem ;
98+ @media ( max-width : 380px ) {
99+ font-size : 1.6rem ;
100+ }
66101` ;
0 commit comments