ie11 code-block bug fix
This commit is contained in:
parent
0dac2d6177
commit
9ee37b85dc
|
@ -9,13 +9,14 @@ html {
|
|||
}
|
||||
|
||||
body {
|
||||
// font: normal 125% / 1.4 $text-font-stack;
|
||||
font: normal 125% / 1.4 $text-font-stack;
|
||||
font-size: 16px;
|
||||
font-family: $text-font-stack;
|
||||
}
|
||||
|
||||
code,
|
||||
pre {
|
||||
font: normal 125% / 1.8 $code-font-stack;
|
||||
font-size: 13.8px;
|
||||
font-family: $code-font-stack;
|
||||
}
|
||||
|
||||
.h1 {
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
}
|
||||
|
||||
li {
|
||||
font-size: 14.4px;
|
||||
margin: 0 0 0.525rem 2rem !important;
|
||||
|
||||
&:first-child {
|
||||
|
@ -25,7 +24,6 @@
|
|||
}
|
||||
|
||||
li {
|
||||
font-size: 14.4px;
|
||||
margin: 0 0 0.25rem 1.25rem !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,6 +40,11 @@
|
|||
right: 1px;
|
||||
top: -1px;
|
||||
}
|
||||
transition: none !important;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(0) !important;
|
||||
}
|
||||
}
|
||||
|
||||
#search.input {
|
||||
|
@ -66,6 +71,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
pre.chroma {
|
||||
&:first-child {
|
||||
border: 6px solid transparent;
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
.lnt {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
.header {
|
||||
padding: 1rem;
|
||||
|
||||
@include flexbox();
|
||||
@include justify-content(center);
|
||||
@include align-items(center);
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
font-size: 16.4px;
|
||||
margin: 1rem 0;
|
||||
line-height: 1.7;
|
||||
width: inheirt;
|
||||
|
@ -131,7 +130,7 @@
|
|||
overflow: auto;
|
||||
border-radius: 0.34rem;
|
||||
line-height: 1.5;
|
||||
font-size: 13.8px;
|
||||
|
||||
@include themify($themes) {
|
||||
@include webkit-scrollbars(themed('custom-scrollbar-foreground-color'), themed('custom-scrollbar-background-color'));
|
||||
@include moz-scrollbars(themed('custom-scrollbar-foreground-color'), themed('custom-scrollbar-background-color'));
|
||||
|
@ -162,7 +161,6 @@
|
|||
height: 30px;
|
||||
z-index: z('content');
|
||||
line-height: 30px;
|
||||
font-size: 13.8px;
|
||||
font-family: $title-font;
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
|
@ -357,7 +355,6 @@
|
|||
|
||||
th, td {
|
||||
padding: 5px 15px;
|
||||
font-size: 13.8px;
|
||||
border: 1px double themed('content-pre-border-background-color');
|
||||
}
|
||||
}
|
||||
|
@ -389,7 +386,6 @@
|
|||
code, pre {
|
||||
padding: .5rem 0;
|
||||
line-height: 1.5;
|
||||
font-size: 13.8px;
|
||||
font-family: $code-font-stack;
|
||||
overflow: auto;
|
||||
|
||||
|
@ -480,7 +476,6 @@ pre:not(.chroma) {
|
|||
width: 100%;
|
||||
height: 30px;
|
||||
line-height: 1.9;
|
||||
font-size: 13.8px;
|
||||
font-family: $title-font;
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue