Skip to content

Commit 9a89b32

Browse files
committed
moving the style need for the component to other file
1 parent 772b4f1 commit 9a89b32

File tree

1 file changed

+159
-0
lines changed

1 file changed

+159
-0
lines changed

css/skin.css

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
.github-widget:nth-child(even) .github-box{
2+
margin-right:0 !important
3+
}
4+
5+
.github-box{
6+
font-family:"proxima-nova-1","proxima-nova-2","Helvetica Neue",Arial,sans-serif;
7+
background:#fafafa;
8+
border:1px solid #ddd;
9+
color:#666;
10+
-moz-border-radius:5px;
11+
-webkit-border-radius:5px;
12+
-o-border-radius:5px;
13+
-ms-border-radius:5px;
14+
-khtml-border-radius:5px;
15+
border-radius:5px;
16+
float:left;
17+
margin-right:1.2em;
18+
margin-bottom:2em;
19+
width:46%
20+
}
21+
22+
.github-box a{
23+
color:#4183C4;
24+
border:none
25+
}
26+
27+
.github-box .github-box-title{
28+
position:relative;
29+
border-bottom:1px solid #ddd;
30+
-moz-border-radius:5px 5px 0 0;
31+
-webkit-border-radius:5px 5px 0 0;
32+
-o-border-radius:5px 5px 0 0;
33+
-ms-border-radius:5px 5px 0 0;
34+
-khtml-border-radius:5px 5px 0 0;
35+
border-radius:5px 5px 0 0;
36+
background:#fcfcfc;
37+
background:-moz-linear-gradient(#fcfcfc, #ebebeb);
38+
background:-webkit-linear-gradient(#fcfcfc, #ebebeb);
39+
-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc',endColorstr='#ebebeb')"
40+
}
41+
42+
.github-box .github-box-title h3{
43+
font-family:helvetica,arial,sans-serif;font-weight:normal;
44+
font-size:16px;
45+
color:gray;
46+
margin:0;
47+
padding:10px 10px 10px 10px
48+
}
49+
50+
.github-box .github-box-title h3 .repo{
51+
font-weight:bold
52+
}
53+
54+
.github-box .github-box-title .github-stats{
55+
position:absolute;
56+
top:10px;
57+
right:10px;
58+
background:white;
59+
border:1px solid #ddd;
60+
border-radius:3px;
61+
font-size:11px;
62+
font-weight:bold;
63+
line-height:21px;
64+
height:21px
65+
}
66+
67+
.github-box .github-box-title .github-stats a{
68+
display:inline-block;
69+
height:21px;
70+
color:#666;
71+
padding:0 5px 0 18px;
72+
background:url('../img/repo.png') no-repeat;
73+
filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
74+
opacity:0.7
75+
}
76+
77+
.github-box .github-box-title .github-stats a:hover{
78+
filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
79+
opacity:1
80+
}
81+
82+
.github-box .github-box-title .github-stats .watchers{
83+
border-right:1px solid #ddd;
84+
background-position:3px 4px
85+
}
86+
87+
.github-box .github-box-title .github-stats .forks{
88+
background-position:3px -19px;
89+
padding-left:15px
90+
}
91+
92+
.github-box .github-box-content{
93+
padding:10px;
94+
font-weight:300;
95+
font-size:0.7em
96+
}
97+
98+
.github-box .github-box-content p{
99+
margin:0
100+
}
101+
102+
.github-box .github-box-content .link{
103+
font-weight:bold
104+
}
105+
106+
.github-box .github-box-download{
107+
position:relative;
108+
border-top:1px solid #ddd;
109+
background:white;
110+
border-radius:0 0 3px 3px;
111+
padding:10px;
112+
height:24px
113+
}
114+
115+
.github-box .github-box-download .updated{
116+
margin:0;
117+
font-size:11px;
118+
color:#666;
119+
line-height:24px
120+
}
121+
122+
.github-box .github-box-download .updated strong{
123+
font-size:12px;
124+
font-weight:bold;
125+
color:#000
126+
}
127+
128+
.github-box .github-box-download .download{
129+
position:absolute;
130+
display:block;
131+
top:10px;
132+
right:10px;
133+
height:24px;
134+
line-height:24px;
135+
font-size:12px;
136+
color:#666;
137+
font-weight:bold;
138+
text-shadow:0 1px 0 rgba(255,255,255,0.9);
139+
padding:0 10px;
140+
border:1px solid #ddd;
141+
border-bottom-color:#bbb;
142+
border-radius:3px;
143+
display:block;
144+
text-indent:-9999px;
145+
width:24px;
146+
padding:0;
147+
background:url('../img/download.png') no-repeat 6px 6px,-webkit-linear-gradient(#f5f5f5, #e5e5e5);
148+
background:url('../img/download.png') no-repeat 6px 6px,-moz-linear-gradient(#f1f7fa, #dbeaf1);
149+
filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
150+
opacity:0.7
151+
}
152+
153+
.github-box .github-box-download .download:hover{
154+
color:#527894;
155+
border-color:#cfe3ed;
156+
border-bottom-color:#9fc7db;
157+
filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
158+
opacity:1
159+
}

0 commit comments

Comments
 (0)