update code links and tip blockquote styles (#7746)

This commit is contained in:
Eric 2022-09-13 23:06:01 -05:00 committed by GitHub
parent 9fd6ca49ee
commit 3c44093ca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 46 additions and 7 deletions

View File

@ -120,7 +120,11 @@
[purpose='checklist-item']::marker {
display: none;
}
code:not(.nohighlight):not(.mermaid) {
a > code:not(.hljs):not(.nohighlight):not(.mermaid) {
color: inherit;
text-decoration: inherit;
}
code:not(.bash):not(.nohighlight):not(.mermaid) {
background: #F1F0FF;
padding: 4px 8px;
font-family: @code-font;
@ -188,7 +192,7 @@
border: 1px solid @core-vibrant-blue-50;
padding: 16px;
border-radius: 8px;
display: inline-flex;
display: flex;
img {
display: flex;
margin: 4px 12px 0 0;
@ -198,10 +202,19 @@
}
p {
display: block;
margin-bottom: 0px;
margin-bottom: 16px;
line-height: 24px;
font-size: 16px;
}
p:only-child, p:last-child {
margin-bottom: 0px;
}
ul:last-child {
margin-bottom: 0px;
}
li:last-child {
padding-bottom: 0px;
}
}
[purpose='embedded-content'] {
position: relative;

View File

@ -513,7 +513,7 @@
border: 1px solid @core-vibrant-blue-50;
padding: 16px;
border-radius: 8px;
display: inline-flex;
display: flex;
img {
display: flex;
margin: 4px 12px 0 0;
@ -523,10 +523,19 @@
}
p {
display: block;
margin-bottom: 0px;
margin-bottom: 16px;
line-height: 24px;
font-size: 16px;
}
p:last-child {
margin-bottom: 0px;
}
ul:last-child {
margin-bottom: 0px;
}
li:last-child {
padding-bottom: 0px;
}
}
ul {

View File

@ -1,5 +1,9 @@
// lesshint-disable spaceAroundComma, trailingWhitespace
a > code:not(.hljs):not(.nohighlight):not(.mermaid) {
color: inherit;
text-decoration: inherit;
}
code:not(.hljs):not(.nohighlight):not(.mermaid) {
background-color: @ui-off-white;
border: 1px solid @border-lt-gray;

View File

@ -203,6 +203,10 @@
padding: 24px 16px;
margin: auto;
}
a > code:not(.hljs):not(.nohighlight):not(.mermaid) {
color: inherit;
text-decoration: inherit;
}
code:not(.nohighlight):not(.mermaid) {
background-color: @ui-off-white;
border: 1px solid @border-lt-gray;
@ -286,7 +290,7 @@
border: 1px solid @core-vibrant-blue-50;
padding: 16px;
border-radius: 8px;
display: inline-flex;
display: flex;
img {
display: flex;
margin: 4px 12px 0 0;
@ -296,10 +300,19 @@
}
p {
display: block;
margin-bottom: 0px;
margin-bottom: 16px;
line-height: 24px;
font-size: 16px;
}
p:last-child {
margin-bottom: 0px;
}
ul:last-child {
margin-bottom: 0px;
}
li:last-child {
padding-bottom: 0px;
}
}
[purpose='checklist-item'] {
display: flex;