Improvement to pastes archive, added navigator to the top of each page

This commit is contained in:
whoswhip
2024-08-19 03:45:06 -04:00
parent 7221d99b68
commit 47aed18919
6 changed files with 237 additions and 6 deletions
+38
View File
@@ -7,6 +7,11 @@
<title>create paste</title>
</head>
<body>
<div class="nav-div">
<a href="/">home</a>
<a href="/pastes">recent pastes</a>
<a href="/archive">archive</a>
</div>
<div class="container-wrapper">
<div class="error-container">
<h1>Error {code}</h1>
@@ -67,5 +72,38 @@ body{
background-color: #333333;
border: 2px solid #3a3a3a;
}
.nav-div{
top: 0;
margin-top: 10px;
position: absolute;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: fit-content;
background-color: #181818;
padding-left: 10px;
padding-right: 10px;
color: white;
border-radius: 5px;
height: fit-content;
overflow-y: auto;
border: #222222 2px solid;
}
.nav-div a{
text-decoration: none;
color: white;
padding: 10px;
margin: 10px;
border-radius: 5px;
background-color: #222222;
transition: 300ms;
border: #2a2a2a00 2px solid;
}
.nav-div a:hover{
transition: 300ms;
background-color: #333333;
border: #3a3a3a 2px solid;
}
</style>
</html>