Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include logos in docs #14

Merged
merged 5 commits into from
Dec 24, 2018

Conversation

Chris-Johnston
Copy link

@Chris-Johnston Chris-Johnston commented Dec 24, 2018

This PR incorporates the new logos into the docs.

image
image
image

  • Adds the purple logo to the navbar. Because the logo that docfx supplies is 38pt x 38pt, I added a CSS rule that restricts the image to that size, with some padding.
  • Adds the logo to the index page. Supports changing colors based on the theme using the css background property. The src attribute of the img tag is actually left empty. (No JS required, either)
  • Adds a favicon.ico

image
Image of incorrect alt tag. I've edited the <title> attribute of the SVG to read "Discord.Net Docs" as a workaround. Also, I think by coincidence, the built-in :hover style for the logo just happens to work great.

@Still34 Still34 self-assigned this Dec 24, 2018
@Still34 Still34 merged commit ff26464 into Still34:docs/12-21-18Update Dec 24, 2018
@Chris-Johnston Chris-Johnston deleted the docs/use-logos branch December 24, 2018 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants