Skip to content

Commit ad37099

Browse files
authored
Use theme relearn and update to Hugo 142 (#32)
Update to https://github.com/McShelby/hugo-theme-relearn Improve search Reorganize releases Remove google analytics Use "CommonHTML" for rendering of formulas using MathJax
1 parent 9c094a7 commit ad37099

File tree

1,020 files changed

+1191
-23034
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,020 files changed

+1191
-23034
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Hugo
1818
uses: peaceiris/actions-hugo@v2
1919
with:
20-
hugo-version: '0.113.0'
20+
hugo-version: '0.142.0'
2121

2222
- name: Build
2323
run: hugo --minify

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/hugo-theme-relearn"]
2+
path = themes/hugo-theme-relearn
3+
url = https://github.com/McShelby/hugo-theme-relearn

Gruntfile.js

Lines changed: 0 additions & 84 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 1 deletion

assets/css/theme-relearn-dark.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
:root {
2+
/* relearn-dark */
3+
--PRIMARY-color: rgba(125, 201, 3, 1); /* brand primary color */
4+
--SECONDARY-color: rgba(108, 140, 227, 1); /* brand secondary color */
5+
--ACCENT-color: rgb(255, 102, 78, 1); /* brand accent color, used for search highlights */
6+
7+
--MAIN-TEXT-color: rgba(224, 224, 224, 1); /* text color of content and h1 titles */
8+
--MAIN-LINK-HOVER-color: rgba(147, 176, 255, 1); /* hovered link color of content */
9+
--MAIN-BG-color: rgba(32, 32, 32, 1); /* background color of content */
10+
--MAIN-TITLES-TEXT-color: rgba(255, 255, 255, 1); /* text color of h2-h6 titles and transparent box titles */
11+
12+
--CODE-theme: relearn-dark; /* name of the chroma stylesheet file */
13+
--CODE-BLOCK-color: rgba(248, 248, 242, 1); /* fallback text color of block code; should be adjusted to your selected chroma style */
14+
--CODE-BLOCK-BG-color: rgba(43, 43, 43, 1); /* fallback background color of block code; should be adjusted to your selected chroma style */
15+
--CODE-BLOCK-BORDER-color: rgba(71, 71, 71, 1); /* border color of block code */
16+
--CODE-INLINE-color: rgba(130, 229, 80, 1); /* text color of inline code */
17+
--CODE-INLINE-BG-color: rgba(45, 45, 45, 1); /* background color of inline code */
18+
--CODE-INLINE-BORDER-color: rgba(70, 70, 70, 1); /* border color of inline code */
19+
20+
--BROWSER-theme: dark; /* name of the theme for browser scrollbars of the main section */
21+
--MERMAID-theme: dark; /* name of the default Mermaid theme for this variant, can be overridden in hugo.toml */
22+
--OPENAPI-theme: dark; /* name of the default OpenAPI theme for this variant, can be overridden in hugo.toml */
23+
--OPENAPI-CODE-theme: obsidian; /* name of the default OpenAPI code theme for this variant, can be overridden in hugo.toml */
24+
25+
--MENU-HOME-LINK-color: rgb(212, 202, 202); /* home button color if configured */
26+
--MENU-HOME-LINK-HOVER-color: rgb(250, 246, 246); /* hovered home button color if configured */
27+
28+
--MENU-SEARCH-color: rgba(224, 224, 224, 1); /* text and icon color of search box */
29+
--MENU-SEARCH-BG-color: rgba(50, 50, 50, 1); /* background color of search box */
30+
--MENU-SEARCH-BORDER-color: rgba(224, 224, 224, 1); /* border color of search box */
31+
32+
--MENU-SECTIONS-BG-color: rgba(43, 43, 43, 1); /* background of the menu; this is NOT just a color value but can be a complete CSS background definition including gradients, etc. */
33+
--MENU-SECTIONS-LINK-color: rgba(186, 186, 186, 1); /* link color of menu topics */
34+
--MENU-SECTIONS-LINK-HOVER-color: rgba(255, 255, 255, 1); /* hovered link color of menu topics */
35+
--MENU-SECTIONS-ACTIVE-BG-color: rgba(50, 50, 50, 1); /* background color of the active menu section */
36+
--MENU-SECTION-ACTIVE-CATEGORY-color: rgba(130, 229, 80, 1); /* text color of the displayed menu topic */
37+
--MENU-SECTION-SEPARATOR-color: rgba(96, 96, 96, 1); /* separator color between menu sections and menu footer */
38+
39+
--MENU-VISITED-color: rgba(72, 106, 201, 1); /* icon color of visited menu topics if configured */
40+
41+
--MENU-HEADER-BG-color: transparent; /* ResInsight override*/
42+
43+
--BOX-CAPTION-color: rgba(240, 240, 240, 1); /* text color of colored box titles */
44+
--BOX-BG-color: rgba(20, 20, 20, 1); /* background color of colored boxes */
45+
--BOX-TEXT-color: rgba(224, 224, 224, 1); /* text color of colored box content */
46+
}

assets/css/theme-relearn-light.css

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
:root {
2+
/* relearn-light */
3+
--PRIMARY-color: rgba(125, 201, 3, 1); /* brand primary color */
4+
--SECONDARY-color: rgba(72, 106, 201, 1); /* brand secondary color */
5+
--ACCENT-color: rgb(255, 102, 78); /* brand accent color, used for search highlights */
6+
7+
--MAIN-TEXT-color: rgba(0, 0, 0, 1); /* text color of content and h1 titles */
8+
--MAIN-LINK-HOVER-color: rgba(32, 40, 145, 1); /* hovered link color of content */
9+
--MAIN-BG-color: rgba(255, 255, 255, 1); /* background color of content */
10+
--MAIN-TITLES-TEXT-color: rgba(16, 16, 16, 1); /* text color of h2-h6 titles and transparent box titles */
11+
12+
--CODE-theme: relearn-light; /* name of the chroma stylesheet file */
13+
--CODE-BLOCK-color: rgba(39, 40, 34, 1); /* fallback text color of block code; should be adjusted to your selected chroma style */
14+
--CODE-BLOCK-BG-color: rgba(250, 250, 250, 1); /* fallback background color of block code; should be adjusted to your selected chroma style */
15+
--CODE-BLOCK-BORDER-color: rgba(216, 216, 216, 1); /* border color of block code */
16+
--CODE-INLINE-color: rgba(94, 94, 94, 1); /* text color of inline code */
17+
--CODE-INLINE-BG-color: rgba(255, 250, 233, 1); /* background color of inline code */
18+
--CODE-INLINE-BORDER-color: rgba(248, 232, 200, 1); /* border color of inline code */
19+
20+
--BROWSER-theme: light; /* name of the theme for browser scrollbars of the main section */
21+
--MERMAID-theme: default; /* name of the default Mermaid theme for this variant, can be overridden in hugo.toml */
22+
--OPENAPI-theme: light; /* name of the default OpenAPI theme for this variant, can be overridden in hugo.toml */
23+
--OPENAPI-CODE-theme: idea; /* name of the default OpenAPI code theme for this variant, can be overridden in hugo.toml */
24+
25+
--MENU-HOME-LINK-color: rgb(212, 202, 202); /* home button color if configured */
26+
--MENU-HOME-LINK-HOVER-color: rgb(250, 246, 246); /* hovered home button color if configured */
27+
28+
--MENU-SEARCH-color: rgba(224, 224, 224, 1); /* text and icon color of search box */
29+
--MENU-SEARCH-BG-color: rgba(50, 50, 50, 1); /* background color of search box */
30+
--MENU-SEARCH-BORDER-color: rgba(224, 224, 224, 1); /* border color of search box */
31+
32+
--MENU-SECTIONS-BG-color: rgba(40, 40, 40, 1); /* background of the menu; this is NOT just a color value but can be a complete CSS background definition including gradients, etc. */
33+
--MENU-SECTIONS-ACTIVE-BG-color: rgba(0, 0, 0, 0.166); /* background color of the active menu section */
34+
--MENU-SECTIONS-LINK-color: rgba(186, 186, 186, 1); /* link color of menu topics */
35+
--MENU-SECTIONS-LINK-HOVER-color: rgba(255, 255, 255, 1); /* hovered link color of menu topics */
36+
--MENU-SECTION-ACTIVE-CATEGORY-color: rgba(68, 68, 68, 1); /* text color of the displayed menu topic */
37+
--MENU-SECTION-SEPARATOR-color: rgba(96, 96, 96, 1); /* separator color between menu sections and menu footer */
38+
39+
--MENU-HEADER-BG-color: transparent; /* ResInsight override*/
40+
41+
--BOX-CAPTION-color: rgba(255, 255, 255, 1); /* text color of colored box titles */
42+
--BOX-BG-color: rgba(255, 255, 255, 0.833); /* background color of colored boxes */
43+
--BOX-TEXT-color: rgba(16, 16, 16, 1); /* text color of colored box content */
44+
}

static/images/3d-main-window/2DIntersectionViewProperties.png renamed to assets/images/3d-main-window/2DIntersectionViewProperties.png

File renamed without changes.
File renamed without changes.

static/images/3d-main-window/3DComparisonViewCreate.png renamed to assets/images/3d-main-window/3DComparisonViewCreate.png

File renamed without changes.

0 commit comments

Comments
 (0)