-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (84 loc) · 1.67 KB
/
Copy pathstyle.css
File metadata and controls
96 lines (84 loc) · 1.67 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
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f4f6f8;
color: #333;
margin: 0;
padding: 2rem;
}
h1 {
text-align: center;
font-size: 2rem;
color: #2c3e50;
margin-bottom: 1.5rem;
}
#filters {
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto 2rem auto;
width: fit-content;
background-color: #fff;
border-radius: 999px; /* Full pill shape */
box-shadow: 0 0 0 1px #ccc;
overflow: hidden;
}
#filters select {
padding: 0.6rem 1.2rem;
font-size: 1rem;
border: none;
background-color: #fff;
color: #333;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
outline: none;
cursor: pointer;
margin: 0;
border-left: 1px solid #ccc;
}
/* Remove first left border */
#filters select:first-child {
border-left: none;
}
/* Rounded corners only on outermost selects */
#filters select:first-child {
border-top-left-radius: 999px;
border-bottom-left-radius: 999px;
}
#filters select:last-child {
border-top-right-radius: 999px;
border-bottom-right-radius: 999px;
}
/* Hover and focus styles */
#filters select:hover {
background-color: #f7f7f7;
}
#filters select:focus {
background-color: #e8f0fe;
}
#results {
max-width: 800px;
margin: 0 auto;
}
#results p {
background-color: white;
padding: 1rem;
margin-bottom: 1rem;
border-left: 5px solid #3498db;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
#results p a {
font-weight: bold;
color: #2980b9;
text-decoration: none;
}
#results p a:hover {
text-decoration: underline;
}
@media (max-width: 600px) {
#filters {
flex-direction: column;
align-items: center;
}
}