-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcounter.css
More file actions
102 lines (99 loc) · 1.91 KB
/
Copy pathcounter.css
File metadata and controls
102 lines (99 loc) · 1.91 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
:root{
--bg_color: rgba(0, 0, 0, 1);
--text-color: rgba(255, 237, 237, 1);
}
body{
font-family: 'Verdana', Geneva, Tahoma, sans-serif;
font-size: 2rem;
height:100vh;
width:100vw;
background-color:var(--bg_color);
color:var(--text-color);
line-height: 1.8;
margin:0;
padding:20px;
box-shadow: 0 0 16px 8px green;
}
.theme{
padding: 10px 20px;
margin: 10px;
border: 1px solid green;
border-radius: 50px;
position : absolute;
top:0;
right:0;
z-index: 1000;
background-color :var(--bg_color);
color:var(--text-color);
cursor: pointer;
}
.theme:hover{
transform: translateY(-3px);
}
.main{
height: 90%;
width :90%;
background-color: rgba(255, 255, 255, 0.2);
color:var(--text-color);
backdrop-filter: blur(10px);
box-sizing: border-box;
border: 1px solid rgba(255, 20, 20, 1);
border-radius :20px;
box-shadow: 0 0 16px 8px rgba(250, 36, 36, 0.5);
display : flex;
justify-content: center;
align-items: center;
flex-direction: column;
transition: all 5s ease;
}
.start{
font-size: 10rem;
font-weight: bold;
text-align: center;
margin: 70px;
}
.contents{
display:flex;
flex-direction: row;
justify-content: center;
gap:20px;
}
button{
font-family: 'Tahoma';
padding:20px;
margin:0;
border: 1px solid white;
border-radius :10px;
cursor:pointer;
font-size: 15px;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
}
button:hover{
transform: translateY(-3px);
}
.decrease_btn{
box-shadow: 0 0 15px 0 rgba(255, 0, 0, 1);
color: black;
}
.reset_btn{
box-shadow: 0 0 15px 0 rgba(255, 237, 0, 1);
color: black;
}
.increase_btn{
box-shadow: 0 0 15px 0 rgba(0, 255, 3, 1);
color: black;
}
footer{
font-size: 20px;
font-weight: bold;
text-align: center;
margin-top: auto;
color:var(--text-color);
}
.checkbox:checked ~ section
#darkmode:checked ~ body{
--bg_color: rgba(255, 237, 237, 1);
--text-color: rgba(0, 0, 0, 1);
}