adlerka.space/assets/style.css

248 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');
: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-01-11 09:27:03 +01:00
}
nav {
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 1.2rem 1rem;
background-color: rgba(0, 0, 0, 0.2);
2024-01-16 20:43:57 +01:00
-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);
height: 75px !important;
2024-01-17 10:56:24 +01:00
position: relative;
2024-01-17 10:54:43 +01:00
z-index: 500;
2024-01-11 09:27:03 +01:00
}
ul {
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-01-11 09:27:03 +01:00
}
li {
list-style: none;
}
li a {
position: relative;
padding-bottom: 0.45rem;
color: var(--primary-text);
text-decoration: none;
transition: all 0.3s ease;
}
2024-01-17 09:48:30 +01:00
/*li a::after {
2024-01-11 09:27:03 +01:00
content: "";
position: absolute;
height: 4px;
width: 0;
bottom: 0;
left: 0;
background-color: var(--primary);
transition: all 0.3s ease;
border-radius: 15px;
2024-01-17 09:48:30 +01:00
}*/
2024-01-11 09:27:03 +01:00
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;
}
header h1 {
margin: 0;
padding: 0;
}
header a {
color: var(--primary);
}
header hr {
border-color: var(--primary);
opacity: 0.5;
width: 30%;
2024-01-11 16:08:49 +01:00
}
.navsite_list{
display: flex;
flex-direction: row;
2024-01-17 09:43:20 +01:00
gap: 3.25rem;
2024-01-11 16:08:49 +01:00
}
.navpage_list{
display: none;
flex-direction: column;
}
2024-01-17 08:45:51 +01:00
.navsite_item {
justify-content: center;
align-items: center;
text-align: center;
2024-01-17 09:47:33 +01:00
width: 120px;
2024-01-17 08:45:51 +01:00
}
2024-01-11 16:14:56 +01:00
.navsite_item:hover .navpage_list{
2024-01-11 16:08:49 +01:00
display: flex !important;
2024-01-11 16:17:55 +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-01-17 10:54:43 +01:00
z-index: 999;
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-01-12 15:20:44 +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
}
ul.navpage_list{
gap: 10px;
2024-01-17 10:31:08 +01:00
}
header ul {
display: flex;
flex-direction: column;
2024-01-17 10:32:16 +01:00
gap: 0;
2024-01-17 10:33:01 +01:00
text-align: left;
2024-01-17 10:42:37 +01:00
width: fit-content;
2024-01-17 10:32:48 +01:00
}
header ul li {
list-style: circle;
2024-01-17 10:38:12 +01:00
width: fit-content;
2024-01-17 10:37:05 +01:00
}
.feature-list {
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-01-17 13:50:45 +01:00
.feature-list-ul {
margin: auto;
}
2024-01-17 13:54:10 +01:00
.feature-list-ul ul {
2024-01-17 13:48:02 +01:00
margin-top: 5px;
margin-left: 20px;
2024-02-03 22:48:07 +01:00
}
2024-02-04 09:26:17 +01:00
#StatusMessage {
display: none;
position: fixed;
top: 20px;
right: 20px;
padding: 10px;
background-color: var(--third-bg);
color: var(--primary-text);
border-radius: 5px;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
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:48:07 +01:00
/* <DASHBOARD STYLING> */
/* ZAČÍNAJ VŠETKO S ".dashboard" */
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-05 12:37:14 +01:00
/* </DASHBOARD STYLING> */
#loginForm input {
border-radius: 50px;
background: none;
border: 2px solid var(--primary);
}