-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
128 lines (112 loc) Β· 2.33 KB
/
style.css
File metadata and controls
128 lines (112 loc) Β· 2.33 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
/* Reset default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body styles */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
color: #333;
line-height: 1.6;
}
/* Container for centering content */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
/* Heading styles */
h1 {
text-align: center;
margin-bottom: 30px;
color: #2c3e50;
font-size: 2.5em;
}
/* Search bar styles */
#searchBox {
display: block;
margin: 0 auto 24px auto;
padding: 12px 16px;
width: 100%;
max-width: 350px;
border: 1.5px solid #bfc9d1;
border-radius: 24px;
font-size: 1.1em;
background: #fff;
box-shadow: 0 2px 8px rgba(44,62,80,0.04);
transition: border-color 0.2s, box-shadow 0.2s;
outline: none;
}
#searchBox:focus {
border-color: #3498db;
box-shadow: 0 2px 12px rgba(52,152,219,0.10);
}
/* Contributors container */
#contributors {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 24px;
}
/* Individual contributor card */
#contributors > div,
.contributor-card {
background-color: #fff;
border-radius: 12px;
padding: 28px 24px 20px 24px;
box-shadow: 0 4px 12px rgba(44,62,80,0.10);
transition: transform 0.2s, box-shadow 0.2s;
text-align: center;
position: relative;
}
#contributors > div:hover,
.contributor-card:hover {
transform: translateY(-6px) scale(1.03);
box-shadow: 0 8px 24px rgba(44,62,80,0.18);
}
/* Contributor name */
#contributors h2 {
font-size: 1.4em;
color: #0969da;
margin-bottom: 12px;
font-weight: 700;
letter-spacing: 0.5px;
}
/* Links styling */
#contributors p {
margin: 7px 0;
font-size: 1em;
}
#contributors a {
color: #3498db;
text-decoration: none;
font-weight: 500;
word-break: break-all;
transition: color 0.2s;
}
#contributors a:hover {
text-decoration: underline;
color: #2980b9;
}
/* Responsive design */
@media (max-width: 600px) {
h1 {
font-size: 2em;
}
#contributors {
gap: 12px;
}
#contributors > div,
.contributor-card {
padding: 16px 8px;
}
#contributors h2 {
font-size: 1.1em;
}
#searchBox {
font-size: 1em;
padding: 10px 12px;
max-width: 98vw;
}
}