Skip to content

Commit

Permalink
chore: Moved button style to higher css file (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanCodes authored Mar 14, 2022
1 parent 5920821 commit 94af2a4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
24 changes: 23 additions & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,28 @@
justify-content: center;
}

/*------------------------------*\
# TEXT
\*------------------------------*/

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-right { text-align: right; }

/*------------------------------*\
# BUTTON
\*------------------------------*/

.button {
padding: 0.5rem 1rem;
border: 0;
border-radius: 6px;
background-color: #4ca7c1;
color: white;
font-weight: bold;
}

.button:hover {
background-color: #4192a9;
cursor: pointer;
}
18 changes: 0 additions & 18 deletions src/Components/Containers/DetailContainer/DetailContainer.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,4 @@

.info-table td + td {
padding-left: 1rem;
}

/*------------------------------*\
# BUTTON
\*------------------------------*/

.button {
padding: 0.5rem 1rem;
border: 0;
border-radius: 6px;
background-color: #4ca7c1;
color: white;
font-weight: bold;
}

button:hover {
background-color: #4192a9;
cursor: pointer;
}

0 comments on commit 94af2a4

Please sign in to comment.