-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
132 lines (116 loc) · 2.22 KB
/
index.css
File metadata and controls
132 lines (116 loc) · 2.22 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
/* General Styles */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
margin: 0;
padding: 20px;
}
h1,
h2,
h3 {
color: #444;
text-align: center;
/* Center align all h1, h2, h3 elements */
}
button {
background-color: #007bff;
color: white;
border: none;
padding: 10px 20px;
margin: 10px 0;
cursor: pointer;
border-radius: 5px;
font-size: 16px;
}
button:hover {
background-color: #0056b3;
}
input[type="text"],
input[type="date"],
input[type="time"] {
width: 100%;
padding: 10px;
margin: 5px 0;
box-sizing: border-box;
border: 2px solid #ccc;
border-radius: 5px;
}
form {
background-color: #fff;
padding: 20px;
margin: 20px 0;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#voteMessage,
#timestampCanButton,
#timestampVOTButton,
#resetButton,
#connectMetamask,
#registerEC,
#resultButton {
margin-top: 10px;
}
#voteMessage {
color: green;
display: none;
/* Initially hidden */
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
table,
th,
td {
border: 1px solid #ccc;
}
th,
td {
padding: 10px;
text-align: left;
}
th {
background-color: #007bff;
color: white;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
.alert {
color: red;
font-weight: bold;
}
.corner {
position: fixed;
bottom: 10px;
/* Adjust distance from bottom */
right: 10px;
/* Adjust distance from right */
background-color: rgba(255, 255, 255, 0.8);
/* Transparent background */
border-radius: 8px;
/* Rounded corners */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
/* Slight shadow */
padding: 10px 15px;
/* Padding inside the box */
display: flex;
flex-direction: column;
align-items: flex-end;
}
.social-link {
display: block;
margin: 5px 0;
text-decoration: none;
color: #0073b1;
/* LinkedIn blue */
font-weight: bold;
}
.social-link:hover {
text-decoration: underline;
color: #005582;
/* Darker LinkedIn blue on hover */
}