File tree Expand file tree Collapse file tree 3 files changed +34
-27
lines changed Expand file tree Collapse file tree 3 files changed +34
-27
lines changed Original file line number Diff line number Diff line change 3
3
<p >
4
4
<a href =" https://gitmoji.dev " ><img src =" https://img.shields.io/badge/gitmoji-%20😜-FFDD67.svg " >
5
5
<a href =" https://github.com/UltiRequiem/SimonDice.js/blob/main/LICENSE " ><img alt =" License: MIT " src =" https://black.readthedocs.io/en/stable/_static/license.svg " ></a >
6
- < a href = " https://github.com/UltiRequiem/SimonDice.js " >< img alt = " Code style: black " src = " https://img.shields.io/tokei/lines/ github.com /UltiRequiem/SimonDice.js-2018?color=blue&label=Total%20Lines " ></ a >
6
+ ![ https://github.com/UltiRequiem/SimonDice.js ] ( https://tokei.rs/b1/ github/UltiRequiem/SimonDice.js?category=lines )
7
7
</p >
8
8
9
9
![ Screenshot] ( ./img/screenshot.png )
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< link rel ="shortcut icon " href ="./img/icon.png " />
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
5
6
< meta charset ="utf-8 " />
6
7
< title > Simon Dice</ title >
7
8
< link rel ="stylesheet " href ="./styles.css " />
17
18
</ button >
18
19
</ div >
19
20
< script src ="./script.js "> </ script >
21
+ < script src ="https://unpkg.com/sweetalert/dist/sweetalert.min.js "> </ script >
20
22
</ body >
21
23
</ html >
Original file line number Diff line number Diff line change 1
1
body {
2
2
margin : 0 ;
3
- background : # dedede ;
3
+ background : # e9e9e9 ;
4
4
display : flex;
5
5
align-items : center;
6
6
height : 100vh ;
7
+ font-family : system-ui;
7
8
}
8
9
9
10
.gameboard {
14
15
margin : 0 auto;
15
16
max-height : 60vh ;
16
17
max-width : 60vh ;
18
+ box-shadow : 5px 5px 20px rgba (0 , 0 , 0 , 0.3 );
17
19
}
18
20
19
21
.color {
@@ -31,50 +33,47 @@ body {
31
33
}
32
34
33
35
.celeste {
34
- background : # 22a6b3 ;
36
+ background : # 22377c ;
37
+ transition : 0.2s ;
35
38
}
36
39
37
40
.celeste .light {
38
- background : # 7ed6df ;
41
+ background : # 123ece ;
42
+ transform : scale (1.03 );
43
+ box-shadow : 5px 5px 15px rgba (0 , 0 , 0 , 0.2 );
39
44
}
40
45
41
46
.violeta {
42
- background : # be2edd ;
47
+ background : # 7b1592 ;
48
+ transition : 0.2s ;
43
49
}
44
50
45
51
.violeta .light {
46
- background : # e056fd ;
52
+ background : # bf0ce7 ;
53
+ transform : scale (1.03 );
54
+ box-shadow : 5px 5px 15px rgba (0 , 0 , 0 , 0.2 );
47
55
}
48
56
49
57
.naranja {
50
- background : # f0932b ;
58
+ background : # a32727 ;
59
+ transition : 0.2s ;
51
60
}
52
61
53
62
.naranja .light {
54
- background : # ffbe76 ;
63
+ background : # e61111 ;
64
+ transform : scale (1.03 );
65
+ box-shadow : 5px 5px 15px rgba (0 , 0 , 0 , 0.2 );
55
66
}
56
67
57
68
.verde {
58
- background : # 6ab04c ;
69
+ background : # 1c864c ;
70
+ transition : 0.2s ;
59
71
}
60
72
61
73
.verde .light {
62
- background : # badc58 ;
63
- }
64
-
65
- .btn-start {
66
- width : 400px ;
67
- height : 100px ;
68
- background : # ecf0f1 ;
69
- color : # 2c3e50 ;
70
- font-size : 2.5rem ;
71
- position : absolute;
72
- top : calc (50% - 50px );
73
- left : calc (50% - 200px );
74
- }
75
-
76
- .hide {
77
- display : none;
74
+ background : # 10e46f ;
75
+ transform : scale (1.03 );
76
+ box-shadow : 5px 5px 15px rgba (0 , 0 , 0 , 0.2 );
78
77
}
79
78
80
79
.btn-start {
@@ -84,9 +83,10 @@ body {
84
83
background : # ecf0f1 ;
85
84
color : # 2c3e50 ;
86
85
border : none;
87
- border-bottom : 4 px solid # c4c6c7 ;
86
+ border : 2 px solid # 2c3e50 ;
88
87
border-radius : 8px ;
89
- font-size : 3em ;
88
+ font-size : 2em ;
89
+ letter-spacing : 1.5px ;
90
90
position : absolute;
91
91
top : calc (50% - 50px );
92
92
left : calc (50% - 210px );
@@ -98,8 +98,13 @@ body {
98
98
color : # ecf0f1 ;
99
99
background : # 2c3e50 ;
100
100
border-bottom : 4px solid # 1f3346 ;
101
+ letter-spacing : -1px ;
101
102
}
102
103
103
104
.btn-start : active {
104
105
transform : scale (0.95 );
105
106
}
107
+
108
+ .hide {
109
+ display : none;
110
+ }
You can’t perform that action at this time.
0 commit comments