Skip to content

Commit 84c1dfd

Browse files
authored
Add YouTube channel link (#12)
* Add YouTube link Add YouTube channel link to the header
1 parent b5ccf9d commit 84c1dfd

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

src/_header.html

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@
99
<link rel="icon" href="/favicon.ico">
1010
</head>
1111
<body>
12-
<p><b>Neotokyo; Rebuild</b> - <a href="/">home</a> | <a href="/guide/install">install</a> | <a href="/atom.xml">atom</a> | <a href="https://github.com/NeotokyoRebuild/neo">github</a></p>
13-
<hr>
12+
<header>
13+
<p>
14+
<span>
15+
<b>Neotokyo; Rebuild</b>
16+
- <a href="/">home</a>
17+
| <a href="/guide/install">install</a>
18+
| <a href="/atom.xml">atom</a>
19+
| <a href="https://github.com/NeotokyoRebuild/neo">github</a>
20+
</span>
21+
<span id="social-mobile">
22+
| <a href="https://www.youtube.com/@NeotokyoRebuild">YouTube</a>
23+
</span>
24+
<span id="social">
25+
<a href="https://www.youtube.com/@NeotokyoRebuild">YouTube</a>
26+
</span>
27+
</p>
28+
<hr>
29+
</header>
1430

src/style.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,21 @@ a:hover, a:active {
1515
color: #CCCCFF;
1616
}
1717

18+
span#social {
19+
display: inline;
20+
float: right;
21+
}
22+
23+
span#social-mobile {
24+
display: none;
25+
}
26+
27+
@media(max-width: 500px) {
28+
span#social {
29+
display: none;
30+
}
31+
span#social-mobile {
32+
display: inline;
33+
}
34+
}
35+

0 commit comments

Comments
 (0)