From 5ff752e4413a86eb8242e8dd923bb9e6249c0ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 13 Feb 2022 12:49:45 +0100 Subject: [PATCH] theme: IE11 compat for theme switch #178 --- layouts/partials/stylesheet.html | 30 +++++++++++++++--------------- static/css/theme.css | 13 +++++++++++++ 2 files changed, 28 insertions(+), 15 deletions(-) diff --git a/layouts/partials/stylesheet.html b/layouts/partials/stylesheet.html index 18bb16d4f9..30ece378f3 100644 --- a/layouts/partials/stylesheet.html +++ b/layouts/partials/stylesheet.html @@ -14,6 +14,21 @@ {{- range .Site.Params.custom_css }} {{- end }} + - \ No newline at end of file diff --git a/static/css/theme.css b/static/css/theme.css index 2bad77ff3f..7590e715de 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -1395,6 +1395,9 @@ h6 a { display: block; float: left; } +#sidebar .select-container span { + display: none; +} .select-style { border: 0; @@ -1416,10 +1419,20 @@ h6 a { outline: none; } +.select-style select::-ms-expand { + display: none; +} + .select-style :hover { cursor: pointer; } +.select-style option { + color: #000000; + padding: 0; + margin: 0; +} + @media only all and (max-width: 47.938em) { #breadcrumbs .links, #top-github-link-text { display: none;