-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (105 loc) · 2.25 KB
/
style.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
105
106
107
108
109
:root {
--dark-theme :#1a1a1a;
--nice-red: #a70a26;
--gradient-1:#cb5b0a;
--gradient-2:#1b6ead;
}
* {
margin: 0;
padding: 0;
}
body {
background: linear-gradient(var(--gradient-1),var(--gradient-2));
background-repeat: no-repeat;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
text-align: center;
}
#container {
background-color: var(--dark-theme);
color:var(--nice-red) ;
border-radius:10%;
display: grid;
grid-template-columns: repeat(3, 100px);
grid-template-rows: repeat(3, 100px);
max-width: fit-content;
margin: 0 auto;
margin-bottom: 10%;
}
#container > div {
display: flex;
justify-content: center;
align-items: center;
font-size:5em;
cursor: pointer;
}
#container > div:hover {
background-color: #f0f0f0;
}
#slot1,#slot2,#slot3,#slot4,#slot5,#slot6 {
border-bottom: 2px solid currentColor;
}
#slot1,#slot4,#slot7,#slot2,#slot5,#slot8 {
border-right: 2px solid currentColor;
}
#slot1 {
border-radius: 30% 0 0 0;
}
#slot3 {
border-radius: 0 30% 0 0;
}
#slot7 {
border-radius: 0 0 0 30%;
}
#slot9 {
border-radius: 0 0 30% 0;
}
#question {
color: var(--nice-red);
background-color: var(--dark-theme);
width: fit-content;
margin: 0 auto;
padding: 4px 8px;
border-radius: 5px;
}
#user_input {
padding: 5px 8px;
border: none;
background: var(--nice-red);
color: var(--dark-theme);
border-radius: 5px;
font-size: 1.1em;
margin:8px;
}
button, .answer:hover{
border:none;
padding: 5px 8px;
font-size: 0.95em;
border-radius: 5px;
background-color: var(--dark-theme);
color:var(--nice-red);
font-weight: 600;
text-shadow: 0 0 5px black,0 0 8px var(--nice-red);
}
button:hover{
color:var(--dark-theme);
background-color: var(--nice-red);
text-shadow: 0 0 5px var(--nice-red),0 0 8px black;
}
#options{
margin: 15px;
display: flex;
gap: 10px;
min-width: fit-content;
max-width: 30vw;
flex-wrap: wrap;
justify-content: center;
}
.answer{
background: var(--nice-red);
color: var(--dark-theme);
text-shadow: 0 0 5px var(--nice-red), 0 0 10px black;
}