drop redirect

This commit is contained in:
Evgenii Alekseev 2021-01-08 17:28:37 +03:00
parent 74a7a57678
commit 36ded581af
3 changed files with 8 additions and 30 deletions

View File

@ -27,17 +27,6 @@
</header> </header>
<section> <section>
<!-- redirection to russian page -->
<script type="text/javascript">
var languageinfo = navigator.language ? navigator.language : navigator.userLanguage
function redirectpage(dest) {
if (window.location.replace) window.location.replace(dest)
else window.location = dest
}
if (languageinfo.substr(0,2) == "ru") redirectpage("/ru/404.html")
</script>
<!-- redirection to russian page -->
<h3>Hello!</h3> <h3>Hello!</h3>
<figure class="img"> <figure class="img">

View File

@ -28,18 +28,6 @@ title: arcanis' homepage
{% include cse.html %} {% include cse.html %}
</header> </header>
<!-- redirection to russian page -->
<script type="text/javascript">
function redirectpage(dest) {
if (window.location.replace) window.location.replace(dest)
else window.location = dest
}
if (document.referrer != "{{ site.url }}/ru/") {
var languageinfo = navigator.language ? navigator.language : navigator.userLanguage
if (languageinfo.substr(0,2) == "ru") redirectpage("/ru/")
}
</script>
<!-- redirection to russian page -->
<section> <section>
<h3><a href="#welcome" class="anchor" id="welcome"><span class="octicon octicon-link"></span></a>Welcome</h3> <h3><a href="#welcome" class="anchor" id="welcome"><span class="octicon octicon-link"></span></a>Welcome</h3>

View File

@ -161,7 +161,6 @@ h1, h2, h3, h4, h5, h6 {
p, ul, ol, table, pre, dl { p, ul, ol, table, pre, dl {
margin: 0 0 20px; margin: 0 0 20px;
text-align: justify;
} }
h1, h2, h3 { h1, h2, h3 {
@ -182,13 +181,19 @@ h3, h4, h5, h6 {
a { a {
color: #3399cc; color: #3399cc;
font-weight: 350;
text-decoration: none; text-decoration: none;
} }
a:visited {
color: #740076;
}
a:hover {
text-decoration: underline;
}
a small { a small {
font-size: 11px; font-size: 11px;
color: #777777;
margin-top: -0.6em; margin-top: -0.6em;
display: block; display: block;
} }
@ -243,10 +248,6 @@ th, td {
border-bottom: 1px solid #ffffff; border-bottom: 1px solid #ffffff;
} }
td {
text-align: justify;
}
dt { dt {
color: #444444; color: #444444;
font-weight: 700; font-weight: 700;