Skip to content
Snippets Groups Projects

OP#7559 Doku der Icinga checks - keine H1 Überschriften verwenden https://projects.iml.unibe.ch/work_packages/7559

1 file
+ 4
6
Compare changes
  • Side-by-side
  • Inline
+ 43
22
/*
override css elements of daux.io blue theme
version 2024-10-24
version 2024-10-31
*/
:root {
/* Axels Overrides */
@@ -19,8 +19,9 @@
--sidebar-background: var(--body-background);
--sidebar-border-color: none;
--sidebar-link-active-background: #f0f4f6;
--toc--inner-border-color: none;
/* Axels custom values */
--axel_bg-toc: var(--body-background);
--axel_bg-toc: #f8fafa;
--axel_bg-toc-head: #f8f8f8;
--axel_brand-background: none;
--axel_brand-pre-background: rgb(255, 0, 51);
@@ -35,8 +36,8 @@
--axel_h2-hero-bottom: 2px solid #912;
--axel_h3: #333;
--axel_h3-bottom: 0px solid #ddd;
--axel_h4: #478;
--axel_h5: #699;
--axel_h4: #666;
--axel_h5: #888;
--axel_hero_bg: #faf8f6;
--axel_img-border: 2px dashed #ccc;
--axel_nav-bg: #fcfcfc;
@@ -60,6 +61,7 @@
--sidebar-background: var(--body-background);
--sidebar-border-color: none;
--sidebar-link-active-background: #333;
--sidebar-link-color: var(--link-color);
/* Axels custom values */
--axel_bg-toc: var(--body-background);
--axel_bg-toc-head: #333;
@@ -126,19 +128,26 @@ a.Brand {
/* ---------- page content ---------- */
.s-content {
padding-top: 1em;
padding-top: 6em;
}
/* .s-content h1::before{
background: #fee;
border: 3px double #f00;
/**
h1::before{color: #aaa;content: 'h1: ';}
h2::before{color: #aaa;content: 'h2: ';}
h3::before{color: #aaa;content: 'h3: ';}
h4::before{color: #aaa;content: 'h4: ';}
h5::before{color: #aaa;content: 'h5: ';}
h6::before{color: #aaa;content: 'h6: ';}
*/
h2::before{color: #888;content: ': : ';}
h3::before{color: #ccc;content: '> ';}
h4::before{color: #ccc;content: '_ ';}
.s-content h1::before{
color: #f00;
content: 'FEHLER: Keine Überschrift 1 in einer Markdown-Datei für Daux verwenden! Mit H2 beginnen!';
display: block;
font-size: 50%;
padding: 0.3em;
margin-bottom: 2em;
} */
content: '!! h1 !! ';
}
.s-content h1 {
background: var(--axel_h1-bg);
@@ -159,8 +168,14 @@ a.Brand {
border-bottom: var(--axel_h2-bottom);
}
h1:first-of-type {
.Page__header > h1:first-of-type {
margin-top: 0em;
margin-left: -1em;
padding-left: 1em;
position: fixed;
min-width: 100%;
background: var(--body-background);
box-shadow: 0 2em 1em var(--body-background);
}
h2:first-of-type {
@@ -211,6 +226,8 @@ ul.TableOfContents a{
}
.s-content pre {
background: var(--axel_pre-background);
border-radius: 0.5em;
padding: 1rem;
}
/* FIX smaller fnt size in tables */
@@ -262,14 +279,6 @@ div.hero h2 {
}
/* ---------- TOC ---------- */
@media(min-width:1700px) {
.TableOfContentsContainer {
position: fixed;
right: 2em;
top: 1em;
height: 96%;
}
}
.TableOfContentsContainer {
background-color: var(--axel_bg-toc);
@@ -279,9 +288,11 @@ div.hero h2 {
.s-content .TableOfContentsContainer h4 {
background-color: var(--axel_bg-toc-head);
border-top-left-radius: 1em;
border-bottom: 2px solid var(--axel_bg-toc-bottom-border);
font-size: 1.1em;
margin: 0;
padding: 0.3em;
display: none;
}
.TableOfContentsContainer__content {
@@ -300,6 +311,16 @@ ul.TableOfContents ul {
text-decoration: underline;
}
@media(min-width:1700px) {
.TableOfContentsContainer {
background: none;
position: fixed;
right: 2em;
top: 4em;
height: 90%;
}
}
/* ----- Icons on links --- */
.EditOn a::before{
Loading