Skip to content

Commit 7a0e3a7

Browse files
committed
feat: add link to repo in ui
1 parent aeb68f6 commit 7a0e3a7

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

webui-page/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@
7070
<div class="burger">
7171
<a href="#" onClick="togglePlaylist(); return false;" title="Show playlist"><i class="fas fa-list-ul"></i></a>
7272
</div>
73+
<div class="info">
74+
<a href="https://github.com/open-dynaMIX/simple-mpv-webui" target="_blank" title="simple-mpv-webui on GitHub"><i class="fas fa-info"></i></a>
75+
</div>
7376
<h1 id="title">Title</h1>
7477
<h2 id="artist">Artist</h2>
7578
<h3 id="album">Album</h3>

webui-page/webui.css

+11-1
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,23 @@ h3 {
4343
float: right;
4444
font-size: 8vw;
4545
/*top right bottom left*/
46-
margin: 0 30px 30px 30px;
46+
margin: 0 30px 0 30px;
4747
}
4848

4949
.burger a {
5050
color: var(--main-fg-color);
5151
}
5252

53+
.info {
54+
float: right;
55+
font-size: 6.55vw;
56+
margin: 7px 30px 0 10px;
57+
}
58+
59+
.info a {
60+
color: var(--main-fg-color);
61+
}
62+
5363
.button {
5464
text-align: center;
5565
display: inline-block;

0 commit comments

Comments
 (0)