ponozky/assets/style.css
2024-06-09 18:04:57 +02:00

303 lines
8.5 KiB
CSS

:root {
--pico-background-color: #474747;
--pico-color: #c2c7d0;
--pico-text-selection-color: rgb(207, 219, 224);
--pico-muted-color: #7b8495;
--pico-muted-border-color: #202632;
--pico-primary: #acc487;
--pico-primary-background: #6e6e6e;
--pico-primary-border: var(--pico-primary-background);
--pico-primary-underline: rgba(1, 170, 255, 0.5);
--pico-primary-hover: #3c423a;
--pico-primary-hover-background: #999ea1;
--pico-primary-hover-border: var(--pico-primary-hover-background);
--pico-primary-hover-underline: var(--pico-primary-hover);
--pico-primary-focus: rgb(119, 119, 119);
--pico-primary-inverse: #fff;
--pico-secondary: #969eaf;
--pico-secondary-background: #525f7a;
--pico-secondary-border: var(--pico-secondary-background);
--pico-secondary-underline: rgba(150, 158, 175, 0.5);
--pico-secondary-hover: #b3b9c5;
--pico-secondary-hover-background: #5d6b89;
--pico-secondary-hover-border: var(--pico-secondary-hover-background);
--pico-secondary-hover-underline: var(--pico-secondary-hover);
--pico-secondary-focus: rgba(144, 158, 190, 0.25);
--pico-secondary-inverse: #fff;
--pico-contrast: #dfe3eb;
--pico-contrast-background: #eff1f4;
--pico-contrast-border: var(--pico-contrast-background);
--pico-contrast-underline: rgba(223, 227, 235, 0.5);
--pico-contrast-hover: #fff;
--pico-contrast-hover-background: #fff;
--pico-contrast-hover-border: var(--pico-contrast-hover-background);
--pico-contrast-hover-underline: var(--pico-contrast-hover);
--pico-contrast-focus: rgba(207, 213, 226, 0.25);
--pico-contrast-inverse: #000;
--pico-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(7, 9, 12, 0.01698), 0.0335rem 0.067rem 0.402rem rgba(7, 9, 12, 0.024), 0.0625rem 0.125rem 0.75rem rgba(7, 9, 12, 0.03), 0.1125rem 0.225rem 1.35rem rgba(7, 9, 12, 0.036), 0.2085rem 0.417rem 2.502rem rgba(7, 9, 12, 0.04302), 0.5rem 1rem 6rem rgba(7, 9, 12, 0.06), 0 0 0 0.0625rem rgba(7, 9, 12, 0.015);
--pico-h1-color: #f0f1f3;
--pico-h2-color: #e0e3e7;
--pico-h3-color: #c2c7d0;
--pico-h4-color: #b3b9c5;
--pico-h5-color: #a4acba;
--pico-h6-color: #8891a4;
--pico-mark-background-color: #014063;
--pico-mark-color: #fff;
--pico-ins-color: #62af9a;
--pico-del-color: #ce7e7b;
--pico-blockquote-border-color: var(--pico-muted-border-color);
--pico-blockquote-footer-color: var(--pico-muted-color);
--pico-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
--pico-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
--pico-table-border-color: var(--pico-muted-border-color);
--pico-table-row-stripped-background-color: rgba(111, 120, 135, 0.0375);
--pico-code-background-color: #1a1f28;
--pico-code-color: #8891a4;
--pico-code-kbd-background-color: var(--pico-color);
--pico-code-kbd-color: var(--pico-background-color);
--pico-form-element-background-color: #a8a8a8;
--pico-form-element-selected-background-color: #2a3140;
--pico-form-element-border-color: #2a3140;
--pico-form-element-color: #e0e3e7;
--pico-form-element-placeholder-color: #8891a4;
--pico-form-element-active-background-color: #424242;
--pico-form-element-active-border-color: var(--pico-primary-border);
--pico-form-element-focus-color: var(--pico-primary-border);
--pico-form-element-disabled-opacity: 0.5;
--pico-form-element-invalid-border-color: #964a50;
--pico-form-element-invalid-active-border-color: #b7403b;
--pico-form-element-invalid-focus-color: var(--pico-form-element-invalid-active-border-color);
--pico-form-element-valid-border-color: #2a7b6f;
--pico-form-element-valid-active-border-color: #16896a;
--pico-form-element-valid-focus-color: var(--pico-form-element-valid-active-border-color);
--pico-switch-background-color: #333c4e;
--pico-switch-checked-background-color: var(--pico-primary-background);
--pico-switch-color: #fff;
--pico-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
--pico-range-border-color: #202632;
--pico-range-active-border-color: #2a3140;
--pico-range-thumb-border-color: var(--pico-background-color);
--pico-range-thumb-color: var(--pico-secondary-background);
--pico-range-thumb-active-color: var(--pico-primary-background);
--pico-accordion-border-color: var(--pico-muted-border-color);
--pico-accordion-active-summary-color: var(--pico-primary-hover);
--pico-accordion-close-summary-color: var(--pico-color);
--pico-accordion-open-summary-color: var(--pico-muted-color);
--pico-card-background-color: #181c25;
--pico-card-border-color: var(--pico-card-background-color);
--pico-card-box-shadow: var(--pico-box-shadow);
--pico-card-sectioning-background-color: #1a1f28;
--pico-dropdown-background-color: #181c25;
--pico-dropdown-border-color: #202632;
--pico-dropdown-box-shadow: var(--pico-box-shadow);
--pico-dropdown-color: var(--pico-color);
--pico-dropdown-hover-background-color: #202632;
--pico-loading-spinner-opacity: 0.5;
--pico-modal-overlay-background-color: rgba(8, 9, 10, 0.75);
--pico-progress-background-color: #202632;
--pico-progress-color: var(--pico-primary-background);
--pico-tooltip-background-color: var(--pico-contrast-background);
--pico-tooltip-color: var(--pico-contrast-inverse);
}
body, html {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
min-height: 100vh;
align-items: center;
width: 100%;
}
header #top {
background-image: url(/assets/bambus.jpg);
background-repeat: repeat !important;
color: #fff;
text-shadow: #363636 5px 4px;
padding: 20px;
text-align: center;
}
header {
padding: 0 !important;
flex-direction: column;
}
header > * {
width: 100%;
}
header nav {
display: flex;
align-items: center;
flex-grow: 1;
background-color: #3d3d3d;
padding: 0;
margin: 0;
text-align: center;
text-decoration: none;
list-style: none;
box-sizing: border-box;
}
header nav > * {
display: flex;
align-items: center;
flex-direction: row;
list-style: none;
padding: 0;
justify-content: center;
width: 100%;
margin: 0 10px;
}
header nav > *, header nav > .dropdown > *, header nav > .dropdown > .dropdown-content > * {
color: #dfd07a !important;
text-decoration: none;
white-space: nowrap;
width: fit-content;
}
header nav p, header nav a {
text-decoration: none;
}
nav a:hover {
color: rgb(189, 189, 42);
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #585a59;
min-width: 100px;
z-index: 1;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a {
color: #fff;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #363636;
}
section {
padding: 20px;
}
footer {
background-color: #333333c7;
color: #fff;
text-align: center;
padding: 10px 0;
position: fixed;
width: 100%;
bottom: 0;
}
footer, header {
text-align: center;
padding: 10px 0;
display: flex;
align-items: center;
width: 100%;
}
footer > * {
display: inline;
flex: 1;
}
header {
padding-top: 0;
}
main {
display: flex;
flex-grow: 1;
align-items: center;
flex-direction: column;
width: 60%;
}
h1, h2, h3, h4, h5, h6 {
text-align: center;
}
#dropdown_menu {
top: 0;
width: fit-content;
display: flex;
left: auto;
gap: 2rem;
}
#dropdown_menu li {
padding: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
}
#dropdown_menu .action_btn {
width: 100%;
display: flex;
justify-content: center;
}
#toggle_btn {
display: none;
color: #fff;
font-size: 1.5rem;
cursor: pointer;
}
/* RESPONSIVE DESIGN */
@media(max-width: 500px) {
#toggle_btn {
display: block;
z-index: 200;
}
.dropdown-content {
display: block;
position: relative;
}
#dropdown_menu {
gap: unset;
position: fixed;
height: 0;
left: 0;
top: 0;
width: 100%;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
flex-direction: column;
transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
z-index: 100;
margin: 0;
}
#dropdown_menu.open {
height: 280px;
}
}