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

229 lines
3.5 KiB

:root {
--ci-primary: #691487;
--height-navbar: 4.5rem;
}
5 years ago
@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;
5 years ago
background-color: rgba(254, 254, 254, .5);
}
.navbar-brand {
padding-top: 0;
padding-bottom: 0;
margin-right: 0;
}
.navbar__logo {
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;
}
5 years ago
.content {
grid-column: 2;
}
.breadcrumb {
margin-left: 4vw;
margin-right: 4vw;
margin-top: 1.5rem;
5 years ago
background: rgba(250, 250, 250, 0.8);
border-radius: 2rem;
border: 1px solid #ccc;
5 years ago
font-family: 'jetbrains-mono', monospace;
5 years ago
}
.breadcrumb img {
height: 1.4rem;
margin: 0 .6rem;
}
5 years ago
.breadcrumb-item + .breadcrumb-item::before {
content: "//";
5 years ago
}
.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;
}
5 years ago
.main > h2 {
margin-top: 3rem;
}
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: "⇧";
5 years ago
display: inline;
}
.markdown-content {
5 years ago
margin-top: 3rem;
padding-left: 1rem;
}
.markdown-content h1 {
5 years ago
font-size: 2rem;
margin-left: -1rem;
}
.markdown-content h1::before {
5 years ago
display: inline-block;
content: " ";
background-image: url('../img/klammer.svg');
width: .5rem;
height: 1.8rem;
background-size: contain;
background-repeat: no-repeat;
background-position: bottom;
margin-right: .5rem;
}
.markdown-content h2 {
5 years ago
font-size: 1.7rem;
}
.markdown-content h3 {
5 years ago
font-size: 1.5rem;
}
.markdown-content h4 {
font-size: 1.3rem;
}
.markdown-content blockquote {
padding: 1rem .5rem 0 1rem;
background-color: rgba(230, 230, 230, .5);
border: 1px solid transparent;
border-radius: 2rem;
}