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">
{{- end }}
<style>
:root #header + #content > #left > #rlblock_left{
display:none !important;
}
{{- if .Site.Params.disableInlineCopyToClipBoard }}
:not(pre) > code.copy-to-clipboard-inline + span.copy-to-clipboard {
display: none;

View file

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

View file

@ -41,6 +41,10 @@
body {
background-color: #ffffff; /* var(--MAIN-BG-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 {
@ -231,7 +235,7 @@ th {
#sidebar ul li.active > a {
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-right: -1rem;
padding-left: 1rem;
@ -335,7 +339,7 @@ th {
#body img.border,
#body .video-container.border {
border: 2px solid #e6e6e6 !important;
border: 2px solid #e6e6e6;
padding: 2px;
}
@ -459,13 +463,6 @@ th {
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 {
color: #5e5e5e; /* var(--MAIN-TITLES-TEXT-color) */
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;