mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
theme: remove superflous stuff from stylesheets
This commit is contained in:
parent
fe78574f3b
commit
ff72c495de
3 changed files with 9 additions and 19 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
@ -1235,8 +1232,8 @@ option {
|
|||
background-color: rgba(246, 246, 246, 0.97);
|
||||
border: thin solid #ECECEC;
|
||||
box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.1);
|
||||
display:none;
|
||||
position:absolute;
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: auto;
|
||||
z-index: 200;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue