theme: remove superflous stuff from stylesheets

This commit is contained in:
Sören Weber 2022-02-13 17:01:53 +01:00
parent fe78574f3b
commit ff72c495de
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
3 changed files with 9 additions and 19 deletions

View file

@ -15,9 +15,6 @@
<link href="{{(printf "%s" .) | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet"> <link href="{{(printf "%s" .) | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
{{- end }} {{- end }}
<style> <style>
:root #header + #content > #left > #rlblock_left{
display:none !important;
}
{{- if .Site.Params.disableInlineCopyToClipBoard }} {{- if .Site.Params.disableInlineCopyToClipBoard }}
:not(pre) > code.copy-to-clipboard-inline + span.copy-to-clipboard { :not(pre) > code.copy-to-clipboard-inline + span.copy-to-clipboard {
display: none; display: none;

View file

@ -43,7 +43,7 @@ pre {
#body h1, #body h2, #body h3, #body h4, #body h5, #body h6 { #body h1, #body h2, #body h3, #body h4, #body h5, #body h6 {
/* better contrast for colored elements */ /* better contrast for colored elements */
color: black !important; color: black;
} }
#body th, #body td, #body th, #body td,
#body code, #body strong, #body b, #body code, #body strong, #body b,
@ -55,10 +55,6 @@ pre {
color: black; color: black;
} }
.progress {
/* we don't need this while printing */
display: none !important;
}
hr{ hr{
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
} }

View file

@ -41,6 +41,10 @@
body { body {
background-color: #ffffff; /* var(--MAIN-BG-color) */ background-color: #ffffff; /* var(--MAIN-BG-color) */
color: #777777; /* var(--MAIN-TEXT-color) */ color: #777777; /* var(--MAIN-TEXT-color) */
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-size: 16.25px;
font-weight: 300;
line-height: 1.574;
} }
body #chapter h1 { body #chapter h1 {
@ -231,7 +235,7 @@ th {
#sidebar ul li.active > a { #sidebar ul li.active > a {
background-color: #ffffff; /* var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color) */ background-color: #ffffff; /* var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color) */
color: #777777 !important; /* var(--MENU-SECTION-ACTIVE-CATEGORY-color) */ color: #777777; /* var(--MENU-SECTION-ACTIVE-CATEGORY-color) */
margin-left: -1rem; margin-left: -1rem;
margin-right: -1rem; margin-right: -1rem;
padding-left: 1rem; padding-left: 1rem;
@ -335,7 +339,7 @@ th {
#body img.border, #body img.border,
#body .video-container.border { #body .video-container.border {
border: 2px solid #e6e6e6 !important; border: 2px solid #e6e6e6;
padding: 2px; padding: 2px;
} }
@ -459,13 +463,6 @@ th {
text-align: justify; text-align: justify;
} }
body {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-size: 16.25px !important;
font-weight: 300;
line-height: 1.574;
}
h2, h3, h4, h5, h6 { h2, h3, h4, h5, h6 {
color: #5e5e5e; /* var(--MAIN-TITLES-TEXT-color) */ color: #5e5e5e; /* var(--MAIN-TITLES-TEXT-color) */
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
@ -1235,8 +1232,8 @@ option {
background-color: rgba(246, 246, 246, 0.97); background-color: rgba(246, 246, 246, 0.97);
border: thin solid #ECECEC; border: thin solid #ECECEC;
box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.1); box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.1);
display:none; display: none;
position:absolute; position: absolute;
width: auto; width: auto;
z-index: 200; z-index: 200;
} }