-
Notifications
You must be signed in to change notification settings - Fork 1
/
github-card.css
127 lines (105 loc) · 1.71 KB
/
github-card.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
:host {
display: block;
}
.github {
position: absolute;
top: 2px;
left: 2px;
background: #fff url('assets/github.png') no-repeat 5px 5px;
background-size: 25px;
}
.github dd a {
width: 33px;
height: 33px;
display: block;
}
.user {
font-family: "Helvetica", Arial, sans-serif;
display: inline-block;
width: 265px;
height: 300px;
overflow: hidden;
border: 1px solid #D5D5D5;
border-radius: 6px;
position: relative;
background-color: #2E353C;
text-align: center;
color: #fff;
font-weight: 100;
transition: background 1000ms ease-out;
}
.user dl,
.user dd {
margin: 0;
}
.user dt {
display: none;
}
.user-data {
height: 85px;
background: #fff;
}
dd.user-avatar {
display: inline-block;
margin: 20px 0 10px;
}
.user-avatar img {
border-radius: 100%;
height: 120px;
width: 120px;
border: 3px solid #fff;
vertical-align: middle;
background-color: #fff;
}
dd.user-name,
dd.user-account {
margin: 5px 0;
}
.user-name {
font-size: 24px;
}
.user-account {
font-size: 16px;
color: #999;
margin: 5px 0;
}
a {
font-size: 16px;
color: #999;
text-decoration: none;
}
.user-stats {
border-top: 1px groove #999;
position: relative;
top: 155px;
}
.user-stats dd {
padding: 10px 20px;
}
.user-repos,
.user-following,
.user-followers {
display: inline-block;
font-size: 22px;
color: #999;
}
.user-repos:after,
.user-following:after,
.user-followers:after {
content: attr(data-stats);
text-transform: uppercase;
display: block;
font-size: 11px;
color: #666;
font-weight: normal;
line-height: 1.7em;
}
.hidden {
display: none;
}
.spinner {
background: url('assets/spinner.gif') no-repeat center center;
}
.spinner dl {
display:none;
}