Skip to content

Commit 2aea127

Browse files
committed
update demo footer
1 parent f040a89 commit 2aea127

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

demo/Demo.vue

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<h2>Label<br><small>(<code>aria-label</code>)</small></h2>
2323
<p><octicon name="repo-forked" label="Forked Repository"></octicon></p>
2424
<figure><pre><code>&lt;octicon <span class="attr">name</span>=<span class="val">"repo-forked"</span> <span class="attr">label</span>=<span class="val">"Forked Repository"</span>&gt;&lt;/octicon&gt;</code></pre></figure>
25+
26+
<footer>
27+
<a href="//github.com/Justineo">@Justineo</a>|<a href="//github.com/Justineo/vue-octicon/blob/master/LICENSE">MIT License</a>|<a href="//github.com/Justineo/vue-octicon">View on GitHub</a>
28+
</footer>
2529
</template>
2630

2731
<style>
@@ -108,4 +112,24 @@ pre code {
108112
.val {
109113
color: #42b983;
110114
}
115+
116+
footer {
117+
margin: 5em 0 3em;
118+
font-size: 0.5em;
119+
vertical-align: middle;
120+
}
121+
122+
footer a {
123+
display: inline-block;
124+
margin: 0 5px;
125+
padding: 3px 0 6px;
126+
color: #7f8c8d;
127+
font-size: 2em;
128+
text-decoration: none;
129+
}
130+
131+
footer a:hover {
132+
padding-bottom: 3px;
133+
border-bottom: 3px solid #42b983;
134+
}
111135
</style>

0 commit comments

Comments
 (0)