fix(typeit): typeit code highlight (#284)
This commit is contained in:
@@ -54,11 +54,13 @@ code, pre, .highlight table, .highlight tr, .highlight td {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight > .chroma {
|
.highlight {
|
||||||
position: relative;
|
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
margin: .5rem 0;
|
margin: .5rem 0;
|
||||||
|
|
||||||
|
> .chroma {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
.code-header {
|
.code-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@@ -185,6 +187,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
|
|||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Comment */ .c,
|
/* Comment */ .c,
|
||||||
/* CommentHashbang */ .ch,
|
/* CommentHashbang */ .ch,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- $params := .Params | merge .Site.Params.page -}}
|
{{- $params := .Params | merge .Site.Params.page -}}
|
||||||
{{- .Scratch.Set "version" "0.2.0" -}}
|
{{- .Scratch.Set "version" "0.2.2" -}}
|
||||||
|
|
||||||
{{- if eq hugo.Environment "production" -}}
|
{{- if eq hugo.Environment "production" -}}
|
||||||
{{- .Scratch.Set "cdn" .Site.Params.cdn -}}
|
{{- .Scratch.Set "cdn" .Site.Params.cdn -}}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user