diff --git a/view/global.css b/view/global.css index cea6c5103..e266ceb53 100644 --- a/view/global.css +++ b/view/global.css @@ -248,7 +248,6 @@ span.oembed, h4 { } code { - display: block; background-color: #eee; color: #666; padding: 1em; diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index b29ff3747..e327a1ec9 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -41,7 +41,7 @@ img { border :0px; } width: 384px; } -code { +pre code { font-family: Courier, monospace; white-space: pre; display: block; diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index cd55dcadc..9b4833611 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -96,9 +96,6 @@ blockquote { max-height: 0px !important; overflow: hidden !important; } -code { - white-space: pre-wrap; -} /** * mobile aside diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css index 87dc37202..bfb078e56 100644 --- a/view/theme/quattro/dark/style.css +++ b/view/theme/quattro/dark/style.css @@ -469,7 +469,7 @@ blockquote { margin-left: 1em; border-left: 1em solid #e6e6e6; } -code { +pre code { font-family: Courier, monospace; white-space: pre; display: block; diff --git a/view/theme/quattro/green/style.css b/view/theme/quattro/green/style.css index 55cb32556..1dce844ac 100644 --- a/view/theme/quattro/green/style.css +++ b/view/theme/quattro/green/style.css @@ -469,7 +469,7 @@ blockquote { margin-left: 1em; border-left: 1em solid #e6e6e6; } -code { +pre code { font-family: Courier, monospace; white-space: pre; display: block; diff --git a/view/theme/quattro/lilac/style.css b/view/theme/quattro/lilac/style.css index 4e6c727b0..870fe6ce2 100644 --- a/view/theme/quattro/lilac/style.css +++ b/view/theme/quattro/lilac/style.css @@ -469,7 +469,7 @@ blockquote { margin-left: 1em; border-left: 1em solid #e6e6e6; } -code { +pre code { font-family: Courier, monospace; white-space: pre; display: block; diff --git a/view/theme/smoothly/style.css b/view/theme/smoothly/style.css index 399f12e55..090723787 100644 --- a/view/theme/smoothly/style.css +++ b/view/theme/smoothly/style.css @@ -1860,7 +1860,7 @@ blockquote.shared_content { #item-delete-selected-icon {} -code { +pre code { font-family: Courier, monospace; display: block; overflow: auto; @@ -2024,7 +2024,7 @@ code { float: right; } -.wall-item-body code { +.wall-item-body pre code { font-family: Courier, monospace; display: block; overflow: auto; diff --git a/view/theme/vier/breathe.css b/view/theme/vier/breathe.css index ec6d91a56..3403a24b2 100644 --- a/view/theme/vier/breathe.css +++ b/view/theme/vier/breathe.css @@ -14,7 +14,7 @@ header #banner #logo-text { border-bottom: none !important; } -code { +pre code { border: none; border-radius: 5px; } diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 572be5e18..6c4f2b20f 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -323,7 +323,7 @@ a:hover { /* color: #005c94; */ text-decoration: underline; } -code { +pre code { font-family: Courier, monospace; white-space: pre; display: block;