Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
136 lines (117 loc) · 2.65 KB
/
Copy pathstyle.css
File metadata and controls
136 lines (117 loc) · 2.65 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
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
body {
font-family: Arial, sans-serif;
text-align: center;
color: #000080;
background-color: #FFFF00;
padding-top: 50px;
}
p {
color: blue;
}
h1 {
color: #8A2BE2; /* Violet */
}
.hidden {
display: none; /* Hide elements by default */
}
.container {
width: 80%;
max-width: 250px;
margin: 0 auto; /* Center horizontally */
padding: 50px;
background: #FFC0CB;
box-shadow: 0px 0px 10px gray;
border-radius: 10px;
color: white; /* text color inside container */
/* To center vertically */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
button {
display: inline-block; /* allow side-by-side buttons */
margin: 10px 5px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
background-color: #FFA500; /* orange */
color: white;
border: none;
border-radius: 5px;
transition: background 0.3s ease;
}
button:hover {
background-color: #00FF00; /* Lime */
color: #000080; /* Dark Blue for better contrast */
}
#share-buttons {
margin-top: 20px;
}
#share-buttons button {
margin: 5px;
padding: 10px 15px;
font-size: 14px;
background-color: #1DA1F2; /* Twitter blue */
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
#share-buttons button:last-child {
background-color: #1877F2; /* Facebook blue */
}
#progress-bar {
transition: width 0.3s ease-in-out;
}
#progress-bar-container {
width: 100%; /* Ensures the container is not wider than the screen */
max-width: 100%; /* Prevents any overflow */
background: #eee;
border-radius: 10px;
margin: 20px 0;
box-sizing: border-box; /* Includes padding in the width */
padding: 5px;
}
#progress-bar {
height: 20px;
width: 0%; /* This will dynamically change */
height: 20px;
background: #4caf50;
border-radius: 10px;
transition: width 0.3s ease;
}
#progress-text {
font-size: 14px;
font-weight: bold;
color: #4B0082; /* Indigo for better contrast */
margin-top: 10px;
text-align: center;
}
@media (max-width: 600px) {
body {
font-size: 14px; /* Smaller font size for mobile */
}
.container {
padding: 30px;
width: 90%;
}
button {
font-size: 14px; /* Smaller button font size */
}
}
/* Preventing any horizontal overflow on the page */
html, body {
margin: 0;
padding: 0;
overflow-x: hidden; /* Prevent horizontal scrolling */
}
#timer {
font-size: 20px;
font-weight: bold;
color: #4B0082; /* Indigo for contrast */
margin-top: 20px;
}
#time {
color: red; /* Red for countdown */
}