-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
139 lines (117 loc) · 2.71 KB
/
style.css
File metadata and controls
139 lines (117 loc) · 2.71 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
137
138
139
/* style.css */
.p {
font-size: 1.5em;
color: #3498db; /* Blue color */
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
font-weight: bold;
}
#totalVotes {
display: inline-block;
background: linear-gradient(90deg, #00a1ff, #0059ff); /* Gradient background for shine effect */
color: white;
padding: 5px 10px;
border-radius: 5px;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.dropdown-menu {
width: 560px;
}
body {
font-family: 'Arial', sans-serif;
font-weight: bolder;
text-align: center;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
.container {
max-width: 600px;
margin: 50px auto;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 20px;
box-sizing: border-box;
}
h1 {
color: #3498db;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
font-size: 4em;
letter-spacing: 4px;
font-weight: bold;
margin: 0;
}
input,
button {
width: 100%;
padding: 10px;
margin-bottom: 10px;
box-sizing: border-box;
border: 1px solid #ddd;
border-radius: 5px;
}
button {
background-color: #2ecc71;
color: white;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #087435;
}
.vote-list {
list-style: none;
padding: 0;
}
.vote-item {
background-color: #ecf0f1;
border: 1px solid #bdc3c7;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.delete-button {
background-color: #e74c3c;
color: white;
border: 2px solid #000000; /* Dark border color */
cursor: pointer;
border-radius: 3px;
padding: 5px;
transition: background-color 0.3s ease;
}
.delete-button:hover {
background-color: #5a0d04;
}
@media (max-width: 768px) {
.container {
max-width: 100%; /* Set the maximum width to 100% for smaller screens */
margin: 20px auto;
padding: 10px; /* Adjust padding for smaller screens */
}
h1 {
font-size: 3em; /* Reduce the font size for the heading */
}
.dropdown-menu {
width: 100%; /* Set the dropdown menu width to 100% for smaller screens */
}
}
@media (max-width: 576px) {
h1 {
font-size: 2em; /* Further reduce the font size for smaller screens */
}
}
/* Add a media query for screens below 266px width */
@media (max-width: 266px) {
h1 {
font-size: 1.5em; /* Adjust font size for screens below 266px width */
}
.container {
padding: 5px; /* Adjust padding for screens below 266px width */
}
}