* { margin: 0; padding: 0; box-sizing: border-box; } body { max-width: 1000px; margin: 0 auto; font-family: "Ubuntu", sans-serif; } /*Header */ h1 { padding-left: 8px; } h3 { padding-top: 15px; } p { padding-top: 3px; } .nav-p { text-align: center; } .green { color: green; } header { margin-top: 25px; display: flex; align-items: center; height: 70px; flex-direction: row; /*position: fixed;*/ } .title { padding-top: 25px; } .title a { text-decoration: none; } .logo { flex-grow: 1; display: flex; } .logo img { /*width: 100px;*/ height: 100px; padding-top: 15px; margin-left: 20px; } /* navigation */ nav { margin-right: 30px; } nav li { display: inline-block; list-style-type: none; margin-right: 20px; } nav li a { text-decoration: none; color: black; } /* navigation icons */ .menu-icon { display: none; margin-right: 30px; } /*Header small display*/ @media (max-width: 600px) { body { padding: 10px; } header { position: relative; } header nav { position: absolute; top: 70px; width: 100%; display: none; } .menu-icon { display: block; font-size: 23px; } header nav li { display: block !important; text-align: center; margin-top: 10px; margin-bottom: 10px; } hr { display: none; } } /* sekce */ .welcome { padding-top: 115px; padding-bottom: 50px; } .install { margin-top: 50px; } .plugins { margin-top: 50px; } .contact { text-align: center; } footer { bottom: 0; margin-bottom: 10px; margin-left: 25px; margin-top: 20px; text-align: center; } /* Styl pro ikonu */ #scrollToTopBtn { display: none; position: fixed; bottom: 20px; right: 20px; /*butoon přes obsah*/ z-index: 99; outline: none; cursor: pointer; padding: 15px; border-radius: 50%; background-color: transparent; } /* Styl pro ikonu */ #scrollToTopBtn i { 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*/