Skip to content

Commit

Permalink
Merge pull request #65 from CornellDataScience/fixed_about
Browse files Browse the repository at this point in the history
fixed_about
  • Loading branch information
cadejin2 authored May 2, 2024
2 parents 6dd1d93 + 41bdfbc commit 5b108a9
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 47 deletions.
156 changes: 121 additions & 35 deletions front-end/mathsearch/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
/* App.css */

.App {

font-family: Arial, sans-serif;
}

Expand All @@ -56,77 +57,81 @@
/* Changed header color to dark */
padding: 30px 0;
text-align: center;

}

body {

font-family: "Montserrat", sans-serif;
/* Change the font family here */

}


.App-main {

display: flex;
flex-direction: column;


text-align: center;
/* Align text inside the main container */

}

.mission-section {

background-image: url('../public/background.png');
background-size: cover;
display: flex;
align-items: center;
flex-direction: row;
}


}

.mission-text {

animation: fadeIn 1s ease-in forwards;
padding-left: 10%;
padding-right: 10%;
padding-bottom: 130px;

color: white;
width: 50%;
text-align: left;

}

h1 {

font-size: 60px;

}

h2 {

font-size: 42px;
}

h3 {

font-size: 48px;
}

p {

font-size: 24px;

}

li {

font-size: 22px;
}

.mission-image {

width: 50%;
align-items: center;

}

.mission-image img {

padding-top: 100px;
padding-bottom: 100px;
width: 70%;
Expand All @@ -135,12 +140,14 @@ li {

.problem {

padding-top: 5%;
padding-bottom: 5%;
display: flex;
flex-direction: row;

}

.problem-left {

animation: fadeIn 1s ease-in forwards;
width: 50%;
text-align: left;
Expand All @@ -151,6 +158,7 @@ li {
}

.problem-right {

animation: fadeIn 1s ease-in forwards;
width: 50%;
text-align: left;
Expand All @@ -160,71 +168,60 @@ li {
margin-right: 15%;
}


.dot-list {

list-style-type: disc;
}


.features {

background-image: url('../public/background.png');
background-size: cover;
color: white;
align-items: center;

padding-top: 5%;
}

.features-content {

display: flex;

justify-content: center;
/* Center horizontally */

align-items: center;
flex-direction: row;
padding-top: 100px;
padding-bottom: 100px;

}

.step {

width: 250px;
margin-left: 5%;
margin-right: 5%;

}







.team-section {



background-color: rgb(230, 230, 230);
text-align: center;
align-items: center;

padding-top: 5%;
}

.team-section-content {
display: flex;

display: flex;
padding: 10px 0;
justify-content: center;


}

.team-list {

list-style: none;
margin-left: 100px;
margin-right: 100px;
margin-left: 50px;
margin-right: 50px;
padding: 0;
/* Remove default padding */
}

.team-list li {
Expand All @@ -239,25 +236,114 @@ li {
padding: 20px 0;
}


@media screen and (max-width: 600px) {
.mission-section {
flex-direction: column;
/* Change to vertical stacking on small screens */
}

.problem {

flex-direction: column;
}

.features-content {

flex-direction: column;
justify-content: center;
/* Center horizontally */
align-items: center;
padding-top: 10px;
padding-bottom: 50px;

}

.team-section-content {

flex-direction: column;
padding: 0px;
}

.mission-text {

padding-left: 5%;
padding-right: 5%;
padding-bottom: 0px;
width: 90%;
}

.mission-section {

flex-direction: column;
/* Change to vertical stacking on small screens */
align-items: left;
padding-top: 50px;
padding-bottom: 20px;
}

.mission-image img {

padding-top: 10px;
padding-bottom: 10px;
width: 70%;
}

.problem-left {

animation: fadeIn 1s ease-in forwards;
width: 80%;
text-align: left;
padding-top: 0px;
padding-bottom: 10px;
margin-left: 10%;
margin-right: 10%;
}

.problem-right {

animation: fadeIn 1s ease-in forwards;
width: 80%;
text-align: left;
padding-top: 0px;
padding-bottom: 0px;
margin-left: 10%;
margin-right: 10%;
}

h1 {

font-size: 60px;
}

h2 {

font-size: 30px;
}

h3 {

font-size: 30px;
}

p {

font-size: 20px;
}

li {

font-size: 20px;
}

.team-list li {

margin: 10px;
font-size: 12px;
}

.step {

width: 250px;
margin-left: 5%;
margin-right: 5%;
padding: 1%;
margin-top: 10%;
border: 2px solid #ccc;
}
}
Loading

0 comments on commit 5b108a9

Please sign in to comment.