mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 08:58:13 +01:00
stuff stuff
This commit is contained in:
parent
9cdc85ca91
commit
0a35ab0cf0
1 changed files with 109 additions and 110 deletions
|
@ -6,17 +6,34 @@
|
||||||
<link rel="manifest" href="/manifest.json">
|
<link rel="manifest" href="/manifest.json">
|
||||||
<link href="css/yt-ukraine.svg" rel="icon">
|
<link href="css/yt-ukraine.svg" rel="icon">
|
||||||
<title>Poke! Calendar</title>
|
<title>Poke! Calendar</title>
|
||||||
</head>
|
<style>
|
||||||
<body>
|
body {
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
background-color: #121212;
|
background-color: #121212;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.navbar {
|
||||||
|
background-color: #333333;
|
||||||
|
padding: 10px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between; /* Aligns items on both ends */
|
||||||
|
align-items: center; /* Centers items vertically */
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar h1 {
|
||||||
|
margin: 0;
|
||||||
|
color: #bb86fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar .years {
|
||||||
|
color: #bb86fc; /* Year text color */
|
||||||
|
display: flex; /* Use flexbox for alignment */
|
||||||
|
gap: 20px; /* Space between year elements */
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
background-color: #1e1e1e;
|
background-color: #1e1e1e;
|
||||||
|
@ -25,57 +42,38 @@ body {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar {
|
h2, h3 {
|
||||||
background-color: #333333;
|
|
||||||
padding: 10px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between; /* Aligns items on both ends */
|
|
||||||
align-items: center; /* Centers items vertically */
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar h1 {
|
|
||||||
margin: 0;
|
|
||||||
color: #bb86fc;
|
color: #bb86fc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar .years {
|
.calendar-table {
|
||||||
color: #bb86fc; /* Year text color */
|
|
||||||
display: flex; /* Use flexbox for alignment */
|
|
||||||
gap: 20px; /* Space between year elements */
|
|
||||||
}
|
|
||||||
|
|
||||||
h2, h3 {
|
|
||||||
color: #bb86fc;
|
|
||||||
}
|
|
||||||
|
|
||||||
.calendar-table {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-table th, .calendar-table td {
|
.calendar-table th, .calendar-table td {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: 1px solid #333333;
|
border: 1px solid #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-table th {
|
.calendar-table th {
|
||||||
background-color: #333333;
|
background-color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-table td {
|
.calendar-table td {
|
||||||
background-color: #2c2c2c;
|
background-color: #2c2c2c;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-links {
|
.nav-links {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background-color: #bb86fc;
|
background-color: #bb86fc;
|
||||||
|
@ -83,14 +81,14 @@ h2, h3 {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
transition: background-color 0.3s;
|
transition: background-color 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button:hover {
|
.button:hover {
|
||||||
background-color: #9c62f3;
|
background-color: #9c62f3;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
</head>
|
||||||
<div class="container">
|
<body>
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<h1>Poke Calendar!! woaww</h1>
|
<h1>Poke Calendar!! woaww</h1>
|
||||||
<div class="years">
|
<div class="years">
|
||||||
|
@ -100,6 +98,7 @@ h2, h3 {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
<table class="calendar-table">
|
<table class="calendar-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -130,6 +129,6 @@ h2, h3 {
|
||||||
<a href="/calendar?date=<%= currentDate.toISOString() %>&month=<%= month - 1 < 0 ? 11 : month - 1 %>&year=<%= month - 1 < 0 ? year - 1 : year %>" class="button">Previous Month</a>
|
<a href="/calendar?date=<%= currentDate.toISOString() %>&month=<%= month - 1 < 0 ? 11 : month - 1 %>&year=<%= month - 1 < 0 ? year - 1 : year %>" class="button">Previous Month</a>
|
||||||
<a href="/calendar?date=<%= currentDate.toISOString() %>&month=<%= (month + 1) % 12 %>&year=<%= month + 1 > 11 ? year + 1 : year %>" class="button">Next Month</a>
|
<a href="/calendar?date=<%= currentDate.toISOString() %>&month=<%= (month + 1) % 12 %>&year=<%= month + 1 > 11 ? year + 1 : year %>" class="button">Next Month</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue