File tree Expand file tree Collapse file tree 5 files changed +42
-8
lines changed
Expand file tree Collapse file tree 5 files changed +42
-8
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const Demo = () => {
2222 ) ;
2323 }
2424 return (
25- < div className = 'demo text-black bg-white ' > { demos } </ div >
25+ < div className = 'demo' > { demos } </ div >
2626 ) ;
2727} ;
2828
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const DemoCard = ({ header, blurb }: {
66 header : string
77 } ) => {
88 return (
9- < div className = 'demoCard gap-5 p-1 mb-2 text-center ' >
9+ < div className = 'demoCard' >
1010 < Image
1111 src = 'https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExaW9tcWttZ3R0YTVpNWxwcGJ4M2YyZ2ExcmxlazN5N3JyenF0ajl4dCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/FqdGGgugkC4Xm/giphy.gif'
1212 alt = ''
@@ -18,7 +18,7 @@ const DemoCard = ({ header, blurb }: {
1818 height : "auto" ,
1919 } }
2020 />
21- < div className = 'text-2xl ' > { header } </ div >
21+ < div className = 'demoCardHeader ' > { header } </ div >
2222 { blurb }
2323 </ div >
2424 ) ;
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ const FeatureCard = ({ header, blurb }: {
44 header : string
55} ) => {
66 return (
7- < div className = 'featureCard p-1 mb-2 ' >
8- < div className = 'text-2xl ' > { header } </ div >
7+ < div className = 'featureCard' >
8+ < div className = 'featureCardHeader ' > { header } </ div >
99 { blurb }
1010 </ div >
1111 ) ;
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ const Features = () => {
2929 ) ;
3030 }
3131 return (
32- < div className = 'features p-2 mb-20 text-center text-black bg-white ' >
33- < div className = 'text-3xl mb-2 ' > { featureHeader } </ div >
34- < div className = 'mb-2 ' > { featureLongBlurb } </ div >
32+ < div className = 'features' >
33+ < div className = 'featureHeader ' > { featureHeader } </ div >
34+ < div className = 'featureLongBlurb ' > { featureLongBlurb } </ div >
3535 < div className = '' > { cards } </ div >
3636 </ div >
3737 ) ;
Original file line number Diff line number Diff line change @@ -168,6 +168,20 @@ body {
168168 width : 100% ;
169169 display : grid;
170170 place-items : center;
171+ padding : 0.5rem ;
172+ margin-bottom : 5rem ;
173+ text-align : center;
174+ color : black;
175+ background-color : white;
176+ }
177+
178+ .featureHeader {
179+ font-size : 1.875rem ;
180+ margin-bottom : 0.5rem ;
181+ }
182+
183+ .featureLongBlurb {
184+ margin-bottom : 0.5rem ;
171185}
172186
173187.featureCard {
@@ -177,6 +191,12 @@ body {
177191 display : grid;
178192 grid-template-columns : 100% ;
179193 grid-template-rows : min-content;
194+ padding : 0.5rem ;
195+ margin-bottom : 0.5rem ;
196+ }
197+
198+ .featureCardHeader {
199+ font-size : 1.5rem ;
180200}
181201
182202.demo {
@@ -186,6 +206,20 @@ body {
186206 display : grid;
187207 grid-template-columns : 100% ;
188208 grid-template-rows : calc (100% / 3 ) calc (100% / 3 ) calc (100% / 3 );
209+ color : black;
210+ background-color : white;
211+ margin-bottom : 5rem ;
212+ }
213+
214+ .demoCard {
215+ gap : 1.25rem ;
216+ padding : 0.25rem ;
217+ margin-bottom : 5rem ;
218+ text-align : center;
219+ }
220+
221+ .demoCardHeader {
222+ font-size : 1.5rem ;
189223}
190224
191225.demoSplit {
You can’t perform that action at this time.
0 commit comments