-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (90 loc) · 1.83 KB
/
Copy pathstyle.css
File metadata and controls
103 lines (90 loc) · 1.83 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body {
background: #efefef;
}
.heading {
margin-top: 2rem;
text-align: center;
cursor: pointer;
}
.counter_container {
margin-top: 5rem;
max-width: 30rem;
padding: 1rem;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.counter {
font-size: 4em;
}
.btn_container {
display: flex;
margin-top: 4rem;
gap: 3rem;
}
.btn {
padding: 1.5em 3em;
background: #efefef;
border: none;
border-radius: 0.5rem;
color: #444;
font-size: 1.2em;
font-weight: 700;
letter-spacing: 0.2rem;
text-align: center;
outline: none;
cursor: pointer;
transition: 0.2s ease-in-out;
box-shadow: -6px -6px 14px rgba(255, 255, 255, 0.7),
-6px -6px 10px rgba(255, 255, 255, 0.5),
6px 6px 8px rgba(255, 255, 255, 0.075), 6px 6px 10px rgba(0, 0, 0, 0.15);
}
.btn:hover {
box-shadow: -2px -2px 6px rgba(255, 255, 255, 0.6),
-2px -2px 4px rgba(255, 255, 255, 0.4),
2px 2px 2px rgba(255, 255, 255, 0.05), 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.btn:active {
box-shadow: inset -2px -2px 6px rgba(255, 255, 255, 0.7),
inset -2px -2px 4px rgba(255, 255, 255, 0.5),
inset 2px 2px 2px rgba(255, 255, 255, 0.075),
inset 2px 2px 4px rgba(0, 0, 0, 0.15);
}
/* Input */
.input {
border: none;
padding: 1rem;
border-radius: 1rem;
background: #e8e8e8;
box-shadow: 20px 20px 60px #c5c5c5, -20px -20px 60px #ffffff;
transition: 0.3s;
}
.input:focus {
outline-color: #e8e8e8;
background: #e8e8e8;
box-shadow: inset 20px 20px 60px #c5c5c5, inset -20px -20px 60px #ffffff;
transition: 0.3s;
}
.guess_section {
margin-top: 5rem;
}
.guess_container {
max-width: 30rem;
padding: 1rem;
margin: auto;
margin-top: 3rem;
display: flex;
flex-direction: column;
gap: 2rem;
}
.output {
text-align: center;
}