Commit c1af3a9a authored by Hydrox6's avatar Hydrox6

Moved the 404 css into its own scss and fixed the issues

Since I was loading the homepage's css, it was loading incorrect stuff for main#main. Now, the current 404 page is identical to the original one.
parent a41ade17
......@@ -7,16 +7,6 @@ title: 404
<!--Mobile Compatability HO!-->
<meta name=viewport content="initial-scale=1">
<title>{{ page.title }} - {{ site.name }}</title>
<!--Fixes for links loading blue & non-dark theme whilst loading on mobile/slow internet-->
<style>
body{background-color: #222222;}
a{color:#dddddd;}
main#main{font-size: 100px;padding-top: 20px;font-weight: 550;padding-bottom: 20px;z-index: 2;position:relative;text-align: center;line-height: 1.5em;}
header{position: relative;z-index: 2;}
img#konchu{position: relative;z-index: 0;width: 100%;margin:0 auto;margin-top:-70%;}
a#konchusrc{position: relative;z-index: 1;}
@media (max-width: 840px){img#konchu{margin-top:-100%;}main#main{font-size: 50px;}}
</style>
</head>
<body>
<div class="container">
......@@ -45,6 +35,6 @@ title: 404
</main>
<a id="konchusrc" href="https://www.youtube.com/watch?v=7ALQCWUlinM" alt="Source"><img id="konchu" src="https://i.imgur.com/cC5NwXE.gif" alt="Konchu"></a>
</div>
<link rel="stylesheet" href="http://hydrox.io/style.css">
<link rel="stylesheet" href="{{ site.url }}/404.css">
</body>
</html>
\ No newline at end of file
---
---
@import "base";
body{background-color: #222222;}
a{color:#dddddd;}
main#main
{
font-size: 100px;
padding-top : 20px;
font-weight: 500;
padding-bottom: 20px;
z-index: 2;
position:relative;
text-align: center;
line-height: 1.5em;
}
header
{
position: relative;
z-index: 2;
}
img#konchu
{
position: relative;
z-index: 0;
width: 100%;
margin:0 auto;
margin-top:-70%;
}
a#konchusrc
{
position: relative;
z-index: 1;
}
@media (max-width: 840px){img#konchu{margin-top:-100%;}main#main{font-size: 50px;}}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment