This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
_github-cards.scss
110 lines (91 loc) · 2.03 KB
/
_github-cards.scss
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
$font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";s
.gh-cards {
display:flex;
flex-wrap: wrap;
align-items: flex-start;
p {
margin: 0;
}
a {
text-decoration: none;
color: #0366d6;
&:hover {
text-decoration: underline;
}
}
h4 {
font-size: 1.125rem;
margin: 0;
}
.gh-card {
display: inline-block;
width: 400px;
margin-bottom: 16px;
margin-right: 16px;
border-radius: 4px;
box-shadow: 0 2px 4px #aaaaaa;
padding: 12px;
border: 1px solid #ddd;
font-family: $font-family;
h4 {
font-family: $font-family;
}
.gh-card-desc {
margin: 16px 0;
min-height: 2.25rem;
}
.text-grey {
color: #586069;
fill: #586069;
}
svg {
width: 14px;
height: 16px;
margin-right: 8px;
}
}
.gh-card-info {
display: block;
font-size: 1rem;
overflow: hidden;
h4 {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
.gh-card-top {
display: flex;
justify-content: flex-start;
}
.gh-card-avatar {
width: 75px;
height: 75px;
border-radius: 4px;
margin-right: 8px;
}
.gh-card-details {
margin-top: 8px;
}
.gh-card-lang {
margin: 0;
flex-grow: 1;
text-align: right;
display: flex;
flex-direction: row-reverse;
align-items: flex-start;
}
.gh-card-bottom {
padding-top: 8px;
border-top: 1px solid #ccc;
display:flex;
align-items: flex-start;
p {
display:flex;
margin-right: 8px;
}
}
.gh-card-license {
@extend .gh-card-lang;
}
}