-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.scss
127 lines (106 loc) · 2.06 KB
/
main.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700&subset=latin-ext');
$black1: #353535;
$black2: #424242;
$primary-color: #f3d942;
$secondary-color: #d3bc3b;
$white: #fff;
$extra: #f3d942;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
}
body {
background-color: $black1;
font-family: 'Quicksand', sans-serif;
}
.wrapper {
vertical-align: center;
max-width: 800px;
margin: 0 auto;
width: 100%;
text-align: center;
padding: 2%;
background-color: $black2;
height: 500px;
border-radius: 10px;
margin-top: 25%;
}
h1 {
color: $white;
margin-top: 5%;
}
h1 + p {
margin-bottom: 5%;
color: $extra;
}
p {
margin-top: 3%;
}
.scoreWrap {float: left;}
.timeWrap {float: right;}
.outerWrap:after {
content: "";
display: block;
clear: both;
}
.bg {
background-color: $primary-color;
}
button {
border: none;
background-color: $primary-color;
box-shadow: 0px 5px 0px 0px $secondary-color;
outline: none;
border-radius: 5px;
padding: 10px 15px;
font-size: 22px;
text-decoration: none;
margin: 20px;
color: $white;
position: relative;
display: inline-block;
cursor: pointer;
}
button h3 {
color: $white;
text-shadow: 1px 2px 1px $black1;
}
button:active {
transform: translate(0px, 5px);
-webkit-transform: translate(0px, 5px);
box-shadow: 0px 1px 0px 0px;
}
.scoreWrap p, .scoreWrap span, .timeWrap p, .timeWrap span {
font-size: 30px;
color: $primary-color;
}
.wordsWrap {
margin-top: 50px;
}
.words span{
font-size: 60px;
letter-spacing: 1px;
color: $white;
}
.swal-overlay {
background-color: #f3d842cb;
}
.swal-modal {
background-color: $black1;
}
.swal-button {
background-color: $primary-color;
color: $white;
text-shadow: 1px 2px 1px $black1;
}
.swal-button:hover {
background-color: $secondary-color;
}
.swal-title{
color: $white;
}
.swal-text{
color: $white;
}