Skip to content

Commit

Permalink
made all the buttons look like the details (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Bos <[email protected]>
  • Loading branch information
virtually-stray and rajbos authored Jun 19, 2024
1 parent 2caedea commit 279f153
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
:root {
/* defines the background color of the buttons globally,
making it easier to modify in the future and reuse throughout the site */
--button-color: #007bff;
--hover-button-color: #0056b3;

}

/* Main container styling */
#main-container {
display: flex;
Expand All @@ -7,11 +15,32 @@
flex-direction: row;
}

/*
.back-button {
background-color: #0056b3;
padding: 16px;
margin: 7px;
}
*/

.back-button {
/* this class will be used to make the buttons look all the same */
padding: 10px 20px;
margin-bottom: 20px;

color: white;
background-color: var(--button-color);

border-radius: 5px;

text-decoration: none;

transition: background-color 0.3s ease;
}

.back-button:hover {
background-color: var( --hover-button-color);
}

.sku-grid {
flex: 1;
Expand Down

0 comments on commit 279f153

Please sign in to comment.