all start

This commit is contained in:
AntiBitrix 2023-06-01 07:30:07 +00:00
parent 1ff29e036d
commit 285dff6266
5 changed files with 222 additions and 2 deletions

View File

@ -1,2 +1,2 @@
# AB_Website
# website
this is my [website](https://AntiBitrix.github.io/website/) :) you guys can check this out for more details

BIN
favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

21
index.html Normal file
View File

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dev</title>
<link rel="icon" type="image/png" href="src/favicon.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Dev!</h1>
<h2>Hey, I am AntiBitrix(00010110) <b> [Don't ask about the name ..]</b>!</h2>
<p>just noobie dev ;</p>
<ul>
<li><a href="https://github.com/AntiBitrix" target="_blank">GitHub</a></li>
<li><a href="mailto:veereswarg@gmail.com" target="_blank">Email</a></li>
<li><a href="https://www.youtube.com/@AntiBitrix" target="_blank">YouTube</a></li>
</ul>
</div>
</body>
</html>

11
script.js Normal file
View File

@ -0,0 +1,11 @@
function hoverColor() {
var links = document.getElementsByTagName("a");
for (var i = 0; i < links.length; i++) {
links[i].addEventListener("mouseover", function() {
this.style.color = "green";
});
links[i].addEventListener("mouseout", function() {
this.style.color = "white";
});
}
}

188
style.css Normal file
View File

@ -0,0 +1,188 @@
body {
background-color: #0E1111;
text-align: center;
padding: 20px;
font-family: "Hack", Courier, monospace;
}
h1 {
font-size: 2em;
color: white;
border: 1px solid white;
padding: 10px;
}
h2 {
font-size: 1.5em;
color: white;
font-family: "Terminal", Terminal, monospace;
text-align: center;
padding: 0 20px;
border-bottom: 1px solid white;
}
h2::after {
content: "!";
font-size: 3em;
color: red;
margin-left: 10px;
}
h2::first-letter {
font-size: 2em;
color: red;
}
p {
font-size: 1em;
color: white;
border: 1px solid white;
padding: 10px;
}
ul {
list-style-type: none;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
text-decoration: none;
color: white;
border: 1px solid white;
padding: 10px;
transition: all 0.3s;
}
a:hover {
color: red;
border-color: red;
}
@media only screen and (max-width: 768px) {
h1 {
font-size: 1.5em;
}
h2 {
font-size: 1.2em;
padding: 0 10px;
}
h2::after {
font-size: 2em;
margin-left: 5px;
}
h2::first-letter {
font-size: 1.5em;
}
p {
font-size: 0.9em;
}
li {
margin: 0 5px;
}
a {
font-size: 0.9em;
padding: 5px;
}
}
.container {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
h1 {
font-size: 3em;
margin-bottom: 1em;
}
h2 {
font-size: 2em;
margin-bottom: 1em;
}
h2 span {
font-size: 2em;
}
p {
font-size: 1.2em;
margin-bottom: 2em;
}
ul {
margin: 0;
padding: 0;
}
li {
display: block;
margin-bottom: 1em;
}
a {
display: inline-block;
padding: 0.5em 1em;
font-size: 1.2em;
border: 2px solid #c1c1c1;
color: white;
text-decoration: none;
transition: background-color 0.3s ease;
}
a:hover {
background-color: white;
color: black;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
body {
margin: 0;
}
.social-icons {
display: flex;
justify-content: center;
align-items: center;
}
.social-icons a {
display: inline-block;
margin: 0 10px;
padding: 0;
margin: 0 0.5em;
color: white;
text-decoration: none;
transition: all 0.3s;
}
.social-icons a:hover {
color: black;
background-color: white;
}
.social-icons a:not(:last-child) {
border-radius: 0;
}
.social-icons a:before {
content: "";
display: none;
}
.social-icons a:not(:last-child):after {
content: "";
display: none;
}