fix bug: support custom css from user

This commit is contained in:
Mathieu PATUREL
2017-01-22 18:41:36 +11:00
parent d707cf7a47
commit 1bef00de14
5 changed files with 42 additions and 14 deletions

View File

@ -1,6 +1,8 @@
html {
--light-bg: color(var(--background) blend(#999 85%));
--very-light-bg: color(var(--background) blend(#999 92%));
}
body {
padding:10px;
padding-top: 0px;
@ -38,12 +40,12 @@ pre code {
padding-left: 0;
}
pre code .space {
color: var(--light-bg)
}
kbd {
padding: 0 .29412em;
border-radius: .2rem;
background-color: #f5f5f5;
color: #555;
box-shadow: 0 0.1rem 0 #b0b0b0;
word-break: break-word;
padding: 0 5px;
background-color: var(--very-light-bg);
font-family: "Roboto Mono","Courier New",Courier,monospace;
}