Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
chocolate/styles.css
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
55 lines (48 sloc)
906 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: Arial, sans-serif; | |
margin: 20px; | |
background-color: #f5f5f5; | |
} | |
.container { | |
max-width: 1200px; | |
margin: 0 auto; | |
} | |
.controls { | |
text-align: center; | |
margin: 20px 0; | |
} | |
.button { | |
padding: 10px 20px; | |
margin: 10px; | |
font-size: 16px; | |
cursor: pointer; | |
background-color: #8B4513; | |
color: white; | |
border: none; | |
border-radius: 5px; | |
} | |
.chocolate-grid { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
gap: 20px; | |
padding: 20px; | |
} | |
.chocolate-card { | |
background-color: cream; | |
padding: 15px; | |
border-radius: 8px; | |
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
text-align: center; | |
} | |
.chocolate-card img { | |
width: 150px; | |
height: 150px; | |
object-fit: cover; | |
margin-bottom: 10px; | |
} | |
.details { | |
display: none; | |
font-size: 14px; | |
margin-top: 10px; | |
text-align: left; | |
} |