fix: NetScape/IE compatibility, cleaned code

This commit is contained in:
2024-04-22 16:35:10 +02:00
parent 3485265d08
commit 95d271cb7c
8 changed files with 15 additions and 19 deletions

View File

@@ -10,8 +10,11 @@
/* centers the website */ /* centers the website */
html { html {
max-width: 1200px; background: rgb(18,24,217);
margin: auto; background-color: rgba(18,24,217);
background: url(../images/bg.gif) repeat 0 0;
max-width: 1200px;
margin: auto;
} }
/* unvisited link */ /* unvisited link */
@@ -37,7 +40,8 @@ a:active {
.header { .header {
width: auto; width: auto;
height: auto; height: auto;
overflow:auto; overflow: hidden;
background: rgb(18,24,217);
background-color: rgba(18,24,217,0.6); background-color: rgba(18,24,217,0.6);
top: 0; top: 0;
left:0px; left:0px;
@@ -62,7 +66,6 @@ a:active {
} }
body { body {
background: url(../images/bg.gif) repeat 0 0;
color: white; color: white;
} }

View File

@@ -1,5 +1,4 @@
<!--#include virtual="pages/header.html" --> <!--#include virtual="pages/header.html" -->
<body>
<p>Hey you, thanks for passing by, let me introduce myself. I'm a French C/C++/Python/ASM coder who is interested in reverse engineering, Eurobeat music and 90's looking websites.</p> <p>Hey you, thanks for passing by, let me introduce myself. I'm a French C/C++/Python/ASM coder who is interested in reverse engineering, Eurobeat music and 90's looking websites.</p>
<p>I don't know how you found this website but be free to check <a href="pages/blog.html" aria-label="my blog">my blog</a> where i post random stuff.</p> <p>I don't know how you found this website but be free to check <a href="pages/blog.html" aria-label="my blog">my blog</a> where i post random stuff.</p>

View File

@@ -1,5 +1,4 @@
<!--#include virtual="header.html" --> <!--#include virtual="header.html" -->
<body>
<p>In this section of the website you can read the random stuff i post from time to time.</p> <p>In this section of the website you can read the random stuff i post from time to time.</p>
<h2>The articles</h2> <h2>The articles</h2>

View File

@@ -1,8 +1,6 @@
<html>
<footer id="foot"> <footer id="foot">
<a href="//gnu.org" aria-label="GNU website"><img alt="GNU/Linux" src="/images/footer/gnu_linux.png" width="88" height="31"/></a> <a href="//gnu.org" aria-label="GNU website"><img alt="GNU/Linux" src="/images/footer/gnu_linux.png" width="88" height="31"/></a>
<img alt="" src="/images/footer/internet-privacy.gif" width="88" height="31"/> <img alt="" src="/images/footer/internet-privacy.gif" width="88" height="31"/>
<a href="//torproject.org" aria-label="Tor project"><img alt="Tor" src="/images/footer/tor.gif" width="88" height="31"/></a> <a href="//torproject.org" aria-label="Tor project"><img alt="Tor" src="/images/footer/tor.gif" width="88" height="31"/></a>
<a href="." aria-label="patate.dev"><img alt="patate.dev" src="/images/footer/patate_dev.png" width="88" height="31"/></a> <a href="." aria-label="patate.dev"><img alt="patate.dev" src="/images/footer/patate_dev.png" width="88" height="31"/></a>
</footer> </footer>
</html>

View File

@@ -9,9 +9,7 @@
</head> </head>
<body> <body>
<div class="header"> <div class="header">
<a href="/" aria-label="patate.dev"> <a href="/" aria-label="patate.dev"><img alt="Spike" src="/images/spike.jpg" id="spike" width="125.583" height="95.6833"></a>
<a href="/" aria-label="patate.dev"><img alt="Spike" src="/images/spike.jpg" id="spike" width="125.583" height="95.6833"></a>
</a>
<div class="menu"> <div class="menu">
<p></p> <p></p>
<a href="/pages/blog.html" aria-label="the blog"> the blog</a> <a href="/pages/blog.html" aria-label="the blog"> the blog</a>
@@ -19,4 +17,3 @@
<a href="/pgp/key.txt" aria-label="pgp key">pgp key</a> <a href="/pgp/key.txt" aria-label="pgp key">pgp key</a>
</div> </div>
</div> </div>
</body>

View File

@@ -1,6 +1,4 @@
<!--#include virtual="header.html" --> <!--#include virtual="header.html" -->
<body>
<article aria-label="Content" itemscope itemtype="http://schema.org/BlogPosting"> <article aria-label="Content" itemscope itemtype="http://schema.org/BlogPosting">
<h1 itemprop="name headline">-insecure mode bypass in CS:GO</h1> <h1 itemprop="name headline">-insecure mode bypass in CS:GO</h1>
@@ -47,3 +45,6 @@
<!--#include virtual="footer.html" --> <!--#include virtual="footer.html" -->
</body>
</html>

View File

@@ -1,6 +1,4 @@
<!--#include virtual="header.html" --> <!--#include virtual="header.html" -->
<body>
<article aria-label="Content" itemscope itemtype="http://schema.org/BlogPosting"> <article aria-label="Content" itemscope itemtype="http://schema.org/BlogPosting">
<h1 itemprop="name headline">Reversing VAC winapi hooks</h1> <h1 itemprop="name headline">Reversing VAC winapi hooks</h1>
@@ -44,3 +42,6 @@ To conclude, reversing VAC is a great way of learning as it's not obfuscated/pac
<!--#include virtual="footer.html" --> <!--#include virtual="footer.html" -->
</body>
</html>

View File

@@ -26,10 +26,7 @@ def write_file(text) :
def generate_base(title) : def generate_base(title) :
base = """ base = """
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<!--#include virtual="header.html" --> <!--#include virtual="header.html" -->
<body>
<article aria-label="Content" itemscope itemtype="http://schema.org/BlogPosting"> <article aria-label="Content" itemscope itemtype="http://schema.org/BlogPosting">
<h1 itemprop="name headline">"""+title+"""</h1> <h1 itemprop="name headline">"""+title+"""</h1>
""" """
@@ -61,6 +58,7 @@ def generate_end_file() :
base = ''' base = '''
<p></p></main></article> <p></p></main></article>
<!--#include virtual="footer.html" --> <!--#include virtual="footer.html" -->
</body>
</html>''' </html>'''
write_file(base) write_file(base)