-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
212 lines (178 loc) · 3.72 KB
/
styles.css
File metadata and controls
212 lines (178 loc) · 3.72 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
/* General Styles */
body {
font-family: 'Poppins', sans-serif;
background-color: #1e1e1e;
color: #ffffff;
margin: 0;
padding: 0;
transition: background-color 0.3s, color 0.3s;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.header {
text-align: center;
margin-bottom: 40px;
}
h1 {
font-size: 2.5rem;
font-weight: 600;
color: #00d1b2;
margin-bottom: 20px;
}
.search-bar {
display: flex;
justify-content: center;
gap: 15px;
}
.search-input {
padding: 10px 15px;
font-size: 1rem;
width: 300px;
border: none;
border-radius: 25px;
outline: none;
transition: box-shadow 0.3s ease;
}
.search-input:focus {
box-shadow: 0px 0px 10px 2px #00d1b2;
}
.search-button {
background-color: #00d1b2;
color: white;
padding: 10px 20px;
font-size: 1rem;
border: none;
border-radius: 25px;
cursor: pointer;
transition: background-color 0.3s;
}
.search-button:hover {
background-color: #00b89c;
}
/* Theme Toggle */
.theme-toggle-wrapper {
text-align: right;
padding: 10px 20px;
}
.theme-toggle {
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
transition: transform 0.3s ease;
}
.theme-toggle:hover {
transform: rotate(180deg);
}
/* Profile Section */
.profile-section {
background-color: #2c2c2c;
padding: 30px;
border-radius: 15px;
margin-bottom: 40px;
text-align: center;
}
.profile-section img {
border-radius: 50%;
margin-bottom: 20px;
}
.profile-section p {
font-size: 1rem;
margin: 5px 0;
}
.profile-section hr {
margin: 20px 0;
border-color: #00d1b2;
}
/* Repository Section */
.repo-section {
background-color: #2c2c2c;
padding: 30px;
border-radius: 15px;
}
.repo-section h2 {
font-size: 1.75rem;
font-weight: 600;
margin-bottom: 20px;
}
.repo-header {
display: flex;
justify-content: flex-end;
margin-bottom: 15px;
}
.repo-sort-select {
padding: 5px;
border-radius: 5px;
border: none;
outline: none;
}
.repo-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.repo-item {
background-color: #444444;
padding: 20px;
border-radius: 10px;
transition: background-color 0.3s;
}
.repo-item:hover {
background-color: #555555;
}
.repo-item p {
margin: 5px 0;
}
/* Language Analysis Section */
.language-section {
background-color: #2c2c2c;
padding: 30px;
border-radius: 15px;
margin-top: 40px;
}
.language-section h2 {
font-size: 1.75rem;
font-weight: 600;
margin-bottom: 20px;
}
.language-section canvas {
max-width: 100%;
height: 40px;
}
/* Light Mode */
body.light-mode {
background-color: #ffffff;
color: #000000;
}
body.light-mode .profile-section,
body.light-mode .repo-section,
body.light-mode .language-section {
background-color: #f1f1f1;
color: #000000;
}
body.light-mode .theme-toggle {
color: #000000;
}
/* Footer Styling */
.footer {
text-align: center; /* Center the text */
margin-top: 50px; /* Space above the footer */
padding: 20px; /* Padding inside the footer */
font-family: 'Poppins', sans-serif; /* Font style matching the rest of the page */
font-size: 14px; /* Font size */
}
.footer a {
color: #FFD700; /* Attractive gold color for the link */
text-decoration: none; /* Remove underline from the link */
font-weight: 500; /* Semi-bold text for link */
}
.footer a:hover {
text-decoration: underline; /* Underline the link on hover for interactivity */
}
.footer p {
margin: 0; /* Remove default margin for paragraph */
padding: 0; /* Remove default padding for paragraph */
}