diff --git a/docs/assets/stylesheets/extra.css b/docs/assets/stylesheets/extra.css index 8a8d72c28..361f284ce 100644 --- a/docs/assets/stylesheets/extra.css +++ b/docs/assets/stylesheets/extra.css @@ -1,5 +1,8 @@ :root { --muo-gold: #d5bf74; + --muo-gold-compl: #748ad5; + --muo-gold-analog: #bf74d5; + --muo-green: #77d574; --muo-gold-a-link: #947a40; /* default */ @@ -16,14 +19,31 @@ } :root > * { - --md-code-bg-color: #6d6d6d; - --md-code-fg-color: #ffffff; + --md-code-bg-color: #212121; + --md-code-fg-color: rgba(255, 255, 255, 0.7); --md-typeset-a-color: var(--muo-gold-a-link); --md-footer-fg-color: #ffffff; --md-footer-bg-color: #212121; --md-footer-bg-color--dark: #212121; + + --md-code-hl-color: var(--muo-gold); + + + --md-code-hl-number-color: var(--muo-gold-analog); + --md-code-hl-special-color: var(--md-default-bg-color--lighter); + --md-code-hl-function-color: var(--muo-gold-compl); + --md-code-hl-constant-color: rgba(255, 255, 255, 0.7); + --md-code-hl-keyword-color: var(--muo-gold); + --md-code-hl-string-color: var(--muo-green); + --md-code-hl-name-color: rgba(255, 255, 255, 0.7); + + --md-code-hl-operator-color: var(--muo-gold-a-link); + --md-code-hl-punctuation-color: var(--muo-gold-a-link); + --md-code-hl-comment-color: var(--md-default-bg-color--lighter); + --md-code-hl-generic-color: var(--muo-gold-compl); + --md-code-hl-variable-color: var(--muo-gold-compl); } .md-tabs__link--active, @@ -69,3 +89,12 @@ html .md-footer-meta.md-typeset a:hover { .centos { color: #212078; } + +.codehilitetable .linenodiv pre, .highlighttable .linenodiv pre { + color: var(--md-default-bg-color); +} + +.codehilitetable .linenodiv, .highlighttable .linenodiv { + box-shadow: -0.05rem 0 var(--md-default-bg-color) inset; + opacity: 0.7; +} diff --git a/docs/building-server.md b/docs/building-server.md index b30dc93ea..32acd4f5d 100644 --- a/docs/building-server.md +++ b/docs/building-server.md @@ -3,11 +3,13 @@ ## Compiling === "Windows" + Using _command prompt_, _git bash_, or _powershell_, run: ```bash ./publish.cmd ``` === "OSX/Linux" + Using _terminal_, run: ```bash ./publish.sh ``` diff --git a/docs/installation.md b/docs/installation.md index 9ca7928e5..c56335ff6 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -4,42 +4,51 @@ title: Installation # Installation -## Prerequisites - === "Windows" - 1. Download and install git from [here](https://git-scm.com/download/win) - 2. Download and install the latest [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1) + ### Prerequisites + 1. Download and install the latest [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1) + 1. Download and install from [here](https://git-scm.com/download/win) + + !!! Tip + Use Git Bash as your command prompt. This can be found in the Windows Start Menu after installation. + + ### Clone the Repository (Install ModernUO) + 1. Navigate to the folder where you want to install ModernUO. + 1. Using _Git Bash_ run: + ```bash + git clone https://github.com/modernuo/modernuo + cd modernuo + ``` === "OSX" - 1. Install homebrew from [here](https://brew.sh) - 2. Run: + ### Prerequisites + 1. Download and install the latest [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1) + 1. Using _terminal_, install [homebrew](https://brew.sh) and git: ```bash + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" brew install git ``` - 3. Download and install the latest [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1) + ### Clone the Repository (Install ModernUO) + 1. Using _terminal_, navigate to the folder where you want to install ModernUO and run: + ```bash + git clone https://github.com/modernuo/modernuo + cd modernuo + ``` === "Linux" - 1. Run: + ### Prerequisites + 1. Download and install the latest [.NET Core SDK](instructions [here](https://docs.microsoft.com/en-us/dotnet/core/install/linux)) + 1. Using _bash_, install git: ```bash sudo apt update && sudo apt install git ``` - 2. Download and install the latest [.NET Core SDK](instructions [here](https://docs.microsoft.com/en-us/dotnet/core/install/linux)) -## Clone the Repository + !!! Note + The command to install git might be different for your flavor of linux. Consult your local Google search for answers. -=== "Windows" - Navigate to the folder where you want to install ModernUO. - -=== "OSX" - Using _terminal_, navigate to the folder where you want to install ModernUO. - -=== "Linux" - Using _bash_, navigate to the folder where you want to install ModernUO. - -Run: -```bash -git clone https://github.com/modernuo/modernuo -``` - -!!! Tip - Operating System: :fontawesome-brands-windows:{: .windows }
    Use _git bash_ as your command prompt + ### Clone the Repository (Install ModernUO) + 1. Using _bash_, navigate to the folder where you want to install ModernUO and run: + ```bash + git clone https://github.com/modernuo/modernuo + cd modernuo + ``` diff --git a/mkdocs.yml b/mkdocs.yml index b24d8ccf6..92425373b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -49,7 +49,11 @@ markdown_extensions: - pymdownx.superfences - pymdownx.snippets - pymdownx.tabbed + - pymdownx.caret + - pymdownx.mark - pymdownx.tilde + - pymdownx.critic: + mode: view - pymdownx.betterem: smart_enable: all - pymdownx.emoji: