* { padding: 0px; margin: 0px; font-family: "Lucida Console", Monaco, monospace; font-size: 18px; } body { background-color: #303030; min-height: 100%; position: relative; padding-bottom: 45px; } html { height: 100%; } /* -------------------------------------------------------------------------------- Navbar -------------------------------------------------------------------------------- */ nav { background-color: #602020; color: #FFFFFF; margin-bottom: 10px; border-width: 2px !important; border-color: #000000 !important; border-style: solid !important; } nav a { color: #FFFFFF !important; } nav a:hover { color: #CCCCCC !important; } nav button { border-color: #FFFFFF !important; } nav button:hover { background-color: #802525 !important; } nav button:focus { background-color: #802525 !important; } nav .navbar-toggler-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important; } .navbar-brand { font-size: 26px; } @media(max-width: 500px) { .navbar-brand { font-size: 22px; } } @media(max-width: 400px) { .navbar-brand { font-size: 18px; } } .nav_drop { background-color: #7C2929 !important; border-width: 2px !important; border-color: #000000 !important; border-style: solid !important; } .nav_drop_item { background-color: #7C2929 !important; } /* -------------------------------------------------------------------------------- Main -------------------------------------------------------------------------------- */ main { padding: 0px !important; } main button { color: #FFFFFF; margin-top: 5px; margin-bottom: 5px; padding: 10px; background-color: #602020; border-radius: 5px !important; border-color: #000000 !important; border-width: 2px !important; border-style: solid !important; box-sizing: border-box; } main button:hover { background-color: #801010; } main button:focus { background-color: #801010; } /* -------------------------------------------------------------------------------- fruits -------------------------------------------------------------------------------- */ #fruits img { border: 1px solid #707070; width: 100%; min-width: 120px; max-width: 200px; margin: 1px; border-radius: 8px; } #fruits table { width: 100%; border-collapse: collapse; background-color: #707070; margin-bottom: 15px; } #fruits tr:nth-of-type(odd) { background: #858585; } #fruits th { background: #601010; color: white; font-weight: bold; } #fruits td, #fruits th { padding: 12px; border: 2px solid #000000; text-align: left; } @media (max-width: 992px) { #fruits table, #fruits thead, #fruits tbody, #fruits th, #fruits td, #fruits tr { display: block; } #fruits thead tr { position: absolute; top: -9999px; left: -9999px; } #fruits td { border: none; border-bottom: 2px solid #000000; position: relative; padding-left: 40%; min-height: 50px; } #fruits td:before { position: absolute; top: 6px; left: 6px; padding-right: 10px; white-space: nowrap; } #fruits td:nth-of-type(1):before { content: "Name(n)"; } #fruits td:nth-of-type(2):before { content: "Bild"; } #fruits td:nth-of-type(3):before { content: "Fundort"; } #fruits td:nth-of-type(4):before { content: "Anleitung"; } #fruits td:nth-of-type(5):before { content: "Geschmack"; } } /* -------------------------------------------------------------------------------- general stuff -------------------------------------------------------------------------------- */ .textContainer { margin-bottom: 10px; color: #000000; background-color: #707070; border-radius: 5px; padding-top: 8px; padding-bottom: 8px; padding-left: 16px; padding-right: 16px; word-wrap: break-word; } .center { text-align: center; } .left { text-align: left; } .spacer { background-color: #606060; padding-left: 25px; padding-right: 25px; } .title { background-color: #602020; margin-top: 10px; margin-bottom: 10px; padding-top: 8px; padding-bottom: 8px; text-align: center; color: #FFFFFF; border-radius: 5px; border-width: 2px; border-color: #202020; border-style: solid; font-weight: bold; } /* -------------------------------------------------------------------------------- footer -------------------------------------------------------------------------------- */ footer { background-color: #602020; color: #FFFFFF; border-width: 2px !important; border-color: #000000 !important; border-style: solid !important; margin-top: 20px; padding: 10px; font-size: 14px; text-align: center; position: absolute; left: 0; right: 0; bottom: 0; height: 45px; } footer span { font-size: inherit; } .footerPipe { border-right-style: solid; border-right-width: 1px; border-right-color: #FFFFFF; padding-right: 10px; margin-right: 2px; } .login { color: #FFFFFF; font-size: 14px; text-decoration: none; } .login:hover { color: #CCCCCC; text-decoration: none; } .inputForm { border-radius: 5px; border-style: solid; border-width: 2px; border-color: #000000; background-color: #CCCCCC; padding: 5px; width: 100%; } .submitForm { border-radius: 5px; border-style: solid; border-width: 2px; border-color: #000000; background-color: #601010; color: #FFFFFF; padding: 5px; width: 100%; } .inputName { font-size: 24px; font-weight: bold; }