Added sections & footer
This commit is contained in:
parent
87f6f6a461
commit
d7093ad4f0
2 changed files with 86 additions and 5 deletions
53
index.css
53
index.css
|
@ -4,6 +4,7 @@
|
|||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
transition: all 0.3s ease;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -20,7 +21,9 @@ body.light-mode {
|
|||
header {
|
||||
background-color: rgb(31, 36, 40);
|
||||
padding: 0px 32px;
|
||||
position: relative;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
body.light-mode header {
|
||||
background-color: #ffffff;
|
||||
|
@ -96,6 +99,43 @@ body.light-mode .dark-mode-toggle:hover {
|
|||
background-color: #e0e0e0;
|
||||
}
|
||||
|
||||
/*
|
||||
FOOTER
|
||||
*/
|
||||
footer {
|
||||
background-color: rgb(27, 31, 34);
|
||||
padding: 48px 0px;
|
||||
width: 100%;
|
||||
}
|
||||
footer .links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
footer a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
|
||||
background-color: rgb(39, 44, 48);
|
||||
color: white;
|
||||
font-size: 24px;
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
text-decoration: none;
|
||||
}
|
||||
footer p {
|
||||
color: rgb(216, 216, 216);
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
/*
|
||||
MAIN
|
||||
|
@ -104,3 +144,14 @@ main {
|
|||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
/* Home Section */
|
||||
.home-container {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
/* Showcase Section */
|
||||
.showcase-container {
|
||||
height: 100vh;
|
||||
}
|
38
index.html
38
index.html
|
@ -5,6 +5,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Tarions Portfolio</title>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||
<link rel="stylesheet" href="index.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -16,16 +17,16 @@
|
|||
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#">Home</a>
|
||||
<a href="#home">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Showcase</a>
|
||||
<a href="#showcase">Showcase</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">About</a>
|
||||
<a href="#about">About</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Contact</a>
|
||||
<a href="#contact">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
<button id="dark-mode-toggle" class="dark-mode-toggle">🌙</button>
|
||||
|
@ -33,9 +34,38 @@
|
|||
</header>
|
||||
|
||||
<main>
|
||||
<section id="home">
|
||||
<div class="home-container">
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<section id="showcase">
|
||||
<div class="showcase-container">
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<section id="about">
|
||||
<div class="about-container">
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<section id="contact">
|
||||
<div class="contact-container">
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="links">
|
||||
<a href="#"><i class='fab fa-discord'></i></a>
|
||||
<a href="#"><i class="fa-brands fa-github"></i></a>
|
||||
<a href="#"><i class="fa-brands fa-git-alt"></i></a>
|
||||
<a href="#"><i class="fa-brands fa-steam"></i></a>
|
||||
</div>
|
||||
<p>© 2025 Tarion. All rights reserved.</p>
|
||||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue