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