adlerka.space/assets/style.css

339 lines
6.3 KiB
CSS
Raw Normal View History

2024-01-11 09:27:03 +01:00
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
2024-02-05 21:22:16 +01:00
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
2024-01-11 09:27:03 +01:00
2024-02-07 20:57:27 +01:00
.dashboard {
height: 100%;
text-align: center;
width: 100%;
}
:root {
--error: #ff3700;
--primary: #2a9dd6;
--primary-bg: #1b1529;
--primary-hover: #2489bb;
--primary-text: #d2d6e5;
--secondary-bg: #1a1a1a;
--third-bg: #383838;
}
body {
align-items: center;
background: linear-gradient(127deg, var(--secondary-bg), var(--primary-bg)) no-repeat fixed;
background-size: cover;
color: var(--primary-text);
display: flex;
flex-direction: column;
font-family: \'Poppins\', sans-serif;
height: 100%;
margin: 0;
min-height: 100vh;
min-width: 100vw;
padding: 0;
width: 100%;
}
header h1 {
margin: 0;
padding: 0;
}
header hr {
border-color: var(--primary);
opacity: 0.5;
width: 30%;
}
header ul li {
list-style: circle;
width: fit-content;
}
header ul {
display: flex;
flex-direction: column;
gap: 0;
text-align: left;
width: fit-content;
}
header {
align-items: center;
text-align: center;
width: 100%;
}
li a {
color: var(--primary-text);
padding-bottom: .45rem;
position: relative;
text-decoration: none;
transition: all .3s ease;
}
li a:hover::after {
margin: 0 auto;
width: 85%;
}
li {
list-style: none;
}
li.navpage_item {
padding-left: 20px;
padding-right: 20px;
}
nav {
display: flex;
flex-direction: row;
justify-content: space-between;
2024-02-06 21:56:13 +01:00
height: 55px;
2024-01-11 09:27:03 +01:00
}
2024-02-07 20:57:27 +01:00
nav,
footer {
-moz-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
-webkit-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
background-color: rgba(0, 0, 0, 0.6);
box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
padding: 1.2rem 1rem;
2024-01-11 09:27:03 +01:00
}
2024-02-07 20:57:27 +01:00
table.list-table>tbody,
table.list-table>tbody>th,
table.list-table>tbody>tr,
table.list-table>tbody>tr>td {
border: 2px solid var(--primary);
border-collapse: collapse;
2024-01-11 09:27:03 +01:00
}
2024-02-07 20:57:27 +01:00
ul {
display: flex;
flex-direction: row;
gap: 2.5rem;
list-style: none;
padding-left: 0;
2024-01-11 09:27:03 +01:00
}
2024-02-07 20:57:27 +01:00
ul.navpage_list {
gap: 10px;
background-color: var(--third-bg);
display: none;
flex-direction: column;
overflow: hidden;
position: fixed;
2024-02-07 21:01:54 +01:00
transition: max-height .3s ease, border .325s ease !important;
2024-02-07 20:57:27 +01:00
z-index: 2;
2024-01-11 09:27:03 +01:00
}
2024-02-07 20:57:27 +01:00
.back {
background-color: #2a9dd6;
border-radius: 15px;
color: var(--primary-text);
padding: .35rem .65rem;
text-decoration: none;
transition: all .3s ease;
2024-01-11 09:27:03 +01:00
}
2024-02-07 20:57:27 +01:00
.back:hover {
background-color: var(--primary-hover);
transition: all .3s ease;
2024-01-11 09:27:03 +01:00
}
2024-02-07 20:57:27 +01:00
.feature-list {
display: block;
margin: auto;
width: fit-content;
2024-01-11 09:27:03 +01:00
}
2024-02-07 20:57:27 +01:00
.feature-list-ul ul {
margin: 5px auto auto 20px;
2024-01-11 16:08:49 +01:00
}
2024-02-07 20:57:27 +01:00
.navsite_item {
align-items: center;
justify-content: center;
text-align: center;
width: 120px;
2024-01-11 16:08:49 +01:00
}
2024-02-06 19:40:31 +01:00
2024-02-07 20:57:27 +01:00
.navsite_item:hover .navpage_list {
border: 4px solid var(--primary-hover);
display: flex !important;
max-height: 200px;
2024-02-07 20:38:15 +01:00
width: inherit;
2024-02-07 20:50:35 +01:00
box-sizing: border-box;
2024-02-06 19:37:04 +01:00
}
2024-02-07 20:57:27 +01:00
.navsite_item:not(:hover) .navpage_list {
border: 0 solid transparent;
max-height: 0;
transition-delay: .1s;
2024-02-07 20:38:15 +01:00
width: inherit;
2024-02-06 19:37:04 +01:00
}
2024-02-07 20:57:27 +01:00
#navsite_list {
display: flex;
flex-direction: row;
gap: 3.25rem;
2024-02-07 20:39:38 +01:00
text-align: center;
2024-01-16 21:53:00 +01:00
}
2024-01-16 18:59:41 +01:00
#toggle_button {
position: absolute;
right: 1.5rem;
display: none;
flex-direction: column;
justify-content: space-between;
width: 2rem;
height: 1.5rem;
}
2024-02-06 20:27:48 +01:00
@media (max-width: 1050px) {
#toggle_button {
display: flex;
}
2024-02-07 20:57:27 +01:00
#navsite_list {
2024-02-07 20:55:52 +01:00
display: none;
2024-02-06 21:49:59 +01:00
position: fixed;
flex-direction: column;
width: 100%;
2024-02-07 20:39:38 +01:00
text-align: center;
}
#navsite_list li {
text-align: center;
}
2024-02-07 20:40:36 +01:00
.navsite_item {
width: inherit;
2024-02-07 20:40:36 +01:00
}
2024-02-07 20:55:52 +01:00
ul.navpage_list {
2024-02-07 21:00:59 +01:00
border: 4px solid var(--primary-hover) !important;
2024-02-07 20:58:31 +01:00
display: flex !important;
2024-02-07 21:00:59 +01:00
max-height: 200px !important;
2024-02-07 20:58:31 +01:00
width: inherit;
box-sizing: border-box;
2024-02-07 21:01:54 +01:00
transition-delay: .1s;
2024-02-07 20:50:35 +01:00
}
2024-02-07 21:00:09 +01:00
.navsite_item:not(:hover) .navpage_list {
transition-delay: .1s;
width: inherit;
}
2024-02-07 20:50:35 +01:00
#navsite_list.active {
display: flex;
2024-02-07 20:57:27 +01:00
-moz-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
-webkit-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
background-color: rgba(0, 0, 0, 0.6);
box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
2024-02-06 21:57:53 +01:00
top: 80px;
2024-02-07 20:39:38 +01:00
text-align: center;
}
nav {
flex-direction: column;
2024-02-06 20:27:48 +01:00
align-items: center;
2024-02-07 20:57:27 +01:00
background-color: rgba(0, 0, 0, 0.6);
}
}
2024-02-07 20:57:27 +01:00
#statusMessageContainer {
2024-02-06 20:21:28 +01:00
position: fixed;
2024-02-07 08:07:45 +01:00
top: 80px;
2024-02-06 20:21:28 +01:00
right: 20px;
2024-02-07 08:06:55 +01:00
z-index: 510;
2024-02-06 21:10:35 +01:00
display: flex;
flex-direction: column;
}
.status-message {
2024-02-07 20:57:27 +01:00
background-color: #dff0d8;
/* Success background color */
border: 1px solid #3c763d;
/* Success border color */
color: #3c763d;
/* Success text color */
2024-02-06 20:21:28 +01:00
padding: 15px;
margin-bottom: 10px;
opacity: 1;
transition: opacity 0.5s ease-in-out;
}
.status-message.failure {
2024-02-07 20:57:27 +01:00
background-color: #f2dede;
/* Failure background color */
border: 1px solid #a94442;
/* Failure border color */
color: #a94442;
/* Failure text color */
2024-01-16 22:02:45 +01:00
}
2024-01-16 22:00:38 +01:00
2024-02-07 20:57:27 +01:00
.wrapper-40x .error {
color: var(--error);
2024-01-12 15:26:36 +01:00
}
2024-02-07 20:57:27 +01:00
.wrapper-40x h1 {
font-size: 10rem;
margin: 0;
2024-01-17 10:31:08 +01:00
}
2024-02-07 20:57:27 +01:00
.wrapper-40x h3 {
margin-bottom: 2rem;
2024-01-17 13:48:02 +01:00
}
2024-02-07 20:57:27 +01:00
.wrapper-40x {
text-align: center;
2024-02-03 22:48:07 +01:00
}
2024-02-07 20:57:27 +01:00
#navbar_container {
position: relative;
z-index: 500;
2024-02-04 09:26:17 +01:00
}
2024-02-07 20:57:27 +01:00
#navbar_container,
#page_container,
#footer_container {
width: 100%;
2024-02-04 09:50:04 +01:00
}
2024-02-04 09:26:17 +01:00
2024-02-07 20:57:27 +01:00
#page_container {
flex-grow: 1;
2024-02-03 22:55:43 +01:00
}
2024-02-03 22:48:07 +01:00
2024-02-07 20:57:27 +01:00
header a,
.error-code {
color: var(--primary);
2024-02-06 17:11:04 +01:00
}
2024-02-07 20:57:27 +01:00
input {
2024-02-06 21:13:59 +01:00
background-color: var(--third-bg);
2024-02-07 20:57:27 +01:00
border: 2px solid var(--primary);
border-radius: 50px;
2024-02-06 21:14:55 +01:00
}
2024-02-07 20:57:27 +01:00
button {
2024-02-07 08:01:02 +01:00
border-radius: 50px;
border: 2px solid var(--primary);
2024-02-07 08:30:53 +01:00
background: var(--third-bg);
2024-02-07 08:27:55 +01:00
color: var(--primary-text);
2024-02-07 08:01:02 +01:00
width: 175px;
2024-02-07 08:29:48 +01:00
transition-duration: 0.3s;
}
button:hover {
2024-02-07 08:30:53 +01:00
background: var(--primary);
2024-02-07 08:29:48 +01:00
transition-duration: 0.3s;
2024-02-06 21:15:49 +01:00
}
2024-02-07 08:00:11 +01:00
.form-container input {
border-radius: 50px;
background: none;
border: 2px solid var(--primary);
width: 175px;
2024-02-07 10:52:00 +01:00
color: var(--primary-text);
2024-02-05 12:37:14 +01:00
}