-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
142 lines (124 loc) · 3.07 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: url('background.gif') no-repeat center center fixed;
background-size: cover;
font-family: 'Merienda', cursive;
margin: 0;
}
.container {
text-align: center;
}
.timer-container {
background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
padding: 20px;
border-radius: 50%; /* Always circular */
width: 300px;
height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(10px); /* Glass effect */
border: 8px solid rgba(255, 255, 255, 0.5); /* Fixed border width */
transition: box-shadow 0.5s; /* Smooth transition for the outline */
}
.status {
font-size: 24px;
margin-bottom: 10px;
color: white; /* Change text color to ensure visibility on the glass effect */
transition: transform 0.5s ease-in-out; /* Animation transition */
}
.status.animate {
transform: scale(1.2); /* Scale up for animation */
}
.timer {
font-size: 48px;
margin-bottom: 20px;
color: white; /* Change text color to ensure visibility on the glass effect */
}
.controls {
display: flex;
gap: 10px;
margin-top: 20px;
}
.controls button {
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
}
#start-pause {
background-color: #4CAF50;
color: white;
}
#reset {
background-color: #f44336;
color: white;
}
/* Styles for Spotify player */
.spotify-player {
margin-top: 20px;
width: 100%; /* Adjust to fit the container */
max-width: 300px; /* Optional: limit the maximum width */
margin-left: auto;
margin-right: auto;
}
/* Styles for settings menu */
.settings-icon {
position: absolute;
top: 20px;
right: 20px;
cursor: pointer;
font-size: 24px;
z-index: 10;
}
.settings-menu {
position: absolute;
top: 60px;
right: 20px;
background: rgba(255, 255, 255, 0.9);
padding: 10px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
display: none;
flex-direction: column;
gap: 10px;
z-index: 10;
}
.settings-menu label {
font-size: 14px;
color: #333;
}
.settings-menu input {
font-size: 14px;
padding: 5px;
}
#apply-settings {
padding: 5px 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
#github-btn {
padding: 10px 20px;
font-size: 16px;
background-color: #333;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
position: fixed; /* Fixes the button in place */
bottom: 20px; /* Adjust as needed */
left: 50%; /* Centers the button horizontally */
transform: translateX(-50%); /* Centers the button exactly */
}
#github-btn:hover {
background-color: #555;
}