Merge remote-tracking branch 'origin/main'

This commit is contained in:
Bruno Rybársky 2024-02-07 23:05:58 +01:00
commit 20dc6a27c6
3 changed files with 209 additions and 191 deletions

BIN
assets/images/ye.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

@ -1,202 +1,188 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
.dashboard .dashboard {
{ height: 100%;
height:100%; text-align: center;
text-align:center; width: 100%;
width:100%;
} }
:root :root {
{ --error: #ff3700;
--error:#ff3700; --primary: #2a9dd6;
--primary:#2a9dd6; --primary-bg: #1b1529;
--primary-bg:#1b1529; --primary-hover: #2489bb;
--primary-hover:#2489bb; --primary-text: #d2d6e5;
--primary-text:#d2d6e5; --secondary-bg: #1a1a1a;
--secondary-bg:#1a1a1a; --third-bg: #383838;
--third-bg:#383838;
} }
body body {
{ align-items: center;
align-items:center; background: linear-gradient(127deg, var(--secondary-bg), var(--primary-bg)) no-repeat fixed;
background:linear-gradient(127deg,var(--secondary-bg), var(--primary-bg)) no-repeat fixed; background-size: cover;
background-size:cover; color: var(--primary-text);
color:var(--primary-text); display: flex;
display:flex; flex-direction: column;
flex-direction:column; font-family: \'Poppins\', sans-serif;
font-family:\'Poppins\', sans-serif; height: 100%;
height:100%; margin: 0;
margin:0; min-height: 100vh;
min-height:100vh; min-width: 100vw;
min-width:100vw; padding: 0;
padding:0; width: 100%;
width:100%;
} }
header h1 header h1 {
{ margin: 0;
margin:0; padding: 0;
padding:0;
} }
header hr header hr {
{ border-color: var(--primary);
border-color:var(--primary); opacity: 0.5;
opacity:0.5; width: 30%;
width:30%;
} }
header ul li header ul li {
{ list-style: circle;
list-style:circle; width: fit-content;
width:fit-content;
} }
header ul header ul {
{ display: flex;
display:flex; flex-direction: column;
flex-direction:column; gap: 0;
gap:0; text-align: left;
text-align:left; width: fit-content;
width:fit-content;
} }
header header {
{ align-items: center;
align-items:center; text-align: center;
text-align:center; width: 100%;
width:100%; margin-top: 25px;
} }
li a li a {
{ color: var(--primary-text);
color:var(--primary-text); padding-bottom: .45rem;
padding-bottom:.45rem; position: relative;
position:relative; text-decoration: none;
text-decoration:none; transition: all .3s ease;
transition:all .3s ease;
} }
li a:hover::after li a:hover::after {
{ margin: 0 auto;
margin:0 auto; width: 85%;
width:85%;
} }
li li {
{ list-style: none;
list-style:none;
} }
li.navpage_item li.navpage_item {
{ padding-left: 20px;
padding-left:20px; padding-right: 20px;
padding-right:20px;
} }
nav nav {
{ display: flex;
display:flex; flex-direction: row;
flex-direction:row; justify-content: space-between;
justify-content:space-between;
height: 55px; height: 55px;
} }
nav,footer nav,
{ footer {
-moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); -moz-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
-webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); -webkit-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
background-color:rgba(0,0,0,0.6); background-color: rgba(0, 0, 0, 0.6);
box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
padding:1.2rem 1rem; padding: 1.2rem;
text-align: center;
} }
table.list-table > tbody,table.list-table > tbody > th,table.list-table > tbody > tr,table.list-table > tbody > tr > td table.list-table>tbody,
{ table.list-table>tbody>th,
border:2px solid var(--primary); table.list-table>tbody>tr,
border-collapse:collapse; table.list-table>tbody>tr>td {
border: 2px solid var(--primary);
border-collapse: collapse;
} }
ul ul {
{ display: flex;
display:flex; flex-direction: row;
flex-direction:row; gap: 2.5rem;
gap:2.5rem; list-style: none;
list-style:none; padding-left: 0;
padding-left:0;
} }
ul.navpage_list ul.navpage_list {
{ gap: 10px;
gap:10px; border: 4px solid var(--primary-hover) !important;
background-color:var(--third-bg); background-color: var(--third-bg);
border:0 solid transparent; display: none;
display:none; flex-direction: column;
flex-direction:column; overflow: hidden;
max-height:0; position: fixed;
overflow:hidden; transition: max-height .3s ease, border .325s ease !important;
position:fixed; z-index: 2;
transition:max-height .3s ease, border .325s ease;
z-index:2;
} }
.back .back {
{ background-color: #2a9dd6;
background-color:#2a9dd6; border-radius: 15px;
border-radius:15px; color: var(--primary-text);
color:var(--primary-text); padding: .35rem .65rem;
padding:.35rem .65rem; text-decoration: none;
text-decoration:none; transition: all .3s ease;
transition:all .3s ease;
} }
.back:hover .back:hover {
{ background-color: var(--primary-hover);
background-color:var(--primary-hover); transition: all .3s ease;
transition:all .3s ease;
} }
.feature-list .feature-list {
{ display: block;
display:block; margin: auto;
margin:auto; width: fit-content;
width:fit-content;
} }
.feature-list-ul ul .feature-list-ul ul {
{
margin: 5px auto auto 20px; margin: 5px auto auto 20px;
} }
.navsite_item .navsite_item {
{ align-items: center;
align-items:center; justify-content: center;
justify-content:center; text-align: center;
text-align:center; width: 120px;
width:120px;
} }
.navsite_item:hover .navpage_list .navsite_item:hover .navpage_list {
{ border: 4px solid var(--primary-hover) !important;
border:4px solid var(--primary-hover); display: flex !important;
display:flex!important; max-height: 200px;
max-height:200px; width: inherit;
transition: max-height .3s ease, border .325s ease !important;
box-sizing: border-box;
} }
.navsite_item:not(:hover) .navpage_list .navsite_item:not(:hover) .navpage_list {
{ border: 0 solid transparent;
border:0 solid transparent; max-height: 0;
max-height:0; transition: max-height .3s ease, border .325s ease !important;
transition-delay:.1s; width: inherit;
} }
#navsite_list
{ #navsite_list {
display:flex; display: flex;
flex-direction:row; flex-direction: row;
gap:3.25rem; gap: 3.25rem;
text-align: center;
} }
#toggle_button { #toggle_button {
@ -213,34 +199,54 @@ ul.navpage_list
#toggle_button { #toggle_button {
display: flex; display: flex;
} }
#navsite_list { #navsite_list {
display: none; display: none;
position: fixed; position: fixed;
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
text-align: center;
} }
#navsite_list li { #navsite_list li {
text-align: center; text-align: center;
} }
.navsite_item {
width: inherit;
}
ul.navpage_list {
border: 4px solid var(--primary-hover) !important;
display: flex !important;
max-height: 200px !important;
width: inherit;
box-sizing: border-box;
transition-delay: .1s;
}
.navsite_item:not(:hover) .navpage_list {
transition-delay: .1s;
width: inherit;
}
#navsite_list.active { #navsite_list.active {
display: flex; display: flex;
-moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); -moz-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
-webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); -webkit-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
background-color:rgba(0,0,0,0.6); background-color: rgba(0, 0, 0, 0.6);
box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6);
top: 80px; top: 80px;
text-align: center;
} }
nav { nav {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
background-color: rgba(0,0,0,0.6); background-color: rgba(0, 0, 0, 0.6);
} }
} }
#statusMessageContainer{ #statusMessageContainer {
position: fixed; position: fixed;
top: 80px; top: 80px;
right: 20px; right: 20px;
@ -250,9 +256,12 @@ ul.navpage_list
} }
.status-message { .status-message {
background-color: #dff0d8; /* Success background color */ background-color: #dff0d8;
border: 1px solid #3c763d; /* Success border color */ /* Success background color */
color: #3c763d; /* Success text color */ border: 1px solid #3c763d;
/* Success border color */
color: #3c763d;
/* Success text color */
padding: 15px; padding: 15px;
margin-bottom: 10px; margin-bottom: 10px;
opacity: 1; opacity: 1;
@ -260,61 +269,58 @@ ul.navpage_list
} }
.status-message.failure { .status-message.failure {
background-color: #f2dede; /* Failure background color */ background-color: #f2dede;
border: 1px solid #a94442; /* Failure border color */ /* Failure background color */
color: #a94442; /* Failure text color */ border: 1px solid #a94442;
/* Failure border color */
color: #a94442;
/* Failure text color */
} }
.wrapper-40x .error .wrapper-40x .error {
{ color: var(--error);
color:var(--error);
} }
.wrapper-40x h1 .wrapper-40x h1 {
{ font-size: 10rem;
font-size:10rem; margin: 0;
margin:0;
} }
.wrapper-40x h3 .wrapper-40x h3 {
{ margin-bottom: 2rem;
margin-bottom:2rem;
} }
.wrapper-40x .wrapper-40x {
{ text-align: center;
text-align:center;
} }
#navbar_container #navbar_container {
{ position: relative;
position:relative; z-index: 500;
z-index:500;
} }
#navbar_container,#page_container,#footer_container #navbar_container,
{ #page_container,
width:100%; #footer_container {
width: 100%;
} }
#page_container #page_container {
{ flex-grow: 1;
flex-grow:1;
} }
header a,.error-code header a,
{ .error-code {
color:var(--primary); color: var(--primary);
} }
input input {
{
background-color: var(--third-bg); background-color: var(--third-bg);
border:2px solid var(--primary); border: 2px solid var(--primary);
border-radius:50px; border-radius: 50px;
} }
button{ button {
border-radius: 50px; border-radius: 50px;
border: 2px solid var(--primary); border: 2px solid var(--primary);
background: var(--third-bg); background: var(--third-bg);
@ -334,4 +340,16 @@ button:hover {
border: 2px solid var(--primary); border: 2px solid var(--primary);
width: 175px; width: 175px;
color: var(--primary-text); color: var(--primary-text);
}
header.ye-span:hover + body{
background: url('/assets/images/ye.jpg') !important;
background-repeat: repeat !important;
background-size: 10% !important;
}
body:has(.ye-span:hover) {
background: url('/assets/images/ye.jpg') !important;
background-repeat: repeat !important;
background-size: 10% !important;
} }

@ -1,3 +1,3 @@
<footer> <footer>
<p>Toto nie je oficiálna stránka Adlerky, jedná sa o neoficiálnu študentskú stránku</p> <p>Toto nie je oficiálna stránka <span class="ye-span">Adlerky</span>, jedná sa o neoficiálnu študentskú stránku</p>
</footer> </footer>