Skip to content

Commit 4052bf7

Browse files
committed
good enough
1 parent 732874b commit 4052bf7

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

src/components/Game/StartScreen.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,24 @@
88
z-index: 40;
99
display: flex;
1010
justify-content: center;
11-
align-items: flex-start;
11+
align-items: center;
1212
padding: 20px;
1313
overflow-y: auto;
1414
}
1515

1616
.start-screen-content {
1717
width: 400px;
1818
max-width: 100%;
19-
margin: auto;
2019
display: flex;
2120
flex-direction: column;
21+
align-items: center;
22+
justify-content: center;
23+
gap: 10px;
2224
padding: 30px;
2325
background-color: var(--color-header);
2426
border-radius: 12px;
2527
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
28+
margin: auto;
2629
}
2730

2831
@media (max-height: 700px) {
@@ -37,7 +40,6 @@
3740

3841
.start-button {
3942
padding: 0.7rem 1.2rem;
40-
margin: 15px auto;
4143
}
4244

4345
.difficulty-buttons {
@@ -48,7 +50,6 @@
4850
@media (max-width: 550px) {
4951
.start-screen-content {
5052
width: 100%;
51-
padding: 20px;
5253
border-radius: 0;
5354
box-shadow: none;
5455
background-color: var(--color-background);
@@ -65,7 +66,6 @@
6566

6667
.start-button {
6768
width: 210px;
68-
margin: 20px auto;
6969
display: flex;
7070
align-items: center;
7171
justify-content: center;
@@ -80,6 +80,8 @@
8080
font-weight: 500;
8181
transition: background-color 0.2s;
8282
font-family: var(--font-family-base);
83+
margin-top: auto;
84+
align-self: center;
8385
}
8486

8587
.start-button:hover:not(:disabled) {

src/components/Settings/SettingsPanel.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@
4242
color: var(--color-text);
4343
}
4444

45-
.settings-section {
46-
margin-bottom: 10px;
47-
}
48-
4945
.settings-section h3 {
5046
margin-bottom: 15px;
5147
color: var(--color-text);

0 commit comments

Comments
 (0)