Skip to content

Commit

Permalink
added css to app
Browse files Browse the repository at this point in the history
  • Loading branch information
jcqlng committed Aug 15, 2020
1 parent 636b87b commit 3f4da11
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 30 deletions.
45 changes: 15 additions & 30 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,38 +1,23 @@
.App {
text-align: center;
}

.App-logo {
height: 40vmin;
pointer-events: none;
}
.body {
padding-top: 6rem;

@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}

.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
h1,
h2 {
text-align: center;
background-color: grey;
color: white;
}

.App-link {
color: #61dafb;
}

@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
h1 {
padding-top: 3rem;
padding-bottom: 2rem;
margin-bottom: 0;
font-size: 4.5rem;
}

h2 {
padding: 0rem 15rem 4rem 15rem;
}
5 changes: 5 additions & 0 deletions src/styles/header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.header-container {
height: 10rem;
padding: 0;
background-color: aquamarine
}
25 changes: 25 additions & 0 deletions src/styles/navbar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.red {
color: red;
}

.green {
color: green;
}

.navbar-container {
background-color: #3a069b;
font-size: 1.5rem;
padding-left: 5rem;
padding-right: 5rem;
height: 6rem;
font-size: 2rem;

}

.nav-title {
font-size: 2.5rem;
}

.navbar-light .navbar-text {
color: white;
}
13 changes: 13 additions & 0 deletions src/styles/score.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.modal-container {
margin-top: 10rem;

}

.modal-title {

}

p {
text-align: center;
font-size: 2.5rem;
}

0 comments on commit 3f4da11

Please sign in to comment.