Marks.Guitar-Assistant-ui / css /exercises.css
Raheel Abdul Rehman
Update space
240dc68
Raw
History Blame Contribute Delete
2.72 kB
/* Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #ffffff;
color: #111111;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
text-align: center;
padding: 2rem;
}
/* Container */
.container {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}
/* Headings */
h1 {
font-size: 2.5rem;
font-weight: 600;
margin-bottom: 1rem;
}
/* Image Carousel */
.carousel-container {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
}
/* Image Carousel Wrapper */
.carousel-image-wrapper {
width: 800px;
height: 500px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
border-radius: 12px;
background-color: transparent; /* changed from #f0f0f0 to transparent */
}
.carousel-image-wrapper img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
transition: all 0.3s ease-in-out;
}
/* Metronome Carousel */
.tempo-carousel {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
}
#tempo-list {
display: flex;
list-style: none;
gap: 1rem;
padding: 0;
margin: 0;
width: 300px;
justify-content: center;
}
#tempo-list li {
min-width: 80px;
padding: 0.5rem 1rem;
text-align: center;
font-weight: 500;
cursor: pointer;
color: #bbb;
flex-shrink: 0;
transition: all 0.3s ease-in-out;
}
#tempo-list li.center {
color: #111;
font-weight: 700;
transform: scale(1.2);
}
#tempo-list li.adjacent {
color: #999;
transform: scale(1.05);
}
/* Carousel Buttons */
.carousel-btn {
font-size: 2rem;
font-weight: 600;
padding: 0.25rem 0.5rem;
color: #111;
border: none;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s ease-in-out;
background: transparent;
}
.carousel-btn:hover {
background: rgba(0,0,0,0.1);
transform: scale(1.15);
}
/* Play / Stop Buttons Container */
.controls {
display: flex; /* make buttons horizontal */
justify-content: center;
align-items: center;
gap: 1rem; /* space between buttons */
margin-top: 1rem;
}
/* Play / Stop Buttons */
#play-btn, #stop-btn {
width: 70px;
height: 45px;
font-size: 1.3rem;
display: flex;
justify-content: center;
align-items: center;
color: #000;
border: none;
border-radius: 6px;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
transition: all 0.3s ease-in-out;
margin: 0 0.5rem;
}
#play-btn:hover, #stop-btn:hover {
background: #bbb;
box-shadow: 0 4px 12px rgba(0,0,0,0.25);
transform: scale(1.1);
}