This commit is contained in:
kankys
2024-10-21 18:08:37 +02:00
parent 8e1d15a936
commit c1f0d0369c
13 changed files with 377 additions and 81 deletions

View File

@ -2,7 +2,7 @@
<div class="logo">
<link rel="stylesheet" href="style.css" />
<img src="img/1702045296079.jpeg" alt="" />
<h1 class="title"><a href="./index.php">🚀 ApolloNvim </a></h1>
<h1 class="title"><a style="color: green;" href="./index.php">🚀 ApolloNvim </a></h1>
</div>

View File

@ -33,3 +33,6 @@ function scrollToTop() {
document.body.scrollTop = 0; // Pro Safari
document.documentElement.scrollTop = 0; // Pro ostatní prohlížeče
}

View File

@ -29,6 +29,10 @@ p {
text-align: center;
}
.green {
color: green;
}
header {
margin-top: 25px;
display: flex;
@ -162,3 +166,91 @@ footer {
font-size: 34px;
}
/*Styly pro wiki*/
/*flebox*/
.flexbox {
display: flex;
justify-content: flex-start;
gap: 45px;
padding-top: 100px;
}
@media screen and (max-width: 600px) {
.flexbox {
flex-direction: column;
}
.menu {
order: -1;
}
.text-obsah {
order: 1;
}
}
/*PHP - Sloupec wiki*/
.accordion {
list-style-type: none;
padding: 0;
}
.accordion-button {
background-color: #eee;
border: 2px solid green;
padding: 10px;
width: 100%;
text-align: left;
cursor: pointer;
outline: none;
transition: 0.4s;
}
.accordion-button:hover {
background-color: #ccc;
}
.accordion-content {
display: none;
padding: 0 18px;
background-color: white;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
.accordion-content.show {
display: block;
}
.accordion-content a {
color: green;
text-decoration: none;
}
.accordion-content a:hover {
text-decoration: underline;
}
/*Konec wiki*/
hr {
margin-top: 50px;
margin-bottom: 50px;
}
strong {
color: green;
}
/*Code Box*/
.code-box {
position: relative;
width: 600;
height: auto;
border: 1px solid #734f96;
padding: 5px;
overflow: auto;
background-color: green;
color: black;
margin: auto;
text-align: left;
border-radius: 7px;
}
/*Konec code box*/