diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 00000000..79349169 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,8 @@ +# Documentation + +Preview the documentation locally by running the following +from your favourite shell: + +``` +> dotnet run -- preview --virtual-dir "spectre.console" +``` \ No newline at end of file diff --git a/docs/input/_layout.cshtml b/docs/input/_layout.cshtml index 70065731..111c542c 100644 --- a/docs/input/_layout.cshtml +++ b/docs/input/_layout.cshtml @@ -26,7 +26,28 @@
- + + + @if (IsSectionDefined(Constants.Sections.Splash)) { @RenderSection(Constants.Sections.Splash, false) diff --git a/docs/input/assets/css/styles.scss b/docs/input/assets/css/styles.scss index 6fd5d0fc..e7fde178 100644 --- a/docs/input/assets/css/styles.scss +++ b/docs/input/assets/css/styles.scss @@ -20,6 +20,17 @@ $thebackground: $gray-200; height: 15px; } +#topnav { + padding: 0px; + margin: 0px; +} + +#topnav .container { + padding-top: 0px !important; + padding-bottom: 0px !important; + margin-bottom: 0px; +} + @media screen { @include media-breakpoint-up(md) { body {