diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..7934916 --- /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 7006573..111c542 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 6fd5d0f..e7fde17 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 {