fix: compatibility with IE3
This commit is contained in:
@@ -12,6 +12,7 @@ html {
|
||||
}
|
||||
|
||||
#spike {
|
||||
vertical-align: bottom;
|
||||
border-style:solid;
|
||||
border-color:rgba(18,24,217,0.6);
|
||||
width: 10.1%;
|
||||
@@ -54,33 +55,22 @@ a:active {
|
||||
color: #686bff;
|
||||
}
|
||||
|
||||
.header {
|
||||
width: auto;
|
||||
.menu_link {
|
||||
position: relative;
|
||||
bottom: 1px;
|
||||
}
|
||||
|
||||
.menu {
|
||||
width: auto;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
background: #1218d9;
|
||||
background-color: rgba(18,24,217,0.6);
|
||||
top: 0;
|
||||
left:0px;
|
||||
right:0px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.menu {
|
||||
display: flex;
|
||||
font-weight: bold;
|
||||
margin-top: -1.9%;
|
||||
margin-left: 12%;
|
||||
}
|
||||
|
||||
/* Add spacing between child elements using margins */
|
||||
/* Doing this hack to ensure IE compatibility */
|
||||
.menu > * {
|
||||
margin-right: 10px; /* Adjust the value as needed */
|
||||
}
|
||||
|
||||
/* Remove margin from the last child to prevent extra spacing */
|
||||
.menu > :last-child {
|
||||
margin-right: 0;
|
||||
.menu a {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
@@ -8,13 +8,11 @@
|
||||
<link rel="stylesheet" type="text/css" href="/css/styles.css"/>
|
||||
</head>
|
||||
<body background="../images/bg.gif">
|
||||
<div class="header">
|
||||
<div class="menu">
|
||||
<a href="/" aria-label="patate.dev"><img alt="Spike" src="/images/spike.jpg" id="spike" width="125.583" height="95.6833"></a>
|
||||
<div background="../images/bg.gif" class="menu">
|
||||
<a href="/pages/blog.html" aria-label="the blog"> the blog</a>
|
||||
<a href="//github.com/ALittlePatate" aria-label="github">github</a>
|
||||
<a href="/gpg/key.txt" aria-label="gpg key">gpg key</a>
|
||||
<a href="/php/guestbook.php" aria-label="guestbook">guestbook</a>
|
||||
</div>
|
||||
<a class="menu_link" href="/pages/blog.html" aria-label="the blog"> the blog</a>
|
||||
<a class="menu_link" href="//github.com/ALittlePatate" aria-label="github">github</a>
|
||||
<a class="menu_link" href="/gpg/key.txt" aria-label="gpg key">gpg key</a>
|
||||
<a class="menu_link" href="/php/guestbook.php" aria-label="guestbook">guestbook</a>
|
||||
</div>
|
||||
<font color="white">
|
||||
Reference in New Issue
Block a user