Remove code block style changes. Autoformatting with prettier
This commit is contained in:
parent
409c4c6120
commit
0860d43526
@ -10,63 +10,63 @@ Put your custom CSS in this file.
|
|||||||
|
|
||||||
/* search box placeholder text */
|
/* search box placeholder text */
|
||||||
#sidebar #header .searchbox input::placeholder {
|
#sidebar #header .searchbox input::placeholder {
|
||||||
color: rgba(200, 200, 200, 0.8);
|
color: rgba(200, 200, 200, 0.8);
|
||||||
opacity: 1; /* something firefox fix */
|
opacity: 1; /* something firefox fix */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* very thin bar between last topic and clear history */
|
/* very thin bar between last topic and clear history */
|
||||||
#sidebar hr {
|
#sidebar hr {
|
||||||
border-bottom: 1px solid #47314f
|
border-bottom: 1px solid #47314f;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* code blocks */
|
/* code blocks */
|
||||||
|
/*
|
||||||
pre[class*="language-"] {
|
pre[class*="language-"] {
|
||||||
background: #222222 !important;
|
background: #222222 !important;
|
||||||
border: 1px solid #555555 !important;
|
border: 1px solid #555555 !important;
|
||||||
}
|
}
|
||||||
code[class*="language-"] {
|
code[class*="language-"] {
|
||||||
background: #222222 !important;
|
background: #222222 !important;
|
||||||
}
|
}
|
||||||
pre code {
|
pre code {
|
||||||
/*color: #b51c42;*/
|
//color: #b51c42;
|
||||||
color: #c897d8 !important;
|
color: #c897d8 !important;
|
||||||
/* this padding fixes indent on first line for codeblocks */
|
// this padding fixes indent on first line for codeblocks
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
pre .copy-to-clipboard {
|
pre .copy-to-clipboard {
|
||||||
background-color: #111111 !important;
|
background-color: #111111 !important;
|
||||||
/*
|
// to revert the fix for "copy" button
|
||||||
to revert the fix for "copy" button
|
// margin-top: 0;
|
||||||
margin-top: 0;
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
pre .copy-to-clipboard:hover {
|
pre .copy-to-clipboard:hover {
|
||||||
background-color: #333333 !important;
|
background-color: #333333 !important;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
/* inline code */
|
/* inline code */
|
||||||
code {
|
code {
|
||||||
/*color: #b51c42;*/
|
/*color: #b51c42;*/
|
||||||
color: #c897d8;
|
color: #c897d8;
|
||||||
background: #222222;
|
background: #222222;
|
||||||
}
|
}
|
||||||
.copy-to-clipboard {
|
.copy-to-clipboard {
|
||||||
background-color: #111111;
|
background-color: #111111;
|
||||||
background-image: url(../images/clippy-white.svg);
|
background-image: url(../images/clippy-white.svg);
|
||||||
/*
|
/*
|
||||||
makes "copy" button fit slightly better imo
|
makes "copy" button fit slightly better imo
|
||||||
FIXME this breaks chromium
|
FIXME this breaks chromium
|
||||||
margin-top: .2rem;
|
margin-top: .2rem;
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
.copy-to-clipboard:hover {
|
.copy-to-clipboard:hover {
|
||||||
background-color: #333333;
|
background-color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sidebar currently selected main topic */
|
/* Sidebar currently selected main topic */
|
||||||
#sidebar ul li.active > a {
|
#sidebar ul li.active > a {
|
||||||
background: #111111;
|
background: #111111;
|
||||||
color: #dddddd !important;
|
color: #dddddd !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* HACK hide checkmark icons */
|
/* HACK hide checkmark icons */
|
||||||
@ -75,13 +75,27 @@ code {
|
|||||||
}*/
|
}*/
|
||||||
|
|
||||||
/* outline around search bar when clicked */
|
/* outline around search bar when clicked */
|
||||||
textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple="multiple"]:focus {
|
textarea:focus,
|
||||||
/*box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 5px rgba(164, 124, 178, 0.7);*/
|
input[type="email"]:focus,
|
||||||
box-shadow: none;
|
input[type="number"]:focus,
|
||||||
|
input[type="password"]:focus,
|
||||||
|
input[type="search"]:focus,
|
||||||
|
input[type="tel"]:focus,
|
||||||
|
input[type="text"]:focus,
|
||||||
|
input[type="url"]:focus,
|
||||||
|
input[type="color"]:focus,
|
||||||
|
input[type="date"]:focus,
|
||||||
|
input[type="datetime"]:focus,
|
||||||
|
input[type="datetime-local"]:focus,
|
||||||
|
input[type="month"]:focus,
|
||||||
|
input[type="time"]:focus,
|
||||||
|
input[type="week"]:focus,
|
||||||
|
select[multiple="multiple"]:focus {
|
||||||
|
/*box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 5px rgba(164, 124, 178, 0.7);*/
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Blockquote */
|
/* Blockquote */
|
||||||
blockquote {
|
blockquote {
|
||||||
border-left: 10px solid #9C5EA2;
|
border-left: 10px solid #9c5ea2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user