Skip to content

Commit 75a92e5

Browse files
authored
Improve button and label styling (#16)
1 parent f2890a3 commit 75a92e5

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

src/components/Button/Button.module.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,31 @@
55
outline: none;
66
color: #ffffff;
77
background: rgba(209, 0, 166, 0.7);
8+
89
border: 4px solid white;
910
font-size: 18px;
1011
font-family: 'Lato', sans-serif;
1112
font-weight: 700;
1213
text-transform: uppercase;
14+
letter-spacing: 0.0625rem;
1315
transition: background, box-shadow 0.1s ease;
1416
box-shadow: 0px 12px 15px rgba(0, 0, 0, 0.3), 0px 5px 8px rgba(0, 0, 0, 0.2);
1517
}
1618
.btn:focus {
1719
box-shadow: 0px 18px 20px rgba(0, 0, 0, 0.3), 0px 5px 8px rgba(0, 0, 0, 0.2);
20+
background: linear-gradient(
21+
45deg,
22+
rgba(209, 0, 166, 0.7) 0%,
23+
rgba(255, 0, 96, 0.8) 100%
24+
);
1825
}
1926
.btn:hover {
2027
box-shadow: 0px 18px 20px rgba(0, 0, 0, 0.3), 0px 5px 8px rgba(0, 0, 0, 0.2);
28+
background: linear-gradient(
29+
45deg,
30+
rgba(209, 0, 166, 0.7) 0%,
31+
rgba(255, 0, 96, 0.8) 100%
32+
);
2133
}
2234
.btn:active {
2335
box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.3), 0px 2px 8px rgba(0, 0, 0, 0.2);

src/components/DurationInput/DurationInput.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
font-family: 'Lato', sans-serif;
2121
font-weight: 700;
2222
text-align: center;
23+
letter-spacing: 0.0625rem;
2324
}
2425
.textInput {
2526
border: none;

src/components/Input/Input.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ input[type='number'] {
3030
font-size: 12px;
3131
font-family: 'Lato', sans-serif;
3232
font-weight: 700;
33+
letter-spacing: 0.0625rem;
3334
}
3435

3536
@media only screen and (orientation: landscape) {

0 commit comments

Comments
 (0)