forked from seyon123/list-github-repos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
149 lines (127 loc) · 2.36 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
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
/*
-------------------------------------------
Author: Seyon Rajagopal
Copyright (c) 2020 Seyon Rajagopal
-------------------------------------------
*/
* {
margin: 0;
padding: 0;
}
html {
background-color: #24252a;
}
body {
width: 100%;
}
/* css for start page asking for username */
#title {
text-align: center;
vertical-align: middle;
position: absolute;
padding: 30px;
border-radius: 20px;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background-color: #3C3F58;
}
#title h1 {
color: white;
vertical-align: middle;
}
#title i {
color: rgb(168, 168, 168);
}
#user {
width: 200px;
margin-top: 20px;
padding: 10px;
border-radius: 4px;
border: none;
margin-bottom: 30px;
background: rgba(36, 37, 42, 0.397);
color: #fff;
}
#btn {
width: 100px;
margin-top: 20px;
padding: 10px;
border-radius: 4px;
border: none;
margin-bottom: 10px;
background: rgba(0,139,165,1);;
color: #fff;
cursor: pointer;
}
#back {
text-align: center;
margin: 30px;
}
#back a {
width: 100px;
margin-top: 20px;
padding: 10px;
border-radius: 4px;
border: none;
margin-bottom: 10px;
background: rgba(0,139,165,1);;
color: #fff;
cursor: pointer;
}
/* Modify code bolow to modify to adjust styling for the repositories. The above css is for other elements */
.error-box {
border-radius: 10px;
padding: 30px;
background-color: #2e3047;
text-align: center;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.error-msg {
font-size: 30px;
color: #008aa4;
vertical-align: middle;
}
.img {
margin-right: 5px;
}
.repo-item {
border-radius: 10px;
padding: 30px;
margin: 30px;
background-color: #2e3047;
overflow: auto;
overflow-wrap: break-word;
}
.description {
color: white;
}
.title {
font-size: 30px;
color: #008aa4;
}
.bottom {
position:relative;
}
.language, .star, .fork {
max-width: 100px;
display:inline-block;
margin-right: 20px;
color: white;
}
.repo-item:hover{
text-decoration: none;
background-color: #3e4163;
transition: ease-in-out 0.2s;
}
.repo-item:hover > div > div{
color: #008aa4;
transition: ease-in-out 0.2s;
}
a:hover{
text-decoration: none;
}
/* End code to modify */