fix code with white background #119

This commit is contained in:
Dmitry Kolosov 2021-12-02 10:12:38 +03:00
parent 51c16f2f69
commit 4b3884d165
4 changed files with 14 additions and 12 deletions

View File

@ -158,6 +158,11 @@ kbd {
line-height: 154%; line-height: 154%;
} }
pre code, pre kbd {
color: inherit;
background-color: inherit;
}
/* Styles */ /* Styles */
blockquote { blockquote {

View File

@ -73,8 +73,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Code block with backticks #### Code block with backticks
``` ```html
html
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
@ -88,10 +87,10 @@ html
``` ```
#### Code block indented with four spaces #### Code block indented with four spaces
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="utf-8">
<title>Example HTML5 Document</title> <title>Example HTML5 Document</title>
</head> </head>
<body> <body>

View File

@ -73,8 +73,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Code block with backticks #### Code block with backticks
``` ```html
html
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
@ -88,10 +87,10 @@ html
``` ```
#### Code block indented with four spaces #### Code block indented with four spaces
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="utf-8">
<title>Example HTML5 Document</title> <title>Example HTML5 Document</title>
</head> </head>
<body> <body>

View File

@ -73,8 +73,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Code block with backticks #### Code block with backticks
``` ```html
html
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
@ -88,10 +87,10 @@ html
``` ```
#### Code block indented with four spaces #### Code block indented with four spaces
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="utf-8">
<title>Example HTML5 Document</title> <title>Example HTML5 Document</title>
</head> </head>
<body> <body>