From c863b8994ab51cdf55c3adfdb9cf3eafaafcac41 Mon Sep 17 00:00:00 2001 From: Lars Grefer Date: Tue, 13 Aug 2019 01:04:13 +0200 Subject: [PATCH] Improve language-switch CSS Closes gh-23454 --- src/docs/asciidoc/css/stylesheet.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/docs/asciidoc/css/stylesheet.css b/src/docs/asciidoc/css/stylesheet.css index 9a5680d2b8..5c3383198f 100644 --- a/src/docs/asciidoc/css/stylesheet.css +++ b/src/docs/asciidoc/css/stylesheet.css @@ -1,10 +1,10 @@ @import 'css/spring.css'; .listingblock .switch { - border-width: 1px 1px 0 1px; - border-style: solid; - border-color: #282c34; + border-style: none; display: inline-block; + position: relative; + bottom: -3px; } .listingblock .switch--item { @@ -13,15 +13,15 @@ color: #282c34; display: inline-block; cursor: pointer; + border-top-left-radius: 4px; + border-top-right-radius: 4px; } .listingblock .switch--item:not(:first-child) { - border-width: 0 0 0 1px; - border-style: solid; - border-color: #282c34; + border-style: none; } .listingblock .switch--item.selected { background-color: #282c34; color: #e6e1dc; -} \ No newline at end of file +}