mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +03:00
fonts improvements
This commit is contained in:
parent
1686d3da43
commit
cac8594f1c
|
@ -37,6 +37,7 @@ $sub-schema-offset: ($bullet-size/2) + $bullet-margin;
|
|||
.param-name-content {
|
||||
padding-right: $cell-spacing;
|
||||
display: inline-block;
|
||||
font-family: $headers-font, $headers-font-family;
|
||||
}
|
||||
|
||||
.param-info {
|
||||
|
@ -109,7 +110,7 @@ $sub-schema-offset: ($bullet-size/2) + $bullet-margin;
|
|||
border-top: $line-border;
|
||||
width: $bullet-margin;
|
||||
left: 0;
|
||||
top: ($param-name-height/2) + $cell-padding;
|
||||
top: ($param-name-height/2) + $cell-padding + 1px;
|
||||
}
|
||||
|
||||
.param:first-of-type > .param-name:before {
|
||||
|
|
|
@ -3,6 +3,29 @@
|
|||
:host {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
-moz-tap-highlight-color: rgba(0,0,0,0);
|
||||
-ms-tap-highlight-color: rgba(0,0,0,0);
|
||||
-o-tap-highlight-color: rgba(0,0,0,0);
|
||||
tap-highlight-color: rgba(0,0,0,0);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-smoothing: antialiased;
|
||||
-webkit-osx-font-smoothing: grayscale;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
osx-font-smoothing: grayscale;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-moz-text-size-adjust: 100%;
|
||||
text-size-adjust: 100%;
|
||||
-webkit-text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
|
||||
-ms-text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
|
||||
text-rendering: optimizeSpeed!important;
|
||||
font-smooth: always;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%;
|
||||
text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.redoc-wrap {
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
font-weight: normal;
|
||||
}
|
||||
|
||||
:host .zippy-title {
|
||||
font-family: $headers-font, $headers-font-family;
|
||||
}
|
||||
|
||||
.header-name {
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
|
|
Loading…
Reference in New Issue
Block a user