File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 480
480
481
481
.game-intro {
482
482
float : left;
483
- line-height : 42px ; }
483
+ line-height : 42px ;
484
+ margin-bottom : 0 ; }
484
485
485
486
.restart-button {
486
487
display : inline-block;
536
537
margin-top : 2px ; }
537
538
538
539
.game-container {
539
- margin-top : 40 px ;
540
+ margin-top : 10 px ;
540
541
position : relative;
541
542
padding : 10px ;
542
543
cursor : default;
692
693
-moz-transform : translate (202px , 202px );
693
694
transform : translate (202px , 202px ); }
694
695
695
- .game-container {
696
- margin-top : 20px ; }
697
-
698
696
.tile .tile-inner {
699
697
font-size : 35px ; }
700
698
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ $tile-color: #eee4da;
16
16
$tile-gold-color : #edc22e ;
17
17
$tile-gold-glow-color : lighten ($tile-gold-color , 15% );
18
18
19
+ $game-container-margin-top : 40px ;
19
20
$game-container-background : #bbada0 ;
20
21
21
22
$transition-speed : 100ms ;
169
170
// Game field mixin used to render CSS at different width
170
171
@mixin game-field {
171
172
.game-container {
172
- margin-top : 40 px ;
173
+ margin-top : $game-container-margin-top ;
173
174
position : relative ;
174
175
padding : $grid-spacing ;
175
176
@@ -447,20 +448,17 @@ hr {
447
448
448
449
.above-game {
449
450
@include clearfix ;
450
- // margin-bottom: 10px;
451
451
}
452
452
453
453
.game-intro {
454
454
float : left ;
455
455
line-height : 42px ;
456
- // margin-bottom: 0;
456
+ margin-bottom : 0 ;
457
457
}
458
458
459
459
.restart-button {
460
460
@include button ;
461
461
display : block ;
462
- // width: 100px;
463
- // margin: 10px auto 10px auto;
464
462
text-align : center ;
465
463
float : right ;
466
464
}
476
474
$grid-row-cells : 4 ;
477
475
$tile-size : ($field-width - $grid-spacing * ($grid-row-cells + 1 )) / $grid-row-cells ;
478
476
$tile-border-radius : 3px ;
477
+ $game-container-margin-top : 10px ;
479
478
480
479
html , body {
481
480
font-size : 15px ;
@@ -525,10 +524,6 @@ hr {
525
524
// Render the game field at the right width
526
525
@include game-field ;
527
526
528
- .game-container {
529
- margin-top : 20px ;
530
- }
531
-
532
527
// Rest of the font-size adjustments in the tile class
533
528
.tile .tile-inner {
534
529
font-size : 35px ;
You can’t perform that action at this time.
0 commit comments