Skip to content

Commit acb1798

Browse files
committed
Move block styles css to its own directory
1 parent f63f240 commit acb1798

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

src/styles/block-styles/compact.css

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
body.block-style-compact .game-space {
2+
top: 50%;
3+
}
4+
5+
body.block-style-compact .input-row {
6+
max-height: 3rem;
7+
}
8+
9+
body.block-style-compact .back-row {
10+
max-height: 3rem;
11+
}
12+
13+
body.block-style-compact .box {
14+
padding: 1.25em;
15+
}

src/styles/game/panes/game.css

-16
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
top: 40%;
99
}
1010

11-
body.block-style-compact .game-space {
12-
top: 50%;
13-
}
14-
1511
.back-rows {
1612
position: absolute;
1713
padding: 2px;
@@ -43,20 +39,12 @@ body.block-style-compact .game-space {
4339
align-items: center;
4440
}
4541

46-
body.block-style-compact .input-row {
47-
max-height: 3rem;
48-
}
49-
5042
.back-row {
5143
display: flex;
5244
justify-content: center;
5345
align-items: center;
5446
}
5547

56-
body.block-style-compact .back-row {
57-
max-height: 3rem;
58-
}
59-
6048
/* Boxes */
6149

6250
.box {
@@ -74,10 +62,6 @@ body.block-style-compact .back-row {
7462
transition: transform 0.25s ease, top 0.1s ease, left 0.1s ease;
7563
}
7664

77-
body.block-style-compact .box {
78-
padding: 1.25em;
79-
}
80-
8165
.box .box-letter {
8266
display: block;
8367
position: absolute;

src/styles/global.css

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@import url("./themes/classic.css");
1414
@import url("./themes/snow.css");
1515

16+
@import url("./block-styles/compact.css");
17+
1618
@import url("./debug.css");
1719

1820
/* Fonts */

0 commit comments

Comments
 (0)