Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.113.0'
hugo-version: '0.142.0'

- name: Build
run: hugo --minify
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/hugo-theme-relearn"]
path = themes/hugo-theme-relearn
url = https://github.com/McShelby/hugo-theme-relearn
84 changes: 0 additions & 84 deletions Gruntfile.js

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ It is also possible to install Hugo using package managers
sudo apt install hugo

**Last known working version is **
https://github.com/gohugoio/hugo/releases/tag/v0.113.0
https://github.com/gohugoio/hugo/releases/tag/v0.142.0

The **next-major-release** branch is intended to represent the new features not yet released. The content of this branch is automatically published to **gh-pages** of this repository. This website can be reached by https://beta.resinsight.org

Expand All @@ -50,6 +50,8 @@ https://beta.resinsight.org redirects to https://opm.github.io/ResInsight-UserDo
## Tips and tricks
- If you want to publish a page, but avoid having an entry in the menu, add `hidden = true` to the header of the MD file. See about.md for an example.

- Disable a page from search index using `search_ignore = true`

- Use the following syntax to define a text region with fixed font size
```txt
row a row b rov c
Expand Down
46 changes: 46 additions & 0 deletions assets/css/theme-relearn-dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
:root {
/* relearn-dark */
--PRIMARY-color: rgba(125, 201, 3, 1); /* brand primary color */
--SECONDARY-color: rgba(108, 140, 227, 1); /* brand secondary color */
--ACCENT-color: rgb(255, 102, 78, 1); /* brand accent color, used for search highlights */

--MAIN-TEXT-color: rgba(224, 224, 224, 1); /* text color of content and h1 titles */
--MAIN-LINK-HOVER-color: rgba(147, 176, 255, 1); /* hovered link color of content */
--MAIN-BG-color: rgba(32, 32, 32, 1); /* background color of content */
--MAIN-TITLES-TEXT-color: rgba(255, 255, 255, 1); /* text color of h2-h6 titles and transparent box titles */

--CODE-theme: relearn-dark; /* name of the chroma stylesheet file */
--CODE-BLOCK-color: rgba(248, 248, 242, 1); /* fallback text color of block code; should be adjusted to your selected chroma style */
--CODE-BLOCK-BG-color: rgba(43, 43, 43, 1); /* fallback background color of block code; should be adjusted to your selected chroma style */
--CODE-BLOCK-BORDER-color: rgba(71, 71, 71, 1); /* border color of block code */
--CODE-INLINE-color: rgba(130, 229, 80, 1); /* text color of inline code */
--CODE-INLINE-BG-color: rgba(45, 45, 45, 1); /* background color of inline code */
--CODE-INLINE-BORDER-color: rgba(70, 70, 70, 1); /* border color of inline code */

--BROWSER-theme: dark; /* name of the theme for browser scrollbars of the main section */
--MERMAID-theme: dark; /* name of the default Mermaid theme for this variant, can be overridden in hugo.toml */
--OPENAPI-theme: dark; /* name of the default OpenAPI theme for this variant, can be overridden in hugo.toml */
--OPENAPI-CODE-theme: obsidian; /* name of the default OpenAPI code theme for this variant, can be overridden in hugo.toml */

--MENU-HOME-LINK-color: rgb(212, 202, 202); /* home button color if configured */
--MENU-HOME-LINK-HOVER-color: rgb(250, 246, 246); /* hovered home button color if configured */

--MENU-SEARCH-color: rgba(224, 224, 224, 1); /* text and icon color of search box */
--MENU-SEARCH-BG-color: rgba(50, 50, 50, 1); /* background color of search box */
--MENU-SEARCH-BORDER-color: rgba(224, 224, 224, 1); /* border color of search box */

--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. */
--MENU-SECTIONS-LINK-color: rgba(186, 186, 186, 1); /* link color of menu topics */
--MENU-SECTIONS-LINK-HOVER-color: rgba(255, 255, 255, 1); /* hovered link color of menu topics */
--MENU-SECTIONS-ACTIVE-BG-color: rgba(50, 50, 50, 1); /* background color of the active menu section */
--MENU-SECTION-ACTIVE-CATEGORY-color: rgba(130, 229, 80, 1); /* text color of the displayed menu topic */
--MENU-SECTION-SEPARATOR-color: rgba(96, 96, 96, 1); /* separator color between menu sections and menu footer */

--MENU-VISITED-color: rgba(72, 106, 201, 1); /* icon color of visited menu topics if configured */

--MENU-HEADER-BG-color: transparent; /* ResInsight override*/

--BOX-CAPTION-color: rgba(240, 240, 240, 1); /* text color of colored box titles */
--BOX-BG-color: rgba(20, 20, 20, 1); /* background color of colored boxes */
--BOX-TEXT-color: rgba(224, 224, 224, 1); /* text color of colored box content */
}
44 changes: 44 additions & 0 deletions assets/css/theme-relearn-light.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
:root {
/* relearn-light */
--PRIMARY-color: rgba(125, 201, 3, 1); /* brand primary color */
--SECONDARY-color: rgba(72, 106, 201, 1); /* brand secondary color */
--ACCENT-color: rgb(255, 102, 78); /* brand accent color, used for search highlights */

--MAIN-TEXT-color: rgba(0, 0, 0, 1); /* text color of content and h1 titles */
--MAIN-LINK-HOVER-color: rgba(32, 40, 145, 1); /* hovered link color of content */
--MAIN-BG-color: rgba(255, 255, 255, 1); /* background color of content */
--MAIN-TITLES-TEXT-color: rgba(16, 16, 16, 1); /* text color of h2-h6 titles and transparent box titles */

--CODE-theme: relearn-light; /* name of the chroma stylesheet file */
--CODE-BLOCK-color: rgba(39, 40, 34, 1); /* fallback text color of block code; should be adjusted to your selected chroma style */
--CODE-BLOCK-BG-color: rgba(250, 250, 250, 1); /* fallback background color of block code; should be adjusted to your selected chroma style */
--CODE-BLOCK-BORDER-color: rgba(216, 216, 216, 1); /* border color of block code */
--CODE-INLINE-color: rgba(94, 94, 94, 1); /* text color of inline code */
--CODE-INLINE-BG-color: rgba(255, 250, 233, 1); /* background color of inline code */
--CODE-INLINE-BORDER-color: rgba(248, 232, 200, 1); /* border color of inline code */

--BROWSER-theme: light; /* name of the theme for browser scrollbars of the main section */
--MERMAID-theme: default; /* name of the default Mermaid theme for this variant, can be overridden in hugo.toml */
--OPENAPI-theme: light; /* name of the default OpenAPI theme for this variant, can be overridden in hugo.toml */
--OPENAPI-CODE-theme: idea; /* name of the default OpenAPI code theme for this variant, can be overridden in hugo.toml */

--MENU-HOME-LINK-color: rgb(212, 202, 202); /* home button color if configured */
--MENU-HOME-LINK-HOVER-color: rgb(250, 246, 246); /* hovered home button color if configured */

--MENU-SEARCH-color: rgba(224, 224, 224, 1); /* text and icon color of search box */
--MENU-SEARCH-BG-color: rgba(50, 50, 50, 1); /* background color of search box */
--MENU-SEARCH-BORDER-color: rgba(224, 224, 224, 1); /* border color of search box */

--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. */
--MENU-SECTIONS-ACTIVE-BG-color: rgba(0, 0, 0, 0.166); /* background color of the active menu section */
--MENU-SECTIONS-LINK-color: rgba(186, 186, 186, 1); /* link color of menu topics */
--MENU-SECTIONS-LINK-HOVER-color: rgba(255, 255, 255, 1); /* hovered link color of menu topics */
--MENU-SECTION-ACTIVE-CATEGORY-color: rgba(68, 68, 68, 1); /* text color of the displayed menu topic */
--MENU-SECTION-SEPARATOR-color: rgba(96, 96, 96, 1); /* separator color between menu sections and menu footer */

--MENU-HEADER-BG-color: transparent; /* ResInsight override*/

--BOX-CAPTION-color: rgba(255, 255, 255, 1); /* text color of colored box titles */
--BOX-BG-color: rgba(255, 255, 255, 0.833); /* background color of colored boxes */
--BOX-TEXT-color: rgba(16, 16, 16, 1); /* text color of colored box content */
}
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added assets/images/3d-main-window/msj.png
File renamed without changes
File renamed without changes
File renamed without changes
Loading