mirror of
https://github.com/JonasunderscoreJones/Website-v1.git
synced 2025-10-26 10:59:19 +01:00
New Website Progress
This commit is contained in:
parent
b51318a874
commit
10f10d0552
11 changed files with 247 additions and 10 deletions
17
new/footer.css
Normal file
17
new/footer.css
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
footer {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contactIconDiv {
|
||||||
|
background-color: #195294;
|
||||||
|
width: 31px;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 3px;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
}
|
||||||
|
footer a {
|
||||||
|
margin: 5px;
|
||||||
|
background-color: #10335C;
|
||||||
|
}
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<p>uwu</p>
|
|
||||||
|
|
@ -1,17 +1,94 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
<link rel="stylesheet" href="main.css">
|
||||||
<title>$TITLE</title>
|
<title>$TITLE</title>
|
||||||
<header>
|
<header>
|
||||||
<object data="topnav/index.html">
|
<link rel="stylesheet" href="topnav.css">
|
||||||
//TODO: add simple redirect for navigationn on browers with lack of object support
|
<div class="navbar">
|
||||||
</object>
|
<a href="#home">Home</a>
|
||||||
|
<a href="#news">News</a>
|
||||||
|
<div class="dropmenu">
|
||||||
|
<button class="dropmenubtn navbarbtn">DropMenu
|
||||||
|
<i class="fa fa-caret-down"></i>
|
||||||
|
</button>
|
||||||
|
<div class="dropmenu-content">
|
||||||
|
<div class="header">
|
||||||
|
<h2>Mega Menu</h2>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="column">
|
||||||
|
<h3>Category 1</h3>
|
||||||
|
<a href="#">Link 1</a>
|
||||||
|
<a href="#">Link 2</a>
|
||||||
|
<a href="#">Link 3</a>
|
||||||
|
</div>
|
||||||
|
<div class="column">
|
||||||
|
<h3>Category 2</h3>
|
||||||
|
<a href="#">Link 1</a>
|
||||||
|
<a href="#">Link 2</a>
|
||||||
|
<a href="#">Link 3</a>
|
||||||
|
</div>
|
||||||
|
<div class="column">
|
||||||
|
<h3>Category 3</h3>
|
||||||
|
<a href="#">Link 1</a>
|
||||||
|
<a href="#">Link 2</a>
|
||||||
|
<a href="#">Link 3</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown">
|
||||||
|
<button class="dropbtn navbarbtn">Dropdown
|
||||||
|
<i class="fa fa-caret-down"></i>
|
||||||
|
</button>
|
||||||
|
<div class="dropdown-content">
|
||||||
|
<a href="#">Link 1</a>
|
||||||
|
<a href="#">Link 2</a>
|
||||||
|
<a href="#">Link 3</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
<body>
|
||||||
|
uwu
|
||||||
|
</body>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<object data="footer/index.html">
|
<link rel="stylesheet" href="footer.css">
|
||||||
//TODO: add simple redirect for navigationn on browers with lack of object support
|
<div id="footer">
|
||||||
</object>
|
<a class="contactIcon" href="https://youtube.com/c/JonasJonesJonasJones/">
|
||||||
|
<div class="contactIconDiv">
|
||||||
|
<img height="25px" src="src/youtube_icon.png">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a class="contactIcon" href="https://github.com/J-onasJones/">
|
||||||
|
<div class="contactIconDiv">
|
||||||
|
<img height="25px" src="src/github_icon.png">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a class="contactIcon" href="https://discord.gg/V2EsuUVmWh/">
|
||||||
|
<div class="contactIconDiv">
|
||||||
|
<img height="25px" src="src/discord_icon.png">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a class="contactIcon" href="https://www.instagram.com/_jonas_jones_/">
|
||||||
|
<div class="contactIconDiv">
|
||||||
|
<img height="25px" src="src/instagram_icon.png">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a class="contactIcon" href="https://twitter.com/Jonas_Jones_/">
|
||||||
|
<div class="contactIconDiv">
|
||||||
|
<img height="25px" src="src/twitter_icon.png">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
window.onscroll = function(ev) {
|
||||||
|
if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight) {
|
||||||
|
// you're at the bottom of the page
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
</footer>
|
</footer>
|
||||||
</html>
|
</html>
|
||||||
1
new/main.css
Normal file
1
new/main.css
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
|
||||||
BIN
new/src/discord_icon.png
Normal file
BIN
new/src/discord_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 150 KiB |
BIN
new/src/github_icon.png
Normal file
BIN
new/src/github_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
BIN
new/src/instagram_icon.png
Normal file
BIN
new/src/instagram_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
BIN
new/src/twitter_icon.png
Normal file
BIN
new/src/twitter_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.2 KiB |
BIN
new/src/youtube_icon.png
Normal file
BIN
new/src/youtube_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
144
new/topnav.css
Normal file
144
new/topnav.css
Normal file
|
|
@ -0,0 +1,144 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar {
|
||||||
|
overflow: hidden;
|
||||||
|
background-color: #333;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar a {
|
||||||
|
float: left;
|
||||||
|
font-size: 16px;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
padding: 14px 16px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropmenu {
|
||||||
|
float: left;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.navbar a:hover, .dropmenu:hover .dropmenubtn {
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropmenu-content {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
width: 100%;
|
||||||
|
left: 0;
|
||||||
|
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropmenu-content .header {
|
||||||
|
background: red;
|
||||||
|
padding: 16px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropmenu:hover .dropmenu-content {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Create three equal columns that floats next to each other */
|
||||||
|
.column {
|
||||||
|
float: left;
|
||||||
|
width: 33.33%;
|
||||||
|
padding: 10px;
|
||||||
|
background-color: #ccc;
|
||||||
|
height: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.column a {
|
||||||
|
float: none;
|
||||||
|
color: black;
|
||||||
|
padding: 16px;
|
||||||
|
text-decoration: none;
|
||||||
|
display: block;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.column a:hover {
|
||||||
|
background-color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Clear floats after the columns */
|
||||||
|
.row:after {
|
||||||
|
content: "";
|
||||||
|
display: table;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
.column {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.dropdown {
|
||||||
|
float: left;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.navbar a:hover, .dropdown:hover .dropbtn {
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-content {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
min-width: 160px;
|
||||||
|
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-content a {
|
||||||
|
float: none;
|
||||||
|
color: black;
|
||||||
|
padding: 12px 16px;
|
||||||
|
text-decoration: none;
|
||||||
|
display: block;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-content a:hover {
|
||||||
|
background-color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown:hover .dropdown-content {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Navbar button style */
|
||||||
|
.navbarbtn, .navbar a{
|
||||||
|
font-size: 16px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 3px;
|
||||||
|
outline: none;
|
||||||
|
color: white;
|
||||||
|
padding: 14px 16px;
|
||||||
|
background-color: inherit;
|
||||||
|
font: inherit;
|
||||||
|
margin: 3px;
|
||||||
|
}
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<p>uwu</p>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue