-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.css
97 lines (85 loc) · 2.03 KB
/
popup.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
/* for whole body */
body {
width: 700px;
height: 550px;
margin: 10px;
padding: 10px;
background-color: lightblue; /* Add light blue background color */
border: 5px solid #000; /* Add border to the page */
border-radius: 10px; /* Make the page with rounded rectangle edges */
overflow: hidden; /* Hide overflow to prevent scrolling on the entire page */
}
/* for heading `Github Repo Stats` */
h1 {
text-align: center;
margin-top: 1px;
}
/* for taking owner username input and button */
#owner-form {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
#owner-input {
padding: 5px;
margin-right: 10px;
border: 1px solid #000;
border-radius: 5px;
}
button {
padding: 5px 10px;
background-color: #7c11ce;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #57108f;
}
/* for profile photo and picture */
#profile-info {
display: flex;
align-items: center;
justify-content: center; /* Center align horizontally */
flex-direction: column; /* Stack the avatar and username vertically */
margin-bottom: 20px;
text-align: center; /* Center align text */
}
#profile-picture {
width: 75px;
height: 75px;
border-radius: 50%;
margin-bottom: 10px;
}
/* for owner name with link */
#owner-name {
font-size: 24px;
margin: 0;
}
h3 a {
color: #7c11ce;
text-decoration: none;
}
h3 a:hover {
text-decoration: underline;
}
/* for repository info and its stats */
#repository-info {
width: 668px;
height: 285px;
margin: 2px;
padding: 10px;
border: 5px solid #331c1c32;
border-radius: 10px;
background-color: #87CEFA;
max-height: calc(100vh - 170px); /* Set the maximum height of stats container with a dynamic value to account for the height of other elements */
overflow-y: auto; /* Enable vertical scrolling */
}
.repo-stats {
border: 5px solid #7c11ce; /* Add border to each repository block */
padding: 7px; /* Add padding to the repository block */
margin-bottom: 10px;
border-radius: 10px;
background-color: #eba05e;
}