forked from Technigo/project-github-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (95 loc) · 1.56 KB
/
style.css
File metadata and controls
104 lines (95 loc) · 1.56 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #ffffff;
padding: 10px, 10px;
min-width: 350px;
display: flex;
flex-direction: column;
/* justify-items: center; */
align-items: center;
gap: 10px;
font-family: "Source Sans Pro", sans-serif;
}
/* This part deals with the header section */
.user-section {
width: 100%;
margin: 10px auto;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.heading-main {
font-weight: 700;
font-size: 26px;
}
.user-image {
width: 50%;
border-radius: 50%;
max-width: 250px;
}
.user-name {
text-align: center;
color: #6a7179;
}
/* This part deals with the project cards */
.projects-info {
width: 100%;
padding: 10px 60px;
display: grid;
grid-template-columns: 1fr;
row-gap: 10px;
column-gap: 10px;
}
.repo-card {
width: 100%;
padding: 10px 10px;
display: flex;
flex-direction: column;
gap: 10px;
justify-content: center;
border: 3px solid #e9ecef;
border-radius: 10px;
}
.link {
color: #0a5cd4;
text-decoration: none;
font-size: 22px;
}
.chart-canvas {
width: 100%;
display: flex;
justify-content: center;
}
.chart-pie {
width: 50%;
max-width: 500px;
}
@media (min-width: 768px) {
.projects-info {
grid-template-columns: 1fr 1fr;
}
}
@media (min-width: 1281px) {
body {
padding-top: 30px;
flex-direction: row;
align-items: flex-start;
}
.user-section {
width: 20%;
}
.projects-info {
width: 60%;
}
.chart-canvas {
width: 20%;
}
.chart-pie {
width: 100%;
}
}