-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss.scss
106 lines (89 loc) · 1.57 KB
/
css.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
$primary-color: #5c5d67;
$win-color: #a5b38a;
$incorrect-color: #9c7570;
$bigText: 32px;
$medText: 24px;
$smallText: 20px;
%centering {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
@mixin size-adjustment($size: 100%) {
width: $size;
height: $size;
}
html,
body {
@include size-adjustment;
margin: 0;
}
.container {
@include size-adjustment;
@extend %centering;
flex-direction: column;
}
.colorContainer,
.fontContainer {
@extend %centering;
}
.circle {
@include size-adjustment($size: 75px);
border-radius: 50%;
background-color: #000;
margin: 5px;
}
.font {
margin: 0px 10px 0px 10px;
font-size: $medText;
}
#guessingColor,
#text,
#win,
#incorrect,
#guessingFont {
font: bold $bigText sans-serif;
color: $primary-color;
}
#text {
font-size: $smallText;
font-variant: small-caps;
}
#win {
font-size: $medText;
color: $win-color;
}
#incorrect {
font-size: $medText;
color: $incorrect-color;
}
#btn {
padding: 15px;
font-size: $smallText;
border-radius: 5px;
background-color: #dde0e4;
border-width: 2px;
}
.main {
@include size-adjustment;
@extend %centering;
justify-content: space-around;
}
a {
text-decoration: none;
}
.selection {
font: small-caps bold $bigText sans-serif;
color: $primary-color;
}
.content {
@include size-adjustment;
@extend %centering;
flex-direction: column;
padding: 0px 10px 0px 10px;
}
.content:hover {
border: black 2px solid;
border-radius: 5px;
}