Skip to content

Commit 8691e91

Browse files
committed
fix github ribbon
1 parent f878864 commit 8691e91

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

src/css/im.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,32 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
.ribbon {
19+
background-color: #003D06;
20+
overflow: hidden;
21+
white-space: nowrap;
22+
position: absolute;
23+
right: -50px;
24+
top: 40px;
25+
-webkit-transform: rotate(45deg);
26+
-moz-transform: rotate(45deg);
27+
-ms-transform: rotate(45deg);
28+
-o-transform: rotate(45deg);
29+
transform: rotate(45deg);
30+
-webkit-box-shadow: 0 0 10px #888;
31+
-moz-box-shadow: 0 0 10px #888;
32+
box-shadow: 0 0 10px #888;
33+
}
34+
.ribbon a {
35+
color: #fff;
36+
display: block;
37+
font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
38+
margin: 1px 0;
39+
padding: 10px 50px;
40+
text-align: center;
41+
text-decoration: none;
42+
text-shadow: 0 0 5px #444;
43+
}
1844
a
1945
{
2046
color: #009900;

src/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@
5555

5656
<body leftmargin="3" topmargin="0" marginwidth="3" marginheight="5" >
5757

58-
<a href="https://github.com/Lightstreamer/Lightstreamer-example-3DWorld-client-javascript"><img style="position: absolute; top: 0; right: 0; border: 0; z-index:1" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
58+
<div class="ribbon">
59+
<a href="https://github.com/Lightstreamer/Lightstreamer-example-3DWorld-client-javascript">Fork me on GitHub</a>
60+
</div>
5961
<div id="wrop">
6062

6163
<script>

0 commit comments

Comments
 (0)