@@ -4,19 +4,44 @@ import { theme } from 'core/theme';
44const { typography, spacing, palette, breakpoints } = theme ;
55const color = palette . customPalette ;
66
7- export const mainContainer = css `
8- width : 60% ;
9- margin : ${ spacing ( 10 ) } auto;
10- @media ( max-width : ${ breakpoints . values . lg } px) {
11- width : 80% ;
7+ export const root = css `
8+ display : grid;
9+ grid-template-columns : auto;
10+ grid-row-gap : 1rem ;
11+ grid-column-gap : 1rem ;
12+ padding : 1rem ;
13+
14+ @media ( min-width : ${ breakpoints . values . md } px) {
15+ padding : 2rem ;
16+ grid-template-columns : 1fr 6fr 1fr ;
17+ & > : nth-child ( n) {
18+ grid-column-start : 2 ;
19+ grid-column-end : 3 ;
20+ }
21+ }
22+
23+ @media ( min-width : ${ breakpoints . values . lg } px) {
24+ grid-template-columns : 1fr 4fr 1fr ;
25+ }
26+ ` ;
27+
28+ export const sessionName = css `
29+ @media ( min-width : ${ breakpoints . values . md } px) {
30+ justify-self : start;
1231 }
32+ font-size : 1.125rem ;
33+ text-align : center;
34+ border-bottom : 2px solid ${ color . primary } ;
35+ ` ;
36+
37+ export const label = css `
38+ display : block;
39+ font-family : ${ typography . fontFamily } ;
40+ font-size : 1.125rem ;
1341` ;
1442
15- export const studentBoard = css `
43+ export const textarea = css `
1644 box-sizing : border-box;
17- width : 100% ;
18- margin-top : ${ spacing ( 1.25 ) } ;
19- margin-bottom : ${ spacing ( 1.25 ) } ;
2045 padding : ${ spacing ( 2 ) } ;
2146 font-family : ${ typography . fontFamily } ;
2247 font-size : 1rem ;
@@ -28,18 +53,3 @@ export const studentBoard = css`
2853 outline : none;
2954 }
3055` ;
31-
32- export const labelTextarea = css `
33- display : block;
34- font-family : ${ typography . fontFamily } ;
35- font-size : 1.125rem ;
36- ` ;
37-
38- export const sessionName = css `
39- display : inline-block;
40- margin-bottom : ${ spacing ( 5 ) } ;
41- padding-bottom : ${ spacing ( 0.625 ) } ;
42- font-size : 1.125rem ;
43- text-align : center;
44- border-bottom : 2px solid ${ color . primary } ;
45- ` ;
0 commit comments