Skip to content

Commit 93f0dff

Browse files
committed
Tweak button designs
1 parent ade1adc commit 93f0dff

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

css/flip.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ button,
66
background-color: rgba(255, 255, 255, 0.0605);
77
border: 1px solid rgba(255, 255, 255, 0.093);
88
border-radius: 3px;
9+
padding: 0.4em;
910
text-align: center;
10-
min-height: 1em;
11-
font-size: 1.1em;
11+
font-size: 0.8em;
1212
transition: all 187ms Cubic-Bezier(0, 0, 0, 1);
1313
}
1414

@@ -43,6 +43,7 @@ button:active,
4343
max-width: 8em;
4444
min-height: 1em;
4545
width: 100%;
46+
font-size: 1.1em;
4647
transition: all 187ms Cubic-Bezier(0, 0, 0, 1);
4748
}
4849

css/styles.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,11 @@ textarea {
220220

221221
button.active {
222222
background-color: #e3b2da;
223-
color: white;
223+
color: rgba(0, 0, 0, 0.7);
224+
}
225+
226+
button.active:hover {
227+
background-color: #f1bae7;
224228
}
225229

226230
@keyframes rotate {

0 commit comments

Comments
 (0)