Merge branch 'main' of github.com:MCorange99/personal_website

This commit is contained in:
Gvidas Juknevičius 2024-03-28 01:24:08 +02:00
commit 3c34a5e407
4 changed files with 135 additions and 18 deletions

BIN
static/assets/bg.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1 @@

89
static/global.css Normal file
View File

@ -0,0 +1,89 @@
body {
background: url(/static/assets/bg.gif);
color: white;
font-family: monospace;
height: 100vh;
margin: 0;
display: flex;
justify-content: center;
}
.titlebar {
text-align: center;
}
.box {
background: rgba(0, 0, 0, 0.8);
border: 2px solid purple;
padding: 10px;
box-sizing: border-box;
text-align: center;
width: 100%;
margin: 5px;
}
a:link {
color: purple;
text-decoration: none;
}
#content {
width: 50%;
}
#main-pane {
width: 100%;
padding: 10px;
display: flex;
flex-direction: row;
}
#content-pane, #sidenav {
height: 80vh;
}
#sidenav {
width: 25%;
font-size: 12pt;
display: flex;
flex-direction: column;
}
@media only screen and (max-width: 1080px) {
#content {
width: 90%;
}
#main-pane {
flex-direction: column;
width: 96%;
}
#content-pane, #sidenav {
height: 100%;
width: 100%;
}
#sidenav {
flex-direction: row;
}
#sidenav a {
margin-left: 10px;
}
}

View File

@ -1,20 +1,47 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html>
<head>
<title>Document</title> <head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>placeholder</title>
<!-- <script src="https://unpkg.com/htmx.org@1.9.11"></script> --> <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head> <link rel="stylesheet" href="static/global.css">
<body>
<div id="nav"> </head>
<a class="nav-logo" href="#home"> <img src="/static/logo.svg" alt="Website Logo"> </a>
<a class="nav-btn nav-btn-active" href="#home">Home</a> <body>
<a class="nav-btn" href="#projects">Projects</a>
<a class="nav-btn" href="#contact">Contact</a> <div id="content">
<a class="nav-btn" href="#supportme">Support Me</a>
</div> <div class="box titlebar">
<h1>Placeholder</h1>
</div>
<div id="main-pane">
<div class="box" id="sidenav">
<a href="#">Home</a>
<a href="#">Home</a>
<a href="#">Home</a>
<a href="#">Home</a>
</div>
<div class="box" id="content-pane">
<p>{{placeholder}}</p>
</div>
</div>
</div>
</body>
<!-- <h1>{{placeholder}}</h1> -->
</body>
</html> </html>