Skip to content
Snippets Groups Projects
Commit 6befb07f authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update docs css

parent 61f9988a
No related branches found
No related tags found
1 merge request!278OP#7546 Icinga Check für ablaufende Gitlab tokens https://projects.iml.unibe.ch/work_packages/7546
This commit is part of merge request !278. Comments created here will be created in the context of that merge request.
/*
override css elements of daux.io blue theme
version 2023-10-09
version 2024-10-24
*/
:root {
/* Axels Overrides */
--color-text: #234;
--link-color: #822;
--link-color: #228;
--brand-color: var(--color-text);
--brand-background: var(--body-background);
--code-tag-background-color: #f0f3f3;
--code-tag-border-color: #dee;
--code-tag-box-shadow: none;
--hr-color: none;
--pager-background-color: #f8fafa;
--pager-border-color: none;
--search-field-background: none;
--search-field-border-color: none;
--sidebar-background: var(--body-background);
--sidebar-border-color: none;
--sidebar-link-active-background: #e8f4f6;
--sidebar-link-active-background: #eee;
--sidebar-link-active-background: #f0f4f6;
/* Axels custom values */
--axel_bg-toc: var(--body-background);
--axel_bg-toc-head: #f8f8f8;
--axel_brand-background: none;
--axel_brand-pre-background: rgb(255, 0, 51);
;
--axel_brand-pre-background-hover: rgb(255, 0, 51);
;
--axel_h1_header: none;
--axel_h1: #111;
--axel_h1-bg: none;
......@@ -33,12 +35,13 @@
--axel_h2-hero-bottom: 2px solid #912;
--axel_h3: #333;
--axel_h3-bottom: 0px solid #ddd;
--axel_h4: #444;
--axel_hero_bg: #f8f8f8;
--axel_h4: #478;
--axel_h5: #699;
--axel_hero_bg: #faf8f6;
--axel_img-border: 2px dashed #ccc;
--axel_nav-bg: #fcfcfc;
--axel_nav-buttomborder: #ddd;
--axel_pre-background: #f8f8f8;
--axel_pre-background: #faf8f6;
--axel-th-background: #e0e4e8;
--axel-article-nav-border-top: 0px dotted #ddd;
}
......@@ -46,9 +49,10 @@
.dark {
/* Axels Overrides */
--color-text: #c0c0c0;
--link-color: #c66;
--link-color: #88e;
--brand-color: var(--color-text);
--brand-background: var(--body-background);
--body-background: #101418;
--hr-color: none;
--code-tag-background-color_: #bcc;
--search-field-background: none;
......@@ -74,6 +78,8 @@
--axel_h2-hero-bottom: 2px solid #712;
--axel_h3: #589;
--axel_h3-bottom: 0px solid #333;
--axel_h4: #478;
--axel_h5: #278;
--axel_hero_bg: #242424;
--axel_img-border: 2px dashed #555;
--axel_nav-bg: #242424;
......@@ -123,6 +129,17 @@ a.Brand {
padding-top: 1em;
}
.s-content h1::before{
background: #fee;
border: 3px double #f00;
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;
}
.s-content h1 {
background: var(--axel_h1-bg);
color: var(--axel_h1);
......@@ -168,6 +185,13 @@ img{
.s-content > h4 {
color: var(--axel_h4);
font-size: 140%;
font-weight: bold;
margin: 2em 0;
}
.s-content > h5 {
color: var(--axel_h5);
font-size: 135%;
font-weight: bold;
margin: 2em 0;
......@@ -175,10 +199,12 @@ img{
.s-content .TableOfContentsContainer h4 {
margin: 1em 0;
font-size: 100%;
font-size: 110%;
text-align: center;
background-color: rgba(0, 0, 0, 0.05);
background-color: rgba(0, 0, 0, 0.1);
padding: 0.3em;
font-weight: bold;
font-family: Arial;
}
ul.TableOfContents a{
color: var(--color-text);
......@@ -241,6 +267,7 @@ div.hero h2 {
position: fixed;
right: 2em;
top: 1em;
height: 96%;
}
}
......@@ -254,12 +281,14 @@ div.hero h2 {
border-top-left-radius: 1em;
font-size: 1.1em;
margin: 0;
padding: 0;
padding: 0.3em;
}
.TableOfContentsContainer__content {
border-width: 1px;
border-width: 0px;
font-size: 0.5em;
height: inherit;
overflow: auto;
}
ul.TableOfContents ul {
......@@ -267,17 +296,17 @@ ul.TableOfContents ul {
padding-left: 1em;
}
.TableOfContents a:hover{
text-decoration: underline;
}
/* ----- Icons on links --- */
.EditOn a::before{
content: '✏️ ';
}
.Links a[href^="https://github.com/"]::before {
content: '🌐 ';
}
.Links a[href^="https://git-repo.iml.unibe.ch/"]::before {
.Links a::before {
content: '🌐 ';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment