Browse Source

Add the logo SVG to the page navbar

pull/1218/head
Chris Johnston Still Hsu 6 years ago
parent
commit
4b35eaa2dc
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
2 changed files with 15 additions and 4 deletions
  1. +10
    -1
      docs/_template/light-dark-theme/styles/master.css
  2. +5
    -3
      docs/docfx.json

+ 10
- 1
docs/_template/light-dark-theme/styles/master.css View File

@@ -9,6 +9,15 @@ body {
scroll-behavior: smooth;
}

#logo
{
max-width: 100px;
max-height: 100px;
width: 38pt;
height: 38pt;
padding: 8pt;
}

p,
li,
.toc {
@@ -153,4 +162,4 @@ span.arrow-d{

span.arrow-r{
top: 6px; position: relative;
}
}

+ 5
- 3
docs/docfx.json View File

@@ -27,14 +27,15 @@
},
{
"src": "../",
"files": ["CHANGELOG.md"]
"files": [ "CHANGELOG.md" ]
}
],
"resource": [{
"files": [
"**/images/**",
"**/samples/**",
"langwordMapping.yml"
"langwordMapping.yml",
"marketing/logo/SVG/**.svg"
]
}],
"dest": "_site",
@@ -49,7 +50,8 @@
"globalMetadata": {
"_appTitle": "Discord.Net Documentation",
"_appFooter": "Discord.Net (c) 2015-2018 2.0.0-beta",
"_enableSearch": true
"_enableSearch": true,
"_appLogoPath": "marketing/logo/SVG/Logomark White.svg"
},
"xrefService": [
"https://xref.docs.microsoft.com/query?uid={uid}"


Loading…
Cancel
Save