File tree Expand file tree Collapse file tree 5 files changed +23
-8
lines changed
Expand file tree Collapse file tree 5 files changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function RootLayout(){
1212 < >
1313 < ScrollRestoration />
1414
15- < div className = "header flex items-center justify-between gap-6 " >
15+ < div className = "header flex items-center justify-between gap-4 " >
1616
1717 < div className = "flex items-center gap-2" >
1818 < Link to = '/' >
@@ -27,8 +27,8 @@ function RootLayout(){
2727
2828 </ div >
2929
30- < a href = "https://www.ucf.edu/" target = "_blank" className = "w-fit h-[75px]" >
31- < img className = "rounded-sm max- h-[100%]" src = { ucfLogo } alt = "UCF logo" > </ img >
30+ < a href = "https://www.ucf.edu/" target = "_blank" className = "h-[75px] shrink-0 " >
31+ < img className = "rounded-sm h-[100%] object-contain " src = { ucfLogo } alt = "UCF logo" > </ img >
3232 </ a >
3333
3434 </ div >
Original file line number Diff line number Diff line change 22
33: root {
44 margin : 0 auto;
5- padding : 1.5 rem ;
5+ padding : 1 rem ;
66
77}
88
@@ -34,6 +34,10 @@ body {
3434 duration-200;
3535 }
3636
37+ .topic-header {
38+ margin-bottom : .25rem ;
39+ }
40+
3741 .topic-box {
3842 @apply h-20 flex w-1/2 items-center justify-center
3943 bg-amber-300 rounded-lg hover:bg-amber-400 transition transform hover:scale-103
@@ -59,12 +63,23 @@ body {
5963 font-weight : bold;
6064 }
6165
66+ @media (max-width : 768px ) {
67+
68+ .topic-list {
69+ @apply gap-4;
70+ }
71+ }
72+
73+
6274 h1 {
6375 font-size : 2rem ;
76+ line-height : 1.25 ;
77+
6478 }
6579
6680 h2 {
6781 font-size : 1.75rem ;
82+ line-height : 1.25 ;
6883 }
6984
7085 h3 {
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ function Derivatives() {
1111 < div >
1212 < button className = "back-button" onClick = { ( ) => navigate ( - 1 ) } > ‹ Back</ button >
1313
14- < div className = "flex flex-col flex-grow justify-center gap-6 items-center" >
15- < h2 style = { { marginBottom : '1rem' } } > The Derivative of Common Functions</ h2 >
14+ < div className = "flex flex-col flex-grow justify-center gap-6 items-center topic-list " >
15+ < h2 className = "topic-header" > The Derivative of Common Functions</ h2 >
1616
1717 < Link to = "/derivatives/linear" className = "topic-box" >
1818 < button className = "px-10 text-2xl cursor-pointer" > Linear</ button >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function Integrals(){
1212 < button className = "back-button" onClick = { ( ) => navigate ( - 1 ) } > ‹ Back</ button >
1313
1414 < div className = "flex flex-col flex-grow justify-center gap-6 items-center" >
15- < h2 style = { { marginBottom : '1rem' } } > The Integral of Common Functions</ h2 >
15+ < h2 className = "topic-header" > The Integral of Common Functions</ h2 >
1616
1717
1818 < Link to = "/integrals/linear" className = "topic-box" >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ function Limits() {
1111 < button className = "back-button" onClick = { ( ) => navigate ( - 1 ) } > ‹ Back</ button >
1212
1313 < div className = "flex flex-col flex-grow justify-center gap-6 items-center" >
14- < h2 style = { { marginBottom : '1rem' } } > The Limit of Common Functions</ h2 >
14+ < h2 className = "topic-header" > The Limit of Common Functions</ h2 >
1515
1616 < Link to = "/limits/parabola" className = "topic-box" >
1717 < button className = "px-10 text-2xl cursor-pointer" > Parabola</ button >
You can’t perform that action at this time.
0 commit comments