Revert "Disable code block css. (set in plugin instead)"
This reverts commit e4503a5e3e
.
This commit is contained in:
parent
e4503a5e3e
commit
e95b01b031
@ -950,8 +950,6 @@ body {
|
||||
border-radius: 4px; }
|
||||
.searchbox label {
|
||||
color: rgba(200, 200, 200, 0.8); }
|
||||
.searchbox input {
|
||||
color: #fff; }
|
||||
|
||||
#sidebar {
|
||||
background-color: #47314f; }
|
||||
|
File diff suppressed because one or more lines are too long
@ -35,9 +35,9 @@ Put your custom CSS in this file.
|
||||
}*/
|
||||
|
||||
/* search box entered text */
|
||||
/*#sidebar #header .searchbox input {
|
||||
#sidebar #header .searchbox input {
|
||||
color: #fff;
|
||||
}*/
|
||||
}
|
||||
|
||||
/* search box placeholder text */
|
||||
#sidebar #header .searchbox input::placeholder {
|
||||
@ -57,7 +57,7 @@ Put your custom CSS in this file.
|
||||
}*/
|
||||
|
||||
/* code blocks */
|
||||
/*pre[class*="language-"] {
|
||||
pre[class*="language-"] {
|
||||
background: #222222 !important;
|
||||
border: 1px solid #555555 !important;
|
||||
}
|
||||
@ -65,29 +65,40 @@ code[class*="language-"] {
|
||||
background: #222222 !important;
|
||||
}
|
||||
pre code {
|
||||
/*color: #b51c42;*/
|
||||
color: #c897d8 !important;
|
||||
// this padding fixes indent on first line for codeblocks
|
||||
/* this padding fixes indent on first line for codeblocks */
|
||||
padding: 0 !important;
|
||||
}
|
||||
pre .copy-to-clipboard {
|
||||
background-color: #111111 !important;
|
||||
/*
|
||||
to revert the fix for "copy" button
|
||||
margin-top: 0;
|
||||
*/
|
||||
}
|
||||
pre .copy-to-clipboard:hover {
|
||||
background-color: #333333 !important;
|
||||
}
|
||||
|
||||
/* inline code */
|
||||
code {
|
||||
/*color: #b51c42;*/
|
||||
color: #c897d8;
|
||||
background: #222222;
|
||||
}
|
||||
.copy-to-clipboard {
|
||||
background-color: #111111;
|
||||
background-image: url(../images/clippy-white.svg);
|
||||
/*
|
||||
makes "copy" button fit slightly better imo
|
||||
FIXME this breaks chromium
|
||||
margin-top: .2rem;
|
||||
*/
|
||||
}
|
||||
.copy-to-clipboard:hover {
|
||||
background-color: #333333;
|
||||
}
|
||||
*/
|
||||
|
||||
/* Sidebar topics */
|
||||
/*#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
|
||||
|
@ -1,7 +1,6 @@
|
||||
// Core
|
||||
$core-text: #dddddd;
|
||||
$core-accent: #9c5ea2;
|
||||
$white: #fff;
|
||||
|
||||
// Background
|
||||
$page-bg: #111111;
|
||||
|
@ -10,8 +10,4 @@
|
||||
label {
|
||||
color: rgba(200, 200, 200, 0.8)
|
||||
}
|
||||
|
||||
input {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user