diff --git a/docs/_template/discordfx/partials/li.tmpl.partial b/docs/_template/discordfx/partials/li.tmpl.partial index 2c8a3d0e7..4d9221009 100644 --- a/docs/_template/discordfx/partials/li.tmpl.partial +++ b/docs/_template/discordfx/partials/li.tmpl.partial @@ -11,7 +11,7 @@ {{name}} {{/topicHref}} {{^topicHref}} - {{{name}}} + {{{name}}} {{/topicHref}} {{^leaf}} diff --git a/docs/_template/discordfx/partials/logo.tmpl.partial b/docs/_template/discordfx/partials/logo.tmpl.partial index 738ab5b6f..a0fa00fa3 100644 --- a/docs/_template/discordfx/partials/logo.tmpl.partial +++ b/docs/_template/discordfx/partials/logo.tmpl.partial @@ -2,5 +2,5 @@ {{_appName}} - {{_appName}} + {{_appTitle}} \ No newline at end of file diff --git a/docs/_template/discordfx/styles/colors.css b/docs/_template/discordfx/styles/colors.css index 63590c7eb..4f15a4ce1 100644 --- a/docs/_template/discordfx/styles/colors.css +++ b/docs/_template/discordfx/styles/colors.css @@ -14,8 +14,8 @@ --link-color: #00b0f4; --link-hover-color: #4bd5ff; --link-active-color: #fff; - --link-active-bg-color: #7289da; - --h3-color: #ffffff85; + --link-active-bg-color: rgb(88, 101, 242); + --h3-color: #ffffffeb; --h4-color: #ffffffeb; --h5-color: #ffffffd1; @@ -47,8 +47,8 @@ --alert-danger-border-color: rgba(240,71,71,.5); --alert-danger-bg-color: rgba(240,71,71,.1); - --alert-tip-border-color: rgba(255,255,255,.5); - --alert-tip-bg-color: rgba(255,255,255,.1); + --alert-tip-border-color: rgba(88,101,242,.5); + --alert-tip-bg-color: rgba(88,101,242,.1); --blockquote-border-color: rgba(255,255,255,.5); --blockquote-bg-color: rgba(255,255,255,.1); diff --git a/docs/_template/discordfx/styles/discord.css b/docs/_template/discordfx/styles/discord.css index a5a97b4f2..e40f39ade 100644 --- a/docs/_template/discordfx/styles/discord.css +++ b/docs/_template/discordfx/styles/discord.css @@ -1,5 +1,39 @@ +/* Commit message styles: TODO */ + + /* Discord Style */ +.content { + padding-bottom: 1rem; +} + +input[type=text]:focus-visible{ + outline: #f6f6f78f solid 0.5px; +} + +input[type=text]::placeholder { + color: #f6f6f7; +} + +input[type=text] { + width: 100%; + background-color: #2f3136; + border: 1px solid #040405; + border-radius: 3px; + color: #f6f6f7; + font-size: 1rem; + padding: 0.25rem 0.5rem; +} + +li.hide { + display: none; +} + +div[role=main] { + max-width: 1440px; + width: 100%; +} + ::-webkit-scrollbar { width: 10px; } @@ -142,8 +176,13 @@ a.anchorjs-link:hover { text-decoration: none; } +.inner-sidebar-item { + margin-left: 0 !important; + padding-left: 16px !important; +} + a.active, a:active -{ +{ color: var(--link-active-color); } @@ -206,6 +245,7 @@ h1:first-child a.sidebar-item:hover, a.sidebar-item:focus { + cursor: pointer; color: var(--link-active-color); text-decoration: none; } @@ -246,6 +286,9 @@ span.sidebar-item .main-panel { + position: relative; + display: flex; + justify-content: center; background-color: var(--main-bg-color); flex: 1; overflow-y: auto; @@ -293,7 +336,8 @@ span.sidebar-item .brand-title { padding: 0 .5em; - font-size: .9em; + font-size: .1.1rem; + font-weight: 500; color: var(--link-active-color); } diff --git a/docs/docfx.json b/docs/docfx.json index d51ca54e0..48d973e3b 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -48,9 +48,15 @@ "dest": "_site", "template": [ "default", + "_template/last-modified", + "_template/description-generator", "_template/discordfx" ], - + "postProcessors": [ + "ExtractSearchIndex", + "LastModifiedPostProcessor", + "DescriptionPostProcessor" + ], "overwrite": "_overwrites/**/**.md", "globalMetadata": { "_appTitle": "Discord.Net Documentation",