-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathresult.css
More file actions
119 lines (103 loc) · 2.01 KB
/
Copy pathresult.css
File metadata and controls
119 lines (103 loc) · 2.01 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
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body and container styles */
body {
font-family: 'Arial', sans-serif;
background-color: #f4f7fc;
color: #333;
padding: 20px;
}
.container {
width: 90%;
max-width: 900px;
margin: 0 auto;
background-color: #ffffff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* Header Styling */
h1 {
text-align: center;
font-size: 36px;
margin-bottom: 30px;
color: #333;
font-weight: 700;
}
/* Voting Results Section */
#voting-results {
display: block;
margin-bottom: 20px;
}
.result-item {
font-size: 20px;
margin: 10px 0;
padding: 12px;
background-color: #e2f4f8;
border-left: 5px solid #42a5f5;
border-radius: 5px;
transition: all 0.3s ease-in-out;
}
.result-item:hover {
background-color: #c6e4f3;
border-color: #1e88e5;
}
#totalVotes {
font-weight: bold;
font-size: 24px;
}
/* Message when voting hasn't ended */
#notEndedMessage {
display: none;
font-size: 18px;
color: #f44336;
background-color: #ffebee;
padding: 15px;
border-radius: 5px;
text-align: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Button Styling */
.btn {
display: inline-block;
background-color: #42a5f5;
color: #fff;
font-size: 16px;
padding: 12px 25px;
margin-top: 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease-in-out;
text-align: center;
text-decoration: none;
}
.btn:hover {
background-color: #1e88e5;
}
/* Button styles for refresh and others */
#refreshButton {
background-color: #66bb6a;
}
#refreshButton:hover {
background-color: #388e3c;
}
/* Responsive Design */
@media (max-width: 768px) {
.container {
padding: 20px;
}
h1 {
font-size: 30px;
}
.result-item {
font-size: 18px;
}
#totalVotes {
font-size: 22px;
}
}