-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsearchResults.css
109 lines (93 loc) · 1.68 KB
/
searchResults.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
/*min-height: 100vh;*/
}
.alignment-container {
display: flex;
justify-content: center;
align-items: center;
margin-top: 50px;
}
.content-container {
width: 90%;
max-width: 1000px;
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.search-title {
font-size: 24px;
margin-bottom: 10px;
text-align: center;
}
.divider {
margin-bottom: 20px;
border: none;
border-top: 2px solid #ccc;
}
.search-results {
display: flex;
flex-direction: column;
gap: 20px;
}
.search-result-item {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #f9f9f9;
padding: 15px;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.profile-pic {
width: 70px;
height: 70px;
border-radius: 10px;
object-fit: cover;
}
.result-info {
flex-grow: 1;
margin-left: 20px;
}
.politician-name {
font-size: 18px;
font-weight: bold;
}
.recent-position {
font-size: 16px;
color: #666;
margin-top: 5px;
}
.recent-election {
font-size: 16px;
text-align: right;
color: #333;
}
.pagination {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 20px;
}
.arrow {
background-color: #007bff;
color: white;
border: none;
padding: 10px 15px;
font-size: 18px;
cursor: pointer;
border-radius: 5px;
}
.arrow:hover {
background-color: #0056b3;
}
.results-info {
font-size: 16px;
}