-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
105 lines (89 loc) · 1.86 KB
/
styles.css
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&family=Roboto:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sono:wght@500&display=swap');
:root {
--primary:#86a0e5;
--secondary:#8a1e36;
--accent:#7f3dd5;
--background:#050b19;
--accent-highlight:#7f3dd568;
}
body {
background-color: #121212;
font-family: 'Poppins', sans-serif;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
color: var(--primary);
}
a:hover, a:visited, a:link, a:active
{
text-decoration: none;
color: var(--accent);
}
html, body {
margin:0px;
height:100%;
background-color: var(--background);
}
.header {
font-size: 4rem;
}
.gameboard {
min-width: 25rem;
min-height: 25rem;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
background-color: #ffffff0b;
border-radius: 5%;
gap: 2px;
border: 1px solid var(--accent);
padding: 4px;
}
.element {
background-color: #ffffff1a;
margin: 2px;
border-radius: 10%;
transition: 1s background;
cursor: pointer;
font-size: 6.5rem;
text-align: center;
font-family: 'Sono', monospace;
}
.element:hover {
background-color: var(--accent-highlight);
}
.info {
font-size: 2rem;
}
.disabled-cursor {
cursor:not-allowed;
}
.disabled-cursor:hover {
background-color: #00808012;
}
.reset {
font-size: 2rem;
transition: transform 0.5s;
cursor:pointer;
color: var(--accent);
}
.reset:hover {
transform: rotate(-45deg);
font-size: 2.1rem;
}
.credit {
font-size: 2rem;
position:absolute;
bottom: 2%;
right: 2%;
cursor: pointer;
transition: transform 0.5s;
}
.credit:hover {
transform: scale(1.2);
}
.highlight {
background-color: #72ff434b;
}