2023-10-07 21:45:38 +01:00
|
|
|
/* Reset some default styles */
|
|
|
|
body, h1, p, ul, li, li2, p1 {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
2024-02-13 17:14:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Dark mode stylse */
|
|
|
|
|
|
|
|
body.dark-mode {
|
|
|
|
color: #fff;
|
|
|
|
background-color: rgb(34, 34, 34);
|
|
|
|
--button-color: rgb(27, 105, 125);
|
|
|
|
--sidebar-color: rgb(14, 66, 79);
|
2024-03-04 19:37:38 +00:00
|
|
|
--shadow: black;
|
2023-10-07 21:45:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
2023-11-23 17:11:10 +00:00
|
|
|
.clickbutton {
|
|
|
|
padding: 10px;
|
2024-02-13 17:14:45 +00:00
|
|
|
background-color: var(--button-color);
|
2023-11-23 17:11:10 +00:00
|
|
|
font-size: 15px;
|
|
|
|
border-radius: 10px;
|
|
|
|
color: white;
|
2024-01-27 16:10:21 +00:00
|
|
|
min-width: 50px;
|
|
|
|
max-width: 100px;
|
|
|
|
display: inline-block;
|
2024-02-13 17:35:39 +00:00
|
|
|
text-decoration: none;
|
|
|
|
transition: all 0.3s ease;
|
2024-03-04 19:41:56 +00:00
|
|
|
box-shadow: var(--shadow) 5px 5px 5px;
|
2023-11-23 17:11:10 +00:00
|
|
|
}
|
|
|
|
|
2024-02-13 17:32:47 +00:00
|
|
|
.clickbutton:hover {
|
|
|
|
background-color: rgb(40, 150, 179);
|
2024-02-13 17:35:39 +00:00
|
|
|
text-decoration: underline;
|
2024-02-13 17:32:47 +00:00
|
|
|
}
|
|
|
|
|
2023-10-07 21:45:38 +01:00
|
|
|
.spacer {
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: Arial, sans-serif;
|
2023-10-31 22:52:04 +00:00
|
|
|
color: rgb(40, 40, 40);
|
2024-02-13 17:19:05 +00:00
|
|
|
--button-color: rgb(118, 181, 197);
|
|
|
|
--sidebar-color: rgb(0, 160, 198);
|
2024-03-04 19:37:38 +00:00
|
|
|
--shadow: lightgrey;
|
2023-10-07 21:45:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Sidebar styles */
|
2024-03-07 17:43:33 +00:00
|
|
|
.sidecontainer {
|
|
|
|
position: fixed;
|
|
|
|
height: 100%;
|
|
|
|
width: 310px;
|
|
|
|
border: medium;
|
|
|
|
transition: all 0.3s ease 0s;
|
|
|
|
}
|
|
|
|
|
2023-10-07 21:45:38 +01:00
|
|
|
.sidebar {
|
2024-03-04 12:21:18 +00:00
|
|
|
border-radius: 10px;
|
2024-02-13 17:14:45 +00:00
|
|
|
transition: all 0.3s ease;
|
|
|
|
background-color: var(--sidebar-color);
|
2023-10-07 21:45:38 +01:00
|
|
|
color: white;
|
|
|
|
padding: 20px;
|
|
|
|
width: 250px;
|
|
|
|
position: fixed;
|
2024-03-04 12:21:18 +00:00
|
|
|
top: 5px;
|
|
|
|
left: 5px;
|
|
|
|
bottom: 5px;
|
2023-10-07 21:45:38 +01:00
|
|
|
overflow-y: auto;
|
2024-03-04 19:37:38 +00:00
|
|
|
box-shadow: var(--shadow) 5px 5px 5px;
|
2023-10-07 21:45:38 +01:00
|
|
|
}
|
|
|
|
|
2023-10-31 22:52:04 +00:00
|
|
|
.closebar {
|
2024-03-04 12:21:18 +00:00
|
|
|
left: 2px;
|
|
|
|
top: 15px;
|
2023-10-31 22:52:04 +00:00
|
|
|
background-color: #0000;
|
|
|
|
overflow-y: hidden;
|
|
|
|
position: fixed;
|
2024-02-13 17:14:45 +00:00
|
|
|
transition: all 0.3s ease 0s;
|
2023-10-31 22:52:04 +00:00
|
|
|
color: rgb(118, 181, 197);
|
2024-03-04 19:37:38 +00:00
|
|
|
width: 1px;
|
|
|
|
margin-left: 290px;
|
2024-02-16 17:16:12 +00:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
2024-02-16 17:18:02 +00:00
|
|
|
flex-direction: column;
|
2024-03-04 19:34:02 +00:00
|
|
|
padding-right: 36px;
|
2024-03-04 19:30:57 +00:00
|
|
|
z-index: 2;
|
2023-10-31 22:52:04 +00:00
|
|
|
}
|
|
|
|
|
2023-10-07 21:45:38 +01:00
|
|
|
h1 {
|
|
|
|
font-size: 24px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar h1 {
|
|
|
|
font-size: 24px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 14px;
|
|
|
|
margin-top: 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
p1 {
|
|
|
|
font-size: 20px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin-top: 20px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar li {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar a {
|
|
|
|
color: white;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 16px;
|
|
|
|
display: block;
|
|
|
|
border-radius: 5px;
|
2023-10-31 22:52:04 +00:00
|
|
|
padding: 7px 16px;
|
2023-10-07 21:45:38 +01:00
|
|
|
text-align: center;
|
2024-02-13 17:14:45 +00:00
|
|
|
background-color: var(--button-color);
|
2024-03-04 13:12:35 +00:00
|
|
|
transition: all 0.3s ease;
|
2023-10-07 21:45:38 +01:00
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
|
2024-02-13 17:32:47 +00:00
|
|
|
.sidebar a:hover {
|
|
|
|
background-color: rgb(40, 150, 179);
|
|
|
|
}
|
|
|
|
|
2023-10-07 21:45:38 +01:00
|
|
|
button {
|
2024-03-04 12:21:18 +00:00
|
|
|
border-radius: 5px;
|
2023-10-07 21:45:38 +01:00
|
|
|
border: none;
|
2024-02-16 17:16:12 +00:00
|
|
|
margin-top: 5px;
|
2023-10-31 22:52:04 +00:00
|
|
|
padding: 10px;
|
|
|
|
color: rgb(255, 255, 255);
|
2024-02-13 17:14:45 +00:00
|
|
|
background: var(--button-color);
|
|
|
|
min-width: 28px;
|
|
|
|
transition: all 0.3s ease;
|
2024-02-16 17:16:12 +00:00
|
|
|
margin-left: auto;
|
2024-03-04 19:37:38 +00:00
|
|
|
box-shadow: var(--shadow) 5px 5px 5px;
|
2023-10-07 21:45:38 +01:00
|
|
|
}
|
|
|
|
|
2024-02-16 17:20:30 +00:00
|
|
|
button:hover {
|
|
|
|
background-color: rgb(40, 150, 179);
|
|
|
|
}
|
|
|
|
|
2023-10-07 21:45:38 +01:00
|
|
|
button:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Content styles (adjust as needed) */
|
|
|
|
.content {
|
|
|
|
padding: 20px;
|
|
|
|
margin-left: 300px;
|
2024-02-13 17:14:45 +00:00
|
|
|
transition: all 0.3s ease;
|
2023-10-07 21:45:38 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Add CSS styles for hiding and sliding the sidebar */
|
|
|
|
|
|
|
|
.content.expanded {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2023-10-31 22:52:04 +00:00
|
|
|
.closebar.expanded {
|
2024-03-04 12:21:18 +00:00
|
|
|
transform: translateX(-295px);
|
2023-10-31 22:52:04 +00:00
|
|
|
}
|
|
|
|
|
2023-10-07 21:45:38 +01:00
|
|
|
.sidebar.hidden {
|
2024-03-04 12:21:18 +00:00
|
|
|
transform: translateX(-295px);
|
2023-10-07 21:45:38 +01:00
|
|
|
}
|
|
|
|
|
2024-03-07 17:43:33 +00:00
|
|
|
.sidecontainer.hidden {
|
|
|
|
transform: translateX(-295px);
|
|
|
|
}
|
|
|
|
|
2023-10-07 21:45:38 +01:00
|
|
|
.content.expanded + .sidebar.hidden {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 250px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
2024-02-13 17:14:45 +00:00
|
|
|
|
|
|
|
.darkmodeicon {
|
|
|
|
height: 8px;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
scale: 2.7;
|
|
|
|
}
|