mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-03 23:15:23 +00:00
Merge pull request #109 from patriciogonzalezvivo/lang-switcher
Add language links to the top page
This commit is contained in:
commit
30381315c8
@ -97,18 +97,29 @@ img {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.toc-header {
|
||||
font-size: 16px;
|
||||
line-height: 16px;
|
||||
margin-top: 24px;
|
||||
margin-bottom: 24px;
|
||||
text-align: right;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.header .subtitle {
|
||||
|
||||
}
|
||||
|
||||
.header .subtitle a{
|
||||
.header .subtitle a,
|
||||
.toc-header .subtitle a {
|
||||
font-size: 1.3em;
|
||||
font-style: italic;
|
||||
text-decoration: none;
|
||||
border: 0!important;
|
||||
}
|
||||
|
||||
.header a{
|
||||
.header a,
|
||||
.toc-header a {
|
||||
font-size: 0.8em;
|
||||
font-style: italic;
|
||||
text-decoration: none;
|
||||
@ -357,4 +368,3 @@ code {
|
||||
font-style: italic;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
include("header.php");
|
||||
|
||||
include("toc-header.php");
|
||||
echo '<div id="content">';
|
||||
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
|
3
toc-header.php
Normal file
3
toc-header.php
Normal file
@ -0,0 +1,3 @@
|
||||
<div class="toc-header">
|
||||
<p> <a href="?lan=jp">日本語</a> - <a href="?lan=ch">中文版</a> - <a href="?lan=kr">한국어</a> - <a href="?lan=es">Español</a> - <a href="?lan=fr">Français</a> - <a href="?lan=it">Italiano</a> - <a href=".">English</a></p>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user