stylehub/assets/style.css
2024-02-03 22:56:14 +01:00

223 lines
3.7 KiB
CSS

@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;
--third-bg: #383838;
--primary-text: #d2d6e5;
--error: rgb(255, 55, 0);
--primary: #2a9dd6;
--primary-hover: #2489bb;
}
body {
background: linear-gradient(127deg, var(--secondary-bg), var(--primary-bg)) no-repeat fixed;
background-size: cover;
height: 100%;
width: 100%;
font-family: 'Poppins', sans-serif;
color: var(--primary-text);
margin: 0;
padding: 0;
}
nav {
display: flex;
flex-direction: row;
justify-content: space-between;
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);
height: 75px !important;
position: relative;
z-index: 500;
}
ul {
display: flex;
flex-direction: row;
gap: 2.5rem;
list-style: none;
padding-left: 0;
}
li {
list-style: none;
}
li a {
position: relative;
padding-bottom: 0.45rem;
color: var(--primary-text);
text-decoration: none;
transition: all 0.3s ease;
}
/*li a::after {
content: "";
position: absolute;
height: 4px;
width: 0;
bottom: 0;
left: 0;
background-color: var(--primary);
transition: all 0.3s ease;
border-radius: 15px;
}*/
li a:hover::after {
width: 85%;
margin: 0 auto;
}
.wrapper-40x {
text-align: center;
}
.wrapper-40x h1 {
font-size: 10rem;
margin: 0;
}
.wrapper-40x .error {
color: var(--error);
}
.wrapper-40x h3 {
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%;
}
.navsite_list{
display: flex;
flex-direction: row;
gap: 3.25rem;
}
.navpage_list{
display: none;
flex-direction: column;
}
.navsite_item {
justify-content: center;
align-items: center;
text-align: center;
width: 120px;
}
.navsite_item:hover .navpage_list{
display: flex !important;
}
.navpage_list {
background-color: var(--third-bg);
margin-top: 10px;
display: flex;
flex-direction: column;
overflow: hidden;
max-height: 0;
border: 0 solid transparent;
transition: max-height 0.3s ease, border 0.325s ease;
position: relative;
z-index: 999;
}
.navsite_item:hover .navpage_list {
max-height: 200px;
border: 4px solid var(--primary-hover);
}
.navsite_item:not(:hover) .navpage_list {
max-height: 0;
border: 0 solid transparent;
transition-delay: 0.1s;
}
li.navpage_item{
padding-left: 20px;
padding-right: 20px;
}
ul.navpage_list{
gap: 10px;
}
header ul {
display: flex;
flex-direction: column;
gap: 0;
text-align: left;
width: fit-content;
}
header ul li {
list-style: circle;
width: fit-content;
}
.feature-list {
margin: auto;
width: fit-content;
display: block;
}
.feature-list-ul {
margin: auto;
}
.feature-list-ul ul {
margin-top: 5px;
margin-left: 20px;
}
/* <DASHBOARD STYLING> */
/* ZAČÍNAJ VŠETKO S ".dashboard" */
.dashboard {
width: 100%;
height: 100%;
text-align: center;
}
/* </DASHBOARD STYLING> */