Cofem/assets/style.css

211 lines
4.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
:root {
--primary-bg: rgb(27, 21, 41);
--secondary-bg: #1a1a1a;
2024-01-11 16:17:55 +01:00
--third-bg: #383838;
2024-01-11 09:27:03 +01:00
--primary-text: #d2d6e5;
--error: rgb(255, 55, 0);
--primary: #2a9dd6;
--primary-hover: #2489bb;
}
body {
2024-01-16 20:43:57 +01:00
background: linear-gradient(127deg, var(--secondary-bg), var(--primary-bg)) no-repeat fixed;
2024-01-11 09:27:03 +01:00
background-size: cover;
height: 100%;
width: 100%;
font-family: 'Poppins', sans-serif;
color: var(--primary-text);
margin: 0;
padding: 0;
2024-02-04 09:11:01 +01:00
min-height: 100vh;
min-width: 100vw;
2024-02-06 17:11:04 +01:00
display: flex;
flex-direction: column;
align-items: center;
2024-01-11 09:27:03 +01:00
}
2024-02-06 19:33:25 +01:00
nav, footer {
padding: 1.2rem 1rem;
background-color: rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.2);
}
#navbar_container, #page_container, #footer_container {
width: 100%;
}
2024-01-11 09:27:03 +01:00
nav {
display: flex;
flex-direction: row;
justify-content: space-between;
2024-02-06 19:33:25 +01:00
height: 75px !important;
position: relative;
z-index: 500;
2024-01-11 09:27:03 +01:00
}
2024-02-06 19:33:25 +01:00
ul, header ul, header ul li, ul.navpage_list {
2024-01-11 09:27:03 +01:00
display: flex;
flex-direction: row;
2024-01-17 09:41:40 +01:00
gap: 2.5rem;
2024-01-11 16:15:50 +01:00
list-style: none;
padding-left: 0;
2024-02-06 19:33:25 +01:00
width: fit-content;
2024-01-11 09:27:03 +01:00
}
2024-02-06 19:33:25 +01:00
li, li.navpage_item {
2024-01-11 09:27:03 +01:00
list-style: none;
}
2024-02-06 19:33:25 +01:00
li a, li.navpage_item {
2024-01-11 09:27:03 +01:00
position: relative;
padding-bottom: 0.45rem;
color: var(--primary-text);
text-decoration: none;
transition: all 0.3s ease;
}
li a:hover::after {
width: 85%;
2024-01-17 09:41:40 +01:00
margin: 0 auto;
2024-01-11 09:27:03 +01:00
}
2024-02-01 10:16:36 +01:00
.wrapper-40x {
2024-01-11 09:27:03 +01:00
text-align: center;
}
2024-02-01 10:16:36 +01:00
.wrapper-40x h1 {
2024-01-11 09:27:03 +01:00
font-size: 10rem;
margin: 0;
}
2024-02-01 10:16:36 +01:00
.wrapper-40x .error {
2024-01-11 09:27:03 +01:00
color: var(--error);
}
2024-02-01 10:16:36 +01:00
.wrapper-40x h3 {
2024-01-11 09:27:03 +01:00
margin-bottom: 2rem;
}
.error-code {
color: var(--primary);
}
.back {
color: var(--primary-text);
text-decoration: none;
background-color: #2a9dd6;
padding: 0.35rem 0.65rem;
transition: all 0.3s ease;
border-radius: 15px;
}
.back:hover {
transition: all 0.3s ease;
background-color: var(--primary-hover);
}
header {
width: 100%;
align-items: center;
text-align: center;
}
2024-02-06 19:33:25 +01:00
header h1, header a {
2024-01-11 09:27:03 +01:00
margin: 0;
padding: 0;
color: var(--primary);
}
header hr {
border-color: var(--primary);
opacity: 0.5;
width: 30%;
2024-01-11 16:08:49 +01:00
}
2024-02-06 19:33:25 +01:00
.navsite_list, .navpage_list, .navsite_item, .navsite_item:hover .navpage_list, .navsite_item:not(:hover) .navpage_list {
2024-01-11 16:08:49 +01:00
display: flex;
flex-direction: row;
2024-01-17 09:43:20 +01:00
gap: 3.25rem;
2024-01-11 16:08:49 +01:00
}
2024-01-16 22:00:38 +01:00
2024-01-16 21:59:18 +01:00
.navpage_list {
2024-01-11 16:19:53 +01:00
background-color: var(--third-bg);
2024-01-12 15:20:44 +01:00
margin-top: 10px;
2024-01-16 18:59:41 +01:00
display: flex;
flex-direction: column;
2024-01-17 10:49:52 +01:00
overflow: hidden;
max-height: 0;
border: 0 solid transparent;
2024-01-17 11:00:26 +01:00
transition: max-height 0.3s ease, border 0.325s ease;
2024-01-17 10:56:24 +01:00
position: relative;
2024-02-06 19:33:25 +01:00
z-index: 2;
2024-01-16 21:53:00 +01:00
}
2024-01-16 18:59:41 +01:00
.navsite_item:hover .navpage_list {
2024-01-17 10:49:52 +01:00
max-height: 200px;
border: 4px solid var(--primary-hover);
2024-01-12 15:19:05 +01:00
}
2024-01-16 22:00:38 +01:00
2024-01-16 22:02:45 +01:00
.navsite_item:not(:hover) .navpage_list {
2024-01-17 10:49:52 +01:00
max-height: 0;
border: 0 solid transparent;
2024-01-17 10:59:56 +01:00
transition-delay: 0.1s;
2024-01-16 22:02:45 +01:00
}
2024-01-16 22:00:38 +01:00
2024-02-06 19:33:25 +01:00
li.navpage_item {
2024-01-12 15:24:58 +01:00
padding-left: 20px;
padding-right: 20px;
2024-01-12 15:26:36 +01:00
}
2024-02-06 19:33:25 +01:00
ul.navpage_list {
2024-01-12 15:26:36 +01:00
gap: 10px;
2024-01-17 10:31:08 +01:00
}
2024-02-06 19:33:25 +01:00
.feature-list, .feature-list-ul, .feature-list-ul ul {
2024-01-17 10:37:05 +01:00
margin: auto;
2024-01-17 10:44:07 +01:00
width: fit-content;
2024-01-17 13:46:10 +01:00
display: block;
2024-01-17 13:48:02 +01:00
}
2024-02-06 19:33:25 +01:00
.status-message {
background-color: #dff0d8; /* Success background color */
border: 1px solid #3c763d; /* Success border color */
color: #3c763d; /* Success text color */
padding: 15px;
margin-bottom: 10px;
opacity: 1;
transition: opacity 0.5s ease-in-out;
2024-02-03 22:48:07 +01:00
}
2024-02-06 19:33:25 +01:00
.status-message.failure {
background-color: #f2dede; /* Failure background color */
border: 1px solid #a94442; /* Failure border color */
color: #a94442; /* Failure text color */
2024-02-04 09:26:17 +01:00
}
2024-02-04 10:01:11 +01:00
table.list-table > tbody, table.list-table > tbody > th, table.list-table > tbody > tr, table.list-table > tbody > tr > td {
2024-02-04 10:02:03 +01:00
border: 2px solid var(--primary);
border-collapse: collapse;
2024-02-04 09:50:04 +01:00
}
2024-02-04 09:26:17 +01:00
2024-02-03 22:55:43 +01:00
.dashboard {
width: 100%;
height: 100%;
2024-02-03 22:56:14 +01:00
text-align: center;
2024-02-03 22:55:43 +01:00
}
2024-02-03 22:48:07 +01:00
2024-02-06 19:33:25 +01:00
#loginForm input, #register_Form input {
2024-02-05 12:39:03 +01:00
border-radius: 50px;
background: none;
border: 2px solid var(--primary);
width: 175px;
2024-02-06 17:11:04 +01:00
}
2024-02-06 19:23:49 +01:00
#page_container {
2024-02-06 17:11:04 +01:00
flex-grow: 1;
2024-02-05 12:37:14 +01:00
}