From: XhmikosR Date: Thu, 19 Nov 2020 09:13:08 +0000 (+0200) Subject: homepage: split snippets and show copy buttons (#32196) X-Git-Tag: v4.6.0~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae87f8f7ce46625257bf5ad0640630958bf16057;p=thirdparty%2Fbootstrap.git homepage: split snippets and show copy buttons (#32196) --- diff --git a/site/docs/4.5/assets/scss/_masthead.scss b/site/docs/4.5/assets/scss/_masthead.scss index 62047fbbb3..6a13562e33 100644 --- a/site/docs/4.5/assets/scss/_masthead.scss +++ b/site/docs/4.5/assets/scss/_masthead.scss @@ -44,8 +44,6 @@ } .masthead-followup { - .bd-clipboard { display: none; } - h2 { @include font-size(2.5rem); } @@ -60,10 +58,6 @@ pre code { display: inline-block; white-space: pre; - - &::before { - display: none; - } } } } diff --git a/site/index.html b/site/index.html index 58137dcf15..9e96fac643 100644 --- a/site/index.html +++ b/site/index.html @@ -42,10 +42,10 @@ layout: home
{% highlight sh %} -# Via npm npm install bootstrap +{% endhighlight %} -# Via gem +{% highlight sh %} gem install bootstrap -v {{ site.current_ruby_version }} {% endhighlight %}
@@ -69,8 +69,10 @@ gem install bootstrap -v {{ site.current_ruby_version }} {% highlight html %} +{% endhighlight %} - +{% highlight html %} + {% endhighlight %}