diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2023-05-07 20:54:47 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2023-05-07 21:05:58 -0400 |
| commit | cfc6bdc4ae5677ae742b9270409e9d2f5e6426fd (patch) | |
| tree | 4f1ab639b266dc2be7adbdba021095c5f277c53f /docs/static/css | |
| parent | d297cc7f83e159f49512fdbca8d375857ebf7a68 (diff) | |
Migrate docs site to new theme
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs/static/css')
| -rw-r--r-- | docs/static/css/chroma-gomplate-dark.css | 86 | ||||
| -rw-r--r-- | docs/static/css/chroma-gomplate-light.css | 86 | ||||
| -rw-r--r-- | docs/static/css/theme-gomplate-dark.css | 59 | ||||
| -rw-r--r-- | docs/static/css/theme-gomplate-light.css | 61 |
4 files changed, 292 insertions, 0 deletions
diff --git a/docs/static/css/chroma-gomplate-dark.css b/docs/static/css/chroma-gomplate-dark.css new file mode 100644 index 00000000..24168d48 --- /dev/null +++ b/docs/static/css/chroma-gomplate-dark.css @@ -0,0 +1,86 @@ +/* Background */ .bg { color: #c9d1d9; background-color: #0d1117; } +/* PreWrapper */ .chroma { color: #c9d1d9; background-color: #0d1117; } +/* Other */ .chroma .x { } +/* Error */ .chroma .err { color: #f85149 } +/* CodeLine */ .chroma .cl { } +/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit } +/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } +/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } +/* LineHighlight */ .chroma .hl { background-color: #ffffcc } +/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #64686c } +/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #6e7681 } +/* Line */ .chroma .line { display: flex; } +/* Keyword */ .chroma .k { color: #ff7b72 } +/* KeywordConstant */ .chroma .kc { color: #79c0ff } +/* KeywordDeclaration */ .chroma .kd { color: #ff7b72 } +/* KeywordNamespace */ .chroma .kn { color: #ff7b72 } +/* KeywordPseudo */ .chroma .kp { color: #79c0ff } +/* KeywordReserved */ .chroma .kr { color: #ff7b72 } +/* KeywordType */ .chroma .kt { color: #ff7b72 } +/* Name */ .chroma .n { } +/* NameAttribute */ .chroma .na { } +/* NameBuiltin */ .chroma .nb { } +/* NameBuiltinPseudo */ .chroma .bp { } +/* NameClass */ .chroma .nc { color: #f0883e; font-weight: bold } +/* NameConstant */ .chroma .no { color: #79c0ff; font-weight: bold } +/* NameDecorator */ .chroma .nd { color: #d2a8ff; font-weight: bold } +/* NameEntity */ .chroma .ni { color: #ffa657 } +/* NameException */ .chroma .ne { color: #f0883e; font-weight: bold } +/* NameFunction */ .chroma .nf { color: #d2a8ff; font-weight: bold } +/* NameFunctionMagic */ .chroma .fm { } +/* NameLabel */ .chroma .nl { color: #79c0ff; font-weight: bold } +/* NameNamespace */ .chroma .nn { color: #ff7b72 } +/* NameOther */ .chroma .nx { } +/* NameProperty */ .chroma .py { color: #79c0ff } +/* NameTag */ .chroma .nt { color: #7ee787 } +/* NameVariable */ .chroma .nv { color: #79c0ff } +/* NameVariableClass */ .chroma .vc { } +/* NameVariableGlobal */ .chroma .vg { } +/* NameVariableInstance */ .chroma .vi { } +/* NameVariableMagic */ .chroma .vm { } +/* Literal */ .chroma .l { color: #a5d6ff } +/* LiteralDate */ .chroma .ld { color: #79c0ff } +/* LiteralString */ .chroma .s { color: #a5d6ff } +/* LiteralStringAffix */ .chroma .sa { color: #79c0ff } +/* LiteralStringBacktick */ .chroma .sb { color: #a5d6ff } +/* LiteralStringChar */ .chroma .sc { color: #a5d6ff } +/* LiteralStringDelimiter */ .chroma .dl { color: #79c0ff } +/* LiteralStringDoc */ .chroma .sd { color: #a5d6ff } +/* LiteralStringDouble */ .chroma .s2 { color: #a5d6ff } +/* LiteralStringEscape */ .chroma .se { color: #79c0ff } +/* LiteralStringHeredoc */ .chroma .sh { color: #79c0ff } +/* LiteralStringInterpol */ .chroma .si { color: #a5d6ff } +/* LiteralStringOther */ .chroma .sx { color: #a5d6ff } +/* LiteralStringRegex */ .chroma .sr { color: #79c0ff } +/* LiteralStringSingle */ .chroma .s1 { color: #a5d6ff } +/* LiteralStringSymbol */ .chroma .ss { color: #a5d6ff } +/* LiteralNumber */ .chroma .m { color: #a5d6ff } +/* LiteralNumberBin */ .chroma .mb { color: #a5d6ff } +/* LiteralNumberFloat */ .chroma .mf { color: #a5d6ff } +/* LiteralNumberHex */ .chroma .mh { color: #a5d6ff } +/* LiteralNumberInteger */ .chroma .mi { color: #a5d6ff } +/* LiteralNumberIntegerLong */ .chroma .il { color: #a5d6ff } +/* LiteralNumberOct */ .chroma .mo { color: #a5d6ff } +/* Operator */ .chroma .o { color: #ff7b72; font-weight: bold } +/* OperatorWord */ .chroma .ow { color: #ff7b72; font-weight: bold } +/* Punctuation */ .chroma .p { } +/* Comment */ .chroma .c { color: #8b949e; font-style: italic } +/* CommentHashbang */ .chroma .ch { color: #8b949e; font-style: italic } +/* CommentMultiline */ .chroma .cm { color: #8b949e; font-style: italic } +/* CommentSingle */ .chroma .c1 { color: #8b949e; font-style: italic } +/* CommentSpecial */ .chroma .cs { color: #8b949e; font-weight: bold; font-style: italic } +/* CommentPreproc */ .chroma .cp { color: #8b949e; font-weight: bold; font-style: italic } +/* CommentPreprocFile */ .chroma .cpf { color: #8b949e; font-weight: bold; font-style: italic } +/* Generic */ .chroma .g { } +/* GenericDeleted */ .chroma .gd { color: #ffa198; background-color: #490202 } +/* GenericEmph */ .chroma .ge { font-style: italic } +/* GenericError */ .chroma .gr { color: #ffa198 } +/* GenericHeading */ .chroma .gh { color: #79c0ff; font-weight: bold } +/* GenericInserted */ .chroma .gi { color: #56d364; background-color: #0f5323 } +/* GenericOutput */ .chroma .go { color: #8b949e } +/* GenericPrompt */ .chroma .gp { color: #8b949e } +/* GenericStrong */ .chroma .gs { font-weight: bold } +/* GenericSubheading */ .chroma .gu { color: #79c0ff } +/* GenericTraceback */ .chroma .gt { color: #ff7b72 } +/* GenericUnderline */ .chroma .gl { text-decoration: underline } +/* TextWhitespace */ .chroma .w { color: #6e7681 } diff --git a/docs/static/css/chroma-gomplate-light.css b/docs/static/css/chroma-gomplate-light.css new file mode 100644 index 00000000..9018df90 --- /dev/null +++ b/docs/static/css/chroma-gomplate-light.css @@ -0,0 +1,86 @@ +/* Background */ .bg { background-color: #ffffff; } +/* PreWrapper */ .chroma { background-color: #ffffff; } +/* Other */ .chroma .x { } +/* Error */ .chroma .err { color: #a61717; background-color: #e3d2d2 } +/* CodeLine */ .chroma .cl { } +/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit } +/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } +/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } +/* LineHighlight */ .chroma .hl { background-color: #ffffcc } +/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } +/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } +/* Line */ .chroma .line { display: flex; } +/* Keyword */ .chroma .k { color: #000000; font-weight: bold } +/* KeywordConstant */ .chroma .kc { color: #000000; font-weight: bold } +/* KeywordDeclaration */ .chroma .kd { color: #000000; font-weight: bold } +/* KeywordNamespace */ .chroma .kn { color: #000000; font-weight: bold } +/* KeywordPseudo */ .chroma .kp { color: #000000; font-weight: bold } +/* KeywordReserved */ .chroma .kr { color: #000000; font-weight: bold } +/* KeywordType */ .chroma .kt { color: #445588; font-weight: bold } +/* Name */ .chroma .n { } +/* NameAttribute */ .chroma .na { color: #008080 } +/* NameBuiltin */ .chroma .nb { color: #0086b3 } +/* NameBuiltinPseudo */ .chroma .bp { color: #999999 } +/* NameClass */ .chroma .nc { color: #445588; font-weight: bold } +/* NameConstant */ .chroma .no { color: #008080 } +/* NameDecorator */ .chroma .nd { color: #3c5d5d; font-weight: bold } +/* NameEntity */ .chroma .ni { color: #800080 } +/* NameException */ .chroma .ne { color: #990000; font-weight: bold } +/* NameFunction */ .chroma .nf { color: #990000; font-weight: bold } +/* NameFunctionMagic */ .chroma .fm { } +/* NameLabel */ .chroma .nl { color: #990000; font-weight: bold } +/* NameNamespace */ .chroma .nn { color: #555555 } +/* NameOther */ .chroma .nx { } +/* NameProperty */ .chroma .py { } +/* NameTag */ .chroma .nt { color: #000080 } +/* NameVariable */ .chroma .nv { color: #008080 } +/* NameVariableClass */ .chroma .vc { color: #008080 } +/* NameVariableGlobal */ .chroma .vg { color: #008080 } +/* NameVariableInstance */ .chroma .vi { color: #008080 } +/* NameVariableMagic */ .chroma .vm { } +/* Literal */ .chroma .l { } +/* LiteralDate */ .chroma .ld { } +/* LiteralString */ .chroma .s { color: #dd1144 } +/* LiteralStringAffix */ .chroma .sa { color: #dd1144 } +/* LiteralStringBacktick */ .chroma .sb { color: #dd1144 } +/* LiteralStringChar */ .chroma .sc { color: #dd1144 } +/* LiteralStringDelimiter */ .chroma .dl { color: #dd1144 } +/* LiteralStringDoc */ .chroma .sd { color: #dd1144 } +/* LiteralStringDouble */ .chroma .s2 { color: #dd1144 } +/* LiteralStringEscape */ .chroma .se { color: #dd1144 } +/* LiteralStringHeredoc */ .chroma .sh { color: #dd1144 } +/* LiteralStringInterpol */ .chroma .si { color: #dd1144 } +/* LiteralStringOther */ .chroma .sx { color: #dd1144 } +/* LiteralStringRegex */ .chroma .sr { color: #009926 } +/* LiteralStringSingle */ .chroma .s1 { color: #dd1144 } +/* LiteralStringSymbol */ .chroma .ss { color: #990073 } +/* LiteralNumber */ .chroma .m { color: #009999 } +/* LiteralNumberBin */ .chroma .mb { color: #009999 } +/* LiteralNumberFloat */ .chroma .mf { color: #009999 } +/* LiteralNumberHex */ .chroma .mh { color: #009999 } +/* LiteralNumberInteger */ .chroma .mi { color: #009999 } +/* LiteralNumberIntegerLong */ .chroma .il { color: #009999 } +/* LiteralNumberOct */ .chroma .mo { color: #009999 } +/* Operator */ .chroma .o { color: #000000; font-weight: bold } +/* OperatorWord */ .chroma .ow { color: #000000; font-weight: bold } +/* Punctuation */ .chroma .p { } +/* Comment */ .chroma .c { color: #999988; font-style: italic } +/* CommentHashbang */ .chroma .ch { color: #999988; font-style: italic } +/* CommentMultiline */ .chroma .cm { color: #999988; font-style: italic } +/* CommentSingle */ .chroma .c1 { color: #999988; font-style: italic } +/* CommentSpecial */ .chroma .cs { color: #999999; font-weight: bold; font-style: italic } +/* CommentPreproc */ .chroma .cp { color: #999999; font-weight: bold; font-style: italic } +/* CommentPreprocFile */ .chroma .cpf { color: #999999; font-weight: bold; font-style: italic } +/* Generic */ .chroma .g { } +/* GenericDeleted */ .chroma .gd { color: #000000; background-color: #ffdddd } +/* GenericEmph */ .chroma .ge { color: #000000; font-style: italic } +/* GenericError */ .chroma .gr { color: #aa0000 } +/* GenericHeading */ .chroma .gh { color: #999999 } +/* GenericInserted */ .chroma .gi { color: #000000; background-color: #ddffdd } +/* GenericOutput */ .chroma .go { color: #888888 } +/* GenericPrompt */ .chroma .gp { color: #555555 } +/* GenericStrong */ .chroma .gs { font-weight: bold } +/* GenericSubheading */ .chroma .gu { color: #aaaaaa } +/* GenericTraceback */ .chroma .gt { color: #aa0000 } +/* GenericUnderline */ .chroma .gl { text-decoration: underline } +/* TextWhitespace */ .chroma .w { color: #bbbbbb } diff --git a/docs/static/css/theme-gomplate-dark.css b/docs/static/css/theme-gomplate-dark.css new file mode 100644 index 00000000..8864a2a1 --- /dev/null +++ b/docs/static/css/theme-gomplate-dark.css @@ -0,0 +1,59 @@ +@import "chroma-gomplate-dark.css"; + +/* my-custom-variant */ +:root { + --PRIMARY-color: rgb( 145, 132, 121); /* brand primary color */ + --SECONDARY-color: rgb( 120, 133, 145 ); /* brand secondary color */ + --ACCENT-color: #bb8550; /* brand accent color, used for search highlights */ + + --MAIN-LINK-HOVER-color: #93b0ff; /* hoverd link color of content */ + --MAIN-BG-color: #202020; /* background color of content */ + --MAIN-TEXT-color: #e0e0e0; /* text color of content and h1 titles */ + --MAIN-TITLES-TEXT-color: #ffffff; /* text color of h2-h6 titles and transparent box titles */ + + --CODE-BLOCK-color: #f8f8f8; /* fallback text color of block code; should be adjusted to your selected chroma style */ + --CODE-BLOCK-BG-color: rgb(43, 43, 43, 0.25); /* fallback background color of block code; should be adjusted to your selected chroma style */ + --CODE-INLINE-color: rgb( 145, 132, 121 ); /* text color of inline code */ + --CODE-INLINE-BG-color: rgba(45, 45, 45, 0.25); /* background color of inline code */ + --CODE-INLINE-BORDER-color: rgba( 0, 0, 0, 0 ); /* 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 config.toml */ + --SWAGGER-theme: dark; /* name of the default Swagger theme for this variant, can be overridden in config.toml */ + + --MENU-HOME-LINK-color: rgba(0,0,0,0.5); /* home button color if configured */ + --MENU-HOME-LINK-HOVER-color: rgba(0,0,0,0.25); /* hoverd home button color if configured */ + + --MENU-SEARCH-color: rgba(224, 224, 224, 1.0); /* text and icon color of search box */ + --MENU-SEARCH-BG-color: rgba(50, 50, 50, 0.8); /* background color of search box */ + --MENU-SEARCH-BORDER-color: rgba(255,255,255,0.25); /* border color of search box */ + + --MENU-SECTIONS-BG-color: #2b2b2b; /* 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: #323232; /* background color of the active menu section */ + --MENU-SECTIONS-LINK-color: #bababa; /* link color of menu topics */ + --MENU-SECTIONS-LINK-HOVER-color: #ffffff; /* hoverd link color of menu topics */ + --MENU-SECTION-ACTIVE-CATEGORY-color: rgb( 145, 132, 121 ); /* text color of the displayed menu topic */ + --MENU-SECTION-HR-color: #606060; /* separator color of menu footer */ + + --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: #e0e0e0; /* text color of colored box content */ + --BOX-BLUE-color: rgb( 120, 133, 145 ); /* background color of blue boxes */ + --BOX-ORANGE-color: #bb8550; /* background color of orange boxes */ +} + +/* I use inline code in some titles, but I don't want it to be rendered like + it is elsewhere */ +h2 code { + font-size: unset; + font-weight: unset; + color: unset; + background-color: unset; +} + +nav code { + font-size: unset; + font-weight: unset; + color: unset; + background-color: unset; +} diff --git a/docs/static/css/theme-gomplate-light.css b/docs/static/css/theme-gomplate-light.css new file mode 100644 index 00000000..fb15e2b1 --- /dev/null +++ b/docs/static/css/theme-gomplate-light.css @@ -0,0 +1,61 @@ +@import "chroma-gomplate-light.css"; + +:root { + --PRIMARY-color: rgb( 145, 132, 121 ); /* brand primary color */ + --SECONDARY-color: rgb( 120, 133, 145 ); /* brand secondary color */ + --ACCENT-color: #bb8550; /* brand accent color, used for search highlights */ + + --MAIN-LINK-HOVER-color: #202891; /* hoverd link color of content */ + --MAIN-BG-color: #ffffff; /* background color of content */ + --MAIN-TEXT-color: #101010; /* text color of content and h1 titles */ + --MAIN-TITLES-TEXT-color: #4a4a4a; /* text color of h2-h6 titles and transparent box titles */ + + --CODE-BLOCK-color: #000000; /* fallback text color of block code; should be adjusted to your selected chroma style */ + --CODE-BLOCK-BG-color: #f8f8f8; /* fallback background color of block code; should be adjusted to your selected chroma style */ + --CODE-BLOCK-BORDER-color: #d8d8d8; /* border color of block code */ + + --CODE-INLINE-color: #5e5e5e; /* text color of inline code */ + --CODE-INLINE-BG-color: #fffae9; /* background color of inline code */ + --CODE-INLINE-BORDER-color: rgb( 0, 0, 0, 0 ); /* 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 config.toml */ + --SWAGGER-theme: light; /* name of the default Swagger theme for this variant, can be overridden in config.toml */ + + --MENU-HOME-LINK-color: #404040; /* home button color if configured */ + --MENU-HOME-LINK-HOVER-color: #000000; /* hoverd home button color if configured */ + + --MENU-SEARCH-color: #404040; /* text and icon color of search box */ + --MENU-SEARCH-BG-color: rgba(255,255,255, 0.2); /* background color of search box */ + --MENU-SEARCH-BORDER-color: transparent; /* border color of search box */ + + --MENU-SECTIONS-BG-color: #f4f4f4; /* 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( 255, 255, 255, .2 ); /* background color of the active menu section */ + --MENU-SECTIONS-LINK-color: #323232; /* link color of menu topics */ + --MENU-SECTIONS-LINK-HOVER-color: #rgba( 255, 255, 255, .2 ); /* hoverd link color of menu topics */ + --MENU-SECTION-ACTIVE-CATEGORY-color: #323232; /* text color of the displayed menu topic */ + --MENU-SECTION-HR-color: #606060; /* separator color of menu footer */ + + --BOX-CAPTION-color: rgba( 255, 255, 255, 1 ); /* text color of colored box titles */ + --BOX-BG-color: rgba( 255, 255, 255, .833 ); /* background color of colored boxes */ + --BOX-TEXT-color: rgba( 16, 16, 16, 1 ); /* text color of colored box content */ + --BOX-BLUE-color: rgb( 120, 133, 145 ); /* background color of blue boxes */ + --BOX-ORANGE-color: #bb8550; /* background color of orange boxes */ +} + +/* I use inline code in some titles, but I don't want it to be rendered like + it is elsewhere */ + h2 code { + font-size: unset; + font-weight: unset; + color: unset; + background-color: unset; + } + + nav code { + font-size: unset; + font-weight: unset; + color: unset; + background-color: unset; + } +
\ No newline at end of file |
