|
50 | 50 | /* Github Box Header - Stats */
|
51 | 51 |
|
52 | 52 | .github-box .github-box-header .github-stats {
|
| 53 | + line-height: 36px; |
53 | 54 | position: absolute;
|
54 | 55 | top: 10px;
|
55 | 56 | right: 10px;
|
|
66 | 67 | display: inline-block;
|
67 | 68 | height: 21px;
|
68 | 69 | color: #666;
|
69 |
| - padding: 0 5px 0 18px; |
70 |
| - background: url('btn-sprite.png') no-repeat; |
| 70 | + padding: 0 5px 0 5px; |
71 | 71 | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
|
72 | 72 | opacity: 0.7;
|
| 73 | + vertical-align: top; |
73 | 74 | }
|
74 | 75 |
|
75 | 76 | .github-box .github-box-header .github-stats a:hover {
|
76 | 77 | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
77 | 78 | opacity: 1;
|
78 | 79 | }
|
79 | 80 |
|
80 |
| -.github-box .github-box-header .github-stats .repo-watchers { |
| 81 | +.github-box .github-box-header .github-stats a:before { |
| 82 | + font-family: 'EntypoRegular'; |
| 83 | + content: attr(data-icon); |
| 84 | + display: inline-block; |
| 85 | + speak: none; |
| 86 | + padding-right: 2px; |
| 87 | + font-size: 2em; |
| 88 | +} |
| 89 | + |
| 90 | +.github-box .github-box-header .github-stats .repo-stars { |
81 | 91 | border-right: 1px solid #ddd;
|
82 |
| - background-position: 3px 4px; |
83 | 92 | }
|
84 | 93 |
|
85 | 94 | .github-box .github-box-header .github-stats .repo-forks {
|
86 |
| - background-position: 2px -14px; |
87 |
| - padding-left: 15px; |
| 95 | + padding-left: 2px; |
88 | 96 | }
|
89 | 97 |
|
90 | 98 | /* Github Box Content */
|
|
147 | 155 | border-bottom-color: #bbb;
|
148 | 156 | border-radius: 3px;
|
149 | 157 | display: block;
|
150 |
| - text-indent: -9999px; |
151 | 158 | width: 24px;
|
152 | 159 | padding: 0;
|
153 |
| - background: url('btn-sprite.png') no-repeat 4px -31px,-webkit-linear-gradient(whiteSmoke, #E5E5E5); |
154 |
| - background: url('btn-sprite.png') no-repeat 4px -31px,-moz-linear-gradient(#f1f7fa, #dbeaf1); |
| 160 | + background: -webkit-linear-gradient(whiteSmoke, #E5E5E5); |
| 161 | + background: -moz-linear-gradient(#f1f7fa, #dbeaf1); |
155 | 162 | filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
|
156 |
| - opacity: 0.7; |
| 163 | + opacity: 1; |
157 | 164 | }
|
158 | 165 |
|
159 | 166 | .github-box .github-box-download .repo-download:hover {
|
|
164 | 171 | opacity: 1;
|
165 | 172 | }
|
166 | 173 |
|
| 174 | +.github-box .github-box-download .repo-download:before { |
| 175 | + font-family: 'EntypoRegular'; |
| 176 | + text-indent: 0px; |
| 177 | + content: attr(data-icon); |
| 178 | + display: inline-block; |
| 179 | + speak: none; |
| 180 | + font-size: 2.0em; |
| 181 | + padding: 0 6px; |
| 182 | +} |
| 183 | + |
167 | 184 | /* Breakpoint content-driven */
|
168 | 185 |
|
169 | 186 | @media all and (max-width: 678px) {
|
|
173 | 190 | margin-right: 0;
|
174 | 191 | }
|
175 | 192 | }
|
| 193 | + |
| 194 | +/* Fonts */ |
| 195 | + |
| 196 | +@font-face { |
| 197 | + font-family: 'EntypoRegular'; |
| 198 | + src: url('Entypo-webfont.eot'); |
| 199 | + src: url('Entypo-webfont.eot?#iefix') format('embedded-opentype'), |
| 200 | + url('Entypo-webfont.woff') format('woff'), |
| 201 | + url('Entypo-webfont.ttf') format('truetype'), |
| 202 | + url('Entypo-webfont.svg#EntypoRegular') format('svg'); |
| 203 | + font-weight: normal; |
| 204 | + font-style: normal; |
| 205 | +} |
0 commit comments