Skip to content

Commit faea58b

Browse files
committed
add powered by
1 parent c9d391a commit faea58b

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

css/stylesheet.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ button {
3232
background: none;
3333
font-size: 12px;
3434
outline: none;
35+
white-space: nowrap;
36+
overflow: hidden;
37+
text-overflow: ellipsis;
3538
}
3639

3740
button:hover {
@@ -47,7 +50,7 @@ button.category {
4750
}
4851

4952
button.indent {
50-
padding-left: 36px;
53+
padding-left: 28px;
5154
}
5255

5356
.divider {
@@ -88,6 +91,8 @@ nav h3 {
8891
left: 0;
8992
right: 85%;
9093
visibility: hidden;
94+
overflow: scroll;
95+
padding-bottom: 120px;
9196
}
9297

9398
.sidemenu.active {
@@ -246,6 +251,10 @@ pre {
246251
background: rgba(120, 0, 0, .8);
247252
}
248253

254+
.github-fork-ribbon {
255+
position: fixed;
256+
}
257+
249258
.github-fork-ribbon.left-bottom:before {
250259
background-color: #333;
251260
}

index.html

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<title>Algorithm Visualizer</title>
66
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
77
<link rel="stylesheet" href="css/font-awesome.min.css">
8-
<link rel="stylesheet" href="css/stylesheet.css">
98
<link rel="stylesheet" href="css/gh-fork-ribbon.css"/>
9+
<link rel="stylesheet" href="css/stylesheet.css">
1010
</head>
1111
<body>
1212
<nav>
@@ -32,8 +32,25 @@ <h3>
3232
</div>
3333
<div id="header">
3434
<a href="https://github.com/parkjs814/AlgorithmVisualizer/wiki">
35-
<button>Documentation</button>
35+
<button><i class="fa fa-book"></i> Documentation</button>
36+
</a>
37+
<button class="category"><i class="fa fa-github"></i> Powered by ...</button>
38+
<a href="https://github.com/jquery/jquery">
39+
<button class="indent">jquery/jquery</button>
40+
</a>
41+
<a href="https://github.com/ajaxorg/ace">
42+
<button class="indent">ajaxorg/ace</button>
43+
</a>
44+
<a href="https://github.com/jacomyal/sigma.js">
45+
<button class="indent">jacomyal/sigma.js</button>
46+
</a>
47+
<a href="https://github.com/FortAwesome/Font-Awesome">
48+
<button class="indent">FortAwesome/Font-Awesome</button>
49+
</a>
50+
<a href="https://github.com/simonwhitaker/github-fork-ribbon-css">
51+
<button class="indent">simonwhitaker/github-fork-ribbon-css</button>
3652
</a>
53+
3754
</div>
3855
<a class="github-fork-ribbon left-bottom" href="http://github.com/parkjs814/AlgorithmVisualizer"
3956
title="Fork me on GitHub">Fork me on GitHub</a>

0 commit comments

Comments
 (0)