fix: styles and mobile ux

This commit is contained in:
Yifei Zhang
2023-03-15 03:54:14 +00:00
parent 5f7856cc31
commit 653a740f0f
5 changed files with 62 additions and 53 deletions

View File

@@ -319,7 +319,7 @@
cursor: pointer;
}
.markdown-body details:not([open]) > *:not(summary) {
.markdown-body details:not([open])>*:not(summary) {
display: none !important;
}
@@ -415,7 +415,6 @@
.markdown-body p {
margin-top: 0;
margin-bottom: 10px;
overflow: auto;
}
.markdown-body blockquote {
@@ -490,11 +489,11 @@
content: "";
}
.markdown-body > *:first-child {
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body > *:last-child {
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
@@ -530,11 +529,11 @@
margin-bottom: 16px;
}
.markdown-body blockquote > :first-child {
.markdown-body blockquote> :first-child {
margin-top: 0;
}
.markdown-body blockquote > :last-child {
.markdown-body blockquote> :last-child {
margin-bottom: 0;
}
@@ -633,7 +632,7 @@
list-style-type: decimal;
}
.markdown-body div > ol:not([type]) {
.markdown-body div>ol:not([type]) {
list-style-type: decimal;
}
@@ -645,11 +644,11 @@
margin-bottom: 0;
}
.markdown-body li > p {
.markdown-body li>p {
margin-top: 16px;
}
.markdown-body li + li {
.markdown-body li+li {
margin-top: 0.25em;
}
@@ -712,7 +711,7 @@
overflow: hidden;
}
.markdown-body span.frame > span {
.markdown-body span.frame>span {
display: block;
float: left;
width: auto;
@@ -740,7 +739,7 @@
clear: both;
}
.markdown-body span.align-center > span {
.markdown-body span.align-center>span {
display: block;
margin: 13px auto 0;
overflow: hidden;
@@ -758,7 +757,7 @@
clear: both;
}
.markdown-body span.align-right > span {
.markdown-body span.align-right>span {
display: block;
margin: 13px 0 0;
overflow: hidden;
@@ -788,7 +787,7 @@
overflow: hidden;
}
.markdown-body span.float-right > span {
.markdown-body span.float-right>span {
display: block;
margin: 13px auto 0;
overflow: hidden;
@@ -822,7 +821,7 @@
font-size: 100%;
}
.markdown-body pre > code {
.markdown-body pre>code {
padding: 0;
margin: 0;
word-break: normal;
@@ -1086,7 +1085,7 @@
cursor: pointer;
}
.markdown-body .task-list-item + .task-list-item {
.markdown-body .task-list-item+.task-list-item {
margin-top: 4px;
}
@@ -1108,9 +1107,7 @@
}
.markdown-body .contains-task-list:hover .task-list-item-convert-container,
.markdown-body
.contains-task-list:focus-within
.task-list-item-convert-container {
.markdown-body .contains-task-list:focus-within .task-list-item-convert-container {
display: block;
width: auto;
height: 24px;
@@ -1120,4 +1117,4 @@
.markdown-body ::-webkit-calendar-picker-indicator {
filter: invert(50%);
}
}