-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
119 lines (101 loc) · 2.48 KB
/
styles.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
110
111
112
113
114
115
116
117
118
119
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-color: #edf1f7;
}
header {
background-color: #3498db;
color: #fff;
padding: 20px 0;
text-align: center;
}
h1 {
margin: 0;
}
main {
padding: 20px;
}
/*---------------------------------------- Input and Button Styles--------------------------------- */
div {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: bold;
color: #3498db;
}
input {
width: 30%;
padding: 10px;
box-sizing: border-box;
border: 1px solid #aed6f1;
border-radius: 4px;
margin-bottom: 10px;
}
button {
background-color: #3498db;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #2077b0;
}
/* ----------------------------------------------Loader Styles--------------------------------------- */
.loader {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
/*------------------------------------------------Welcome---------------------------------------------*/
.welcome {
margin-bottom: 20px;
padding: 15px;
background-color: #3498db;
color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/*------------------------------------------------Pagination-------------------------------------------*/
.pagination {
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
}
.pagination select {
padding: 8px;
margin: 0 10px;
}
/*------------------------------------------------Repositories-------------------------------------------*/
.repositories {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.repository {
background-color: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
padding: 15px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease;
}
.repository:hover {
background-color: #2b85c18d;
transition: 0.5s;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
transform: translate(0, -2px);
}
/*-------------------------------------------------Responsive Styles -------------------------------------------*/
@media screen and (max-width: 600px) {
.repositories {
grid-template-columns: 1fr;
}
}