You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wanijo/resources/public/css/public.css

184 lines
2.7 KiB

:root {
--ci-primary: #691487;
--height-navbar: 4.5rem;
}
@font-face {
font-family: 'jetbrains-mono';
src: url('../JetBrainsMono-Regular.ttf');
}
a {
color: var(--ci-primary);
}
html {
background: url("../img/dust-background.png") no-repeat fixed bottom;
background-size: contain;
}
body {
background-color: transparent;
}
.navbar {
padding: 0;
}
.navbar-brand {
padding-top: 0;
padding-bottom: 0;
margin-right: 0;
}
.navbar__logo {
background: white;
height: var(--height-navbar);
padding: 1rem;
}
.navbar-collapse {
padding-right: 1rem;
}
.navbar__avatar {
max-height: 3.5rem;
border-radius: 100%;
margin: 0 1rem;
}
.navbar-text {
padding-top: 1rem;
}
.super-container {
padding: 0;
display: grid;
grid-template-columns: 3rem 1fr;
}
.global-nav {
padding: 0;
grid-column: 1;
position: fixed;
top: var(--height-navbar);
}
.global-nav__card-nav {
padding: 0;
list-style-type: none;
}
.global-nav__card-nav-item {
display: block;
border-radius: 0 .5rem .5rem 0;
margin: 0.5rem 0;
background-color: var(--ci-primary);
writing-mode: vertical-lr;
font-weight: bold;
}
.global-nav__link {
display: block;
color: white;
transition: padding-left .3s ease;
padding: 1.5rem .5rem;
}
.global-nav__link:hover {
color: white;
padding-left: 2rem;
}
.content {
grid-column: 2;
}
.breadcrumb {
margin-left: 4vw;
margin-right: 4vw;
margin-top: 1.5rem;
background: rgba(250, 250, 250, 0.8);
border-radius: 2rem;
border: 1px solid #ccc;
font-family: 'jetbrains-mono';
}
.breadcrumb img {
height: 1.4rem;
margin: 0 .6rem;
}
.breadcrumb-item + .breadcrumb-item::before {
content: "//";
}
.landing-container, .main {
grid-column: 2;
padding: 3rem;
margin-left: 4vw;
margin-right: 4vw;
margin-top: 1.5rem;
}
.main {
background: rgba(255, 255, 255, 0.8);
border-radius: 2rem;
border: 1px solid #ccc;
}
h1 {
font-weight: bold;
color: var(--ci-primary);
}
h2 {
font-weight: bold;
}
.tbl-toolbar {
display: flex;
margin-bottom: .5rem;
padding-top: .2rem;
padding-right: .2rem;
}
.tbl-toolbar .row-info {
flex-grow: 99;
}
.tbl-toolbar .rows::before {
content: " (";
}
.tbl-toolbar .rows::after {
content: " Zeilen)";
}
.tbl-toolbar .search {
display: inline;
width: auto;
}
.tbl-toolbar button {
margin-left: .5rem;
}
.tbl-toolbar .prev::after {
content: " << ";
}
.tbl-toolbar .next::after {
content: " >> ";
}
table [data-sort="desc"]::after {
content: "⇩";
display: inline;
}
table [data-sort="asc"]::after {
content: "⇧";
diplay: inline;
}