mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 07:17:17 +00:00
drop redirect
This commit is contained in:
parent
74a7a57678
commit
36ded581af
11
404.html
11
404.html
@ -27,17 +27,6 @@
|
||||
</header>
|
||||
<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>
|
||||
|
||||
<figure class="img">
|
||||
|
12
index.html
12
index.html
@ -28,18 +28,6 @@ title: arcanis' homepage
|
||||
|
||||
{% include cse.html %}
|
||||
</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>
|
||||
|
||||
<h3><a href="#welcome" class="anchor" id="welcome"><span class="octicon octicon-link"></span></a>Welcome</h3>
|
||||
|
@ -161,7 +161,6 @@ h1, h2, h3, h4, h5, h6 {
|
||||
|
||||
p, ul, ol, table, pre, dl {
|
||||
margin: 0 0 20px;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
@ -182,13 +181,19 @@ h3, h4, h5, h6 {
|
||||
|
||||
a {
|
||||
color: #3399cc;
|
||||
font-weight: 350;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #740076;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a small {
|
||||
font-size: 11px;
|
||||
color: #777777;
|
||||
margin-top: -0.6em;
|
||||
display: block;
|
||||
}
|
||||
@ -243,10 +248,6 @@ th, td {
|
||||
border-bottom: 1px solid #ffffff;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
dt {
|
||||
color: #444444;
|
||||
font-weight: 700;
|
||||
|
Loading…
Reference in New Issue
Block a user