$primary: #fea500; $primary_dark: #e5a52e; @import "logo"; $icomoon-font-path: "../font"; @import "icons/style"; $flag-icon-path: '../img'; @import "icons/flags"; @import "bootstrap/scss/bootstrap-grid"; @import "bootstrap/scss/bootstrap-reboot"; @import "bootstrap/scss/bootstrap-utilities"; @import "bootstrap/scss/badge"; @import "bootstrap/scss/functions"; @import "bootstrap/scss/variables"; @import "bootstrap/scss/mixins/_breakpoints"; html, body { height: 100%; display: flex; flex-direction: column; } body { background-image: url("../img/bg.jpg"); color: #fff; min-height: 100vh; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } ul { list-style: disclosure-closed; } .content { flex: 1; padding: 2%; } .highlight { color: $primary; } .text-foreground { color: #fff; } a { color: $primary; &:hover { color: $primary_dark; } } .logo { display: block; margin: 0 auto; max-width: 128px; max-height: 128px; transition: transform .5s ease-in-out; &:hover { transform: rotate(360deg); } } .nav { display: flex; justify-content: start; flex-wrap: wrap; padding: .5rem; .toggle { padding: .5rem; display: none; } #menu { display: none; } .items { display: flex; } .lang-large { display: flex; } } @include media-breakpoint-down(sm) { .nav { display: block; padding: 0; .toggle { display: flex; label:hover { text-decoration: underline; cursor: pointer; } } .items { display: none; .item { border-top: 1px solid #fff; a { display: block; padding: 0.5rem; } } } input:checked ~ .items { display: block; } .lang-large { display: none; } } } .menu { a { color: #fff; text-decoration: none; &:hover { text-decoration: underline; } } .active a { font-weight: bold; } } .border-top { border-top: 1px solid #fff; } .border-bottom { border-bottom: 1px solid #fff; } .heading { text-align: center; a { color: #fff; } } .flex-grow { flex: 1; } .card { background-color: #111; border: 1px solid #fff; padding: 1rem; } .card-list { margin-bottom: 1rem; .card { border-bottom: none; } .card:last-child { border-bottom: 1px solid #fff; } } .service { position: relative; height: 100%; padding: 0; .link { position: absolute; left: 0; top: 0; bottom: 0; right: 0; color: $primary !important; &[href]:hover { color: $primary_dark !important; } } .beta { position: absolute; top: 0; right: -1rem; font-weight: bold; background-color: $primary; color: #000; padding: .5rem 1rem; border-radius: 10px; transform: rotate(20deg); box-shadow: -1px 8px 5px rgba(0, 0, 0, .7); } .inner { position: relative; pointer-events: none; z-index: 1; padding: 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; a { pointer-events: all; } } &.flat { .inner { flex-direction: row; text-decoration: none; h2 { margin-left: 0.5rem; } } } } .contact-links a { color: #fff !important; } code { background-color: $primary; color: #000; padding: 1px 3px; border-radius: 4px; } pre { background-color: $primary; color: #000; padding: 10px 15px; border-radius: 4px; code { background-color: initial; padding: initial; border-radius: initial; } } @media (max-width: 767.98px) { .logo { max-width: 96px; max-height: 96px; } } .table-container { overflow-y: auto; } table.table { width: 100%; margin-bottom: 16px; background-color: #111; tr:nth-child(2n) { background-color: #ffffff0b; } td, th { padding: 6px 13px; border: 1px solid #444; } } .ossrox { background-color: #efefef; border: 2px solid #000; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); padding: 5px; margin: 5px; max-width: 250px; } .article-content { img { display: block; margin: 0 auto 1rem; max-width: 100%; } .img-gallery { --bs-gutter-x: 1rem; a { display: flex; flex-direction: column; height: 100%; padding-bottom: 1rem; img { width: 100%; margin: 0; } small { padding: .5rem; flex-grow: 1; background-color: $primary; color: #000; } } } } .tab-card { margin-bottom: 2rem; .title { background-color: $primary; color: #000; font-weight: bold; padding: 5px 10px; border: 1px solid #fff; border-bottom: none; } }