deliberately de-theme pre tags

This commit is contained in:
Matthew Hodgson 2017-07-18 17:45:17 +01:00
parent b45108d80d
commit bd693768cc

View File

@ -316,7 +316,7 @@ limitations under the License.
font-family: inherit ! important; font-family: inherit ! important;
white-space: normal ! important; white-space: normal ! important;
line-height: inherit ! important; line-height: inherit ! important;
color: inherit; color: inherit; // inherit the colour from the dark or light theme by default (but not for code blocks)
font-size: 14px; font-size: 14px;
} }
@ -330,6 +330,7 @@ limitations under the License.
} }
.mx_EventTile_content .markdown-body code { .mx_EventTile_content .markdown-body code {
// deliberate constants as we're behind an invert filter
background-color: #f8f8f8; background-color: #f8f8f8;
color: #333; color: #333;
} }
@ -353,7 +354,7 @@ limitations under the License.
.mx_EventTile:hover .mx_EventTile_body pre .mx_EventTile:hover .mx_EventTile_body pre
{ {
border: 1px solid $primary-hairline-color; border: 1px solid #e5e5e5; // deliberate constant as we're behind an invert filter
} }
.mx_EventTile_body pre:hover .mx_EventTile_copyButton .mx_EventTile_body pre:hover .mx_EventTile_copyButton