forked from typecho-fans/plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GithubWidgetUser.css
144 lines (144 loc) · 2.46 KB
/
GithubWidgetUser.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
.github-widget-user {
margin-top: 1.5em;
margin-bottom: 1.5em;
}
.github-widget-loading{
line-height:100px;
text-align:center;
font-size:24px;
color:#aaa;
}
.github-user-widget_body{
max-width:300px;
margin: auto;
overflow:hidden;
background: #fff;
box-shadow:1px 2px 16px rgba(0,0,0,.2)
}
.gitUW_avatar{
display: block;
overflow:hidden;
}
.gitUW_avatar img{
display: block;
width: 100%;
min-height: 100px;
background: #333;
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
transition: 0.3s;
}
.gitUW_avatar:hover img{
-webkit-transform:scale(1.3);
-moz-transform:scale(1.3);
transform:scale(1.3);
}
.gitUW_name{
display: block;
padding: 10px 10px 20px;
border-bottom: 1px solid #eee;
-webkit-transition: 0.4s;
-moz-transition: 0.4s;
transition: 0.4s;
}
.gitUW_name strong{
display: block;
width: 100%;
overflow: hidden;
font-size: 26px;
color: #333;
line-height: 30px;
text-overflow: ellipsis;
}
.gitUW_name span{
display: block;
width: 100%;
font-size: 20px;
font-style: normal;
font-weight: 300;
line-height: 24px;
color: #666;
text-overflow: ellipsis;
overflow: hidden;
}
.gitUW_name:hover{
background: #eee;
}
.gitUW_info{
padding: 10px 0 20px;
}
.gitUW_info p{
height:25px;
padding-left: 10px;
text-overflow: ellipsis;
overflow: hidden;
}
.gitUW_info p span,.gitUW_info p a{
display:inline-block;
vertical-align:text-top;
height:25px;
line-height:25px;
font-size: 14px;
}
.gitUW_info p a{
color: #4183c4;
text-decoration: none;
}
.gitUW_info p a:hover{
text-decoration: underline;
}
.gitUW_info p span{
color: #333;
}
.gitUW_count{
height: 75px;
background: #333;
}
.gitUW_count a{
display:block;
float:left;
width: 33.33%;
padding: 15px 0;
text-align:center;
-webkit-transition: 0.4s;
-moz-transition: 0.4s;
transition: 0.4s;
}
.gitUW_count a strong{
display:block;
line-height:30px;
font-size: 28px;
font-weight: bold;
color:#4183c4
}
.gitUW_count a span{
display:block;
line-height:15px;
font-size: 12px;
color: #999;
}
.gitUW_count a:hover{
background: #444;
}
.gitUW_ico_company,.gitUW_ico_location,.gitUW_ico_email,.gitUW_ico_blog,.gitUW_ico_created_at{
display:inline-block;
vertical-align:text-top;
width:25px;
height:25px;
background-image:url(' + imgbase64 + ');
}
.gitUW_ico_company{
background-position:0 0;
}
.gitUW_ico_location{
background-position:0 -25px;
}
.gitUW_ico_email{
background-position:-25px 0;
}
.gitUW_ico_blog{
background-position:-25px -25px;
}
.gitUW_ico_created_at{
background-position:-50px 0;
}