adlerka.top/assets/style.css

424 lines
7.8 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
:root {
--error: #ff3700;
2024-03-26 20:32:43 +01:00
--pico-primary: #2a9dd6;
--pico-primary-background: #1b1529;
--pico-primary-hover: #2489bb;
2024-03-26 21:10:30 +01:00
--pico-secondary: #d2d6e5;
2024-03-26 20:32:43 +01:00
--pico-secondary-background: #1a1a1a;
--dimmer: rgba(0, 0, 0, 0.6);
2024-02-07 20:57:27 +01:00
}
2024-03-10 22:55:29 +01:00
2024-02-07 20:57:27 +01:00
body {
2024-02-29 09:27:44 +01:00
display: grid;
width: 100%;
grid-template-areas: "nav nav nav nav"
"main main main main"
"foot foot foot foot";
2024-02-29 09:43:11 +01:00
grid-template-rows: min-content 1fr min-content;
2024-02-07 20:57:27 +01:00
align-items: center;
2024-03-26 21:03:17 +01:00
background: linear-gradient(127deg, var(--pico-secondary-background), var(--pico-primary-background)) no-repeat fixed;
2024-02-07 20:57:27 +01:00
background-size: cover;
flex-direction: column;
font-family: \'Poppins\', sans-serif;
margin: 0;
padding: 0;
2024-03-26 20:32:43 +01:00
min-height: 100vh;
}
.dashboard {
height: 100%;
text-align: center;
width: 100%;
2024-02-29 09:27:44 +01:00
}
2024-03-10 22:55:29 +01:00
body > nav,
body > footer {
2024-03-26 20:32:43 +01:00
background-color: var(--dimmer);
2024-03-10 22:55:29 +01:00
padding: 1.2rem;
text-align: center;
}
2024-02-29 09:27:44 +01:00
body > nav {
display: flex;
flex-direction: row;
justify-content: space-between;
position: relative;
z-index: 500;
grid-area: nav;
2024-03-26 20:32:43 +01:00
box-shadow: 0 20px 28px 0 var(--dimmer);
2024-02-29 09:53:22 +01:00
margin-bottom: 20px;
2024-02-29 09:27:44 +01:00
}
2024-03-10 22:55:29 +01:00
2024-02-29 09:27:44 +01:00
body > footer {
grid-area: foot;
2024-03-26 20:32:43 +01:00
box-shadow: 0 -20px 28px 0 var(--dimmer);
2024-02-29 09:53:22 +01:00
margin-top: 20px;
2024-02-07 20:57:27 +01:00
}
2024-03-30 15:43:57 +01:00
body > main#page_container {
2024-02-29 09:48:52 +01:00
grid-area: main;
2024-02-29 09:53:22 +01:00
height: 100%;
2024-02-29 09:48:52 +01:00
}
2024-03-30 15:43:57 +01:00
body > main#page_container > main {
height: 100%;
2024-02-07 20:57:27 +01:00
}
2024-03-26 20:45:39 +01:00
hr {
2024-03-26 20:32:43 +01:00
border-color: var(--pico-primary);
2024-02-07 20:57:27 +01:00
opacity: 0.5;
width: 30%;
2024-03-26 20:45:39 +01:00
margin: var(--pico-typography-spacing-vertical) auto;
2024-02-07 20:57:27 +01:00
}
2024-03-10 22:55:29 +01:00
li {
list-style: none;
}
2024-02-07 20:57:27 +01:00
header ul li {
list-style: circle;
width: fit-content;
}
2024-03-10 22:55:29 +01:00
ul {
display: flex;
2024-03-26 21:03:17 +01:00
flex-direction: column;
2024-03-10 22:55:29 +01:00
list-style: none;
padding-left: 0;
}
2024-02-07 20:57:27 +01:00
header {
align-items: center;
text-align: center;
width: 100%;
2024-02-09 10:38:41 +01:00
margin-top: 35px;
2024-02-29 10:18:57 +01:00
margin-bottom: 35px;
2024-02-07 20:57:27 +01:00
}
li a {
padding-bottom: .45rem;
position: relative;
text-decoration: none;
transition: all .3s ease;
2024-03-26 21:10:30 +01:00
color: var(--pico-secondary);
2024-02-07 20:57:27 +01:00
}
li a:hover::after {
margin: 0 auto;
width: 85%;
}
li.navpage_item {
2024-03-26 20:45:39 +01:00
padding: 0 20px;
2024-02-07 20:57:27 +01:00
}
2024-02-14 21:03:43 +01:00
table>tbody,
table>tbody>tr,
table>tbody>tr>th,
table>tbody>tr>td {
2024-03-26 20:32:43 +01:00
border: 2px solid var(--pico-primary);
2024-02-09 10:49:01 +01:00
border-collapse: collapse !important;
2024-02-29 10:05:32 +01:00
text-align: center;
2024-01-11 09:27:03 +01:00
}
2024-02-14 21:04:50 +01:00
table>tbody>tr>td>button {
border: unset;
border-radius: unset;
border-collapse: unset;
2024-02-14 21:05:13 +01:00
padding: 0;
margin: 0;
2024-04-26 12:08:10 +02:00
width: 100%;
height: 100%;
2024-02-14 21:04:50 +01:00
}
2024-02-09 10:49:58 +01:00
table {
2024-02-07 20:57:27 +01:00
border-collapse: collapse;
2024-01-11 09:27:03 +01:00
}
2024-02-07 20:57:27 +01:00
ul.navpage_list {
gap: 10px;
2024-03-26 20:32:43 +01:00
border: 4px solid var(--pico-primary-hover) !important;
2024-02-07 20:57:27 +01:00
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 {
border-radius: 15px;
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
.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;
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 {
2024-03-26 20:32:43 +01:00
border: 4px solid var(--pico-primary-hover) !important;
2024-02-07 20:57:27 +01:00
display: flex !important;
max-height: 200px;
2024-02-07 20:38:15 +01:00
width: inherit;
2024-02-07 21:06:07 +01:00
transition: max-height .3s ease, border .325s ease !important;
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;
2024-02-07 21:03:02 +01:00
transition: max-height .3s ease, border .325s ease !important;
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-02-29 10:20:45 +01:00
padding-right: 60px;
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-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;
}
2024-03-10 22:55:29 +01:00
/*noinspection CssUnusedSymbol*/
2024-02-06 21:10:35 +01:00
.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;
}
2024-03-10 22:55:29 +01:00
/*noinspection CssUnusedSymbol*/
2024-02-06 20:21:28 +01:00
.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
header a,
.error-code {
2024-03-26 20:32:43 +01:00
color: var(--pico-primary);
2024-02-06 17:11:04 +01:00
}
2024-02-22 12:18:20 +01:00
input, textarea {
2024-03-26 20:32:43 +01:00
border: 2px solid var(--pico-primary);
2024-02-22 18:26:11 +01:00
}
2024-02-22 18:25:21 +01:00
input{
border-radius: 25px;
}
textarea{
border-radius: 10px;
2024-02-06 21:14:55 +01:00
}
2024-02-07 08:00:11 +01:00
.form-container input {
border-radius: 50px;
background: none;
2024-03-26 20:32:43 +01:00
border: 2px solid var(--pico-primary);
2024-02-07 08:00:11 +01:00
width: 175px;
2024-02-07 21:14:16 +01:00
}
2024-03-26 21:10:30 +01:00
span#ye-span:hover + body{
2024-02-22 18:16:42 +01:00
background: url('/assets/images/ye.jpg') repeat !important;
2024-03-26 21:07:22 +01:00
background-size: 20% !important;
2024-02-07 21:21:59 +01:00
}
2024-03-10 22:55:29 +01:00
2024-02-22 10:43:18 +01:00
#articlecreate {
position: fixed;
2024-03-26 20:32:43 +01:00
border: 5px solid var(--pico-primary);
2024-02-22 10:43:18 +01:00
z-index: 5;
2024-02-22 10:50:21 +01:00
margin: auto;
2024-02-22 18:25:21 +01:00
padding: 40px;
2024-03-26 20:32:43 +01:00
background-color: var(--pico-primary-background);
2024-02-22 18:25:21 +01:00
border-radius: 50px;
2024-02-22 10:43:18 +01:00
}
2024-02-22 18:27:55 +01:00
#articlecreate > * {
margin: 10px 0;
}
2024-02-24 09:04:56 +01:00
#articlecreateopen {
display: none;
2024-02-22 10:43:18 +01:00
}
#articlecreatecontainer{
2024-02-22 10:48:06 +01:00
display: flex;
align-items: center;
2024-02-22 12:18:20 +01:00
justify-content: center;
2024-02-22 10:43:18 +01:00
position: fixed;
2024-02-22 10:49:22 +01:00
top: 0;
left: 0;
2024-02-22 10:43:18 +01:00
width: 100vw;
height: 100vh;
z-index: 4;
backdrop-filter: blur(2px);
}
2024-02-24 09:01:13 +01:00
2024-02-22 10:43:18 +01:00
.hidden {
display: none !important;
2024-02-22 18:08:12 +01:00
}
2024-02-22 18:16:42 +01:00
div#articleslist > article > div.articleinfo > *{
width: fit-content;
}
2024-03-10 22:55:29 +01:00
/*noinspection CssUnusedSymbol*/
2024-02-22 18:16:42 +01:00
div#articleslist > article > div.articleinfo{
2024-02-22 18:08:12 +01:00
display: flex;
flex-direction: row;
}
div#articleslist>article{
2024-03-26 20:32:43 +01:00
border: 4px solid var(--pico-primary);
2024-03-30 15:30:35 +01:00
}
2024-04-25 09:12:50 +02:00
.form-content {
2024-04-25 09:04:10 +02:00
display: flex;
flex-direction: row;
}
2024-04-26 14:37:54 +02:00
.form-container {
2024-04-25 09:04:10 +02:00
display: flex;
flex-direction: column;
}
2024-04-25 23:44:14 +02:00
.meme_image {
max-width: 500px;
max-height: 500px;
2024-04-25 23:46:23 +02:00
width: auto;
height: auto;
2024-04-25 23:44:14 +02:00
}
2024-04-25 09:04:10 +02:00
@media (max-width: 1050px) {
div#articleslist {
width: 100vw !important;
left: 0 !important;
}
#toggle_button {
display: flex;
}
#navsite_list {
display: none;
position: fixed;
flex-direction: column;
width: 100%;
text-align: center;
}
#navsite_list li {
text-align: center;
}
.navsite_item {
width: inherit;
}
ul.navpage_list {
border: 4px solid var(--pico-primary-hover) !important;
display: flex !important;
max-height: 200px !important;
width: inherit;
box-sizing: content-box;
transition-delay: .1s;
}
.navsite_item:not(:hover) .navpage_list {
transition-delay: .1s;
width: inherit;
}
/*noinspection CssUnusedSymbol*/
#navsite_list.active {
display: flex;
-moz-box-shadow: 0 20px 28px 0 var(--dimmer);
-webkit-box-shadow: 0 20px 28px 0 var(--dimmer);
background-color: var(--dimmer);
box-shadow: 0 20px 28px 0 var(--dimmer);
top: 80px;
text-align: center;
}
nav {
flex-direction: column;
align-items: center;
background-color: var(--dimmer);
}
2024-04-25 09:05:10 +02:00
.form-content {
2024-04-25 09:04:10 +02:00
flex-direction: column;
}
2024-04-25 23:44:14 +02:00
.meme_image {
max-width: 200px;
max-height: 200px;
}
2024-02-05 12:37:14 +01:00
}