【メモ】Chocolatey NuGetのcode CSS

※主題とは関係ありません

手順

  1. https://chocolatey.org/Content/site.css よりBadgeの部分を抜き取る。
  2. styleタグで囲み、記事本文か永続的な位置へ埋め込む。

/* NuGet Badge */
.nuget-badge code {
background-color: #202020;
border: 4px solid #c0c0c0;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: 2px 2px 3px #6e6e6e;
color: #e2e2e2;
display:block;
font: 1.5em 'andale mono', 'lucida console', monospace;
line-height: 1.5em;
overflow: auto;
padding: 15px;
}

.nuget-badge code span {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

適用後

How to install Chocolatey.
C:> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%chocolateybin
PS:>iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))