Support show last change user with profile and support YAML config inside the note with robots, lang, dir, breaks options
This commit is contained in:
@@ -56,6 +56,7 @@ h6:hover .header-link {
|
||||
.header-link {
|
||||
position: relative;
|
||||
left: 0.5em;
|
||||
right: 0.5em;
|
||||
opacity: 0;
|
||||
font-size: 0.8em;
|
||||
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
|
||||
@@ -114,6 +115,12 @@ h6:hover .header-link {
|
||||
width: 25vw;
|
||||
max-height: 65vh;
|
||||
overflow: auto;
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown[dir='rtl'] .nav {
|
||||
padding-right: 0;
|
||||
letter-spacing: 0.0029em;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown a {
|
||||
@@ -138,6 +145,12 @@ h6:hover .header-link {
|
||||
border-left: 1px solid black;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown[dir='rtl'] .nav>li>a:focus,.ui-toc-dropdown[dir='rtl'] .nav>li>a:hover {
|
||||
padding-right: 19px;
|
||||
border-left: none;
|
||||
border-right: 1px solid black;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown .nav>.active:focus>a,.ui-toc-dropdown .nav>.active:hover>a,.ui-toc-dropdown .nav>.active>a {
|
||||
padding-left: 18px;
|
||||
font-weight: 700;
|
||||
@@ -146,6 +159,12 @@ h6:hover .header-link {
|
||||
border-left: 2px solid black;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown[dir='rtl'] .nav>.active:focus>a,.ui-toc-dropdown[dir='rtl'] .nav>.active:hover>a,.ui-toc-dropdown[dir='rtl'] .nav>.active>a {
|
||||
padding-right: 18px;
|
||||
border-left: none;
|
||||
border-right: 2px solid black;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown .nav .nav {
|
||||
display: none;
|
||||
padding-bottom: 10px;
|
||||
@@ -163,6 +182,10 @@ h6:hover .header-link {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown[dir='rtl'] .nav .nav>li>a {
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown .nav .nav>li>ul>li>a {
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
@@ -171,24 +194,44 @@ h6:hover .header-link {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown[dir='rtl'] .nav .nav>li>ul>li>a {
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown .nav .nav>li>a:focus,.ui-toc-dropdown .nav .nav>li>a:hover {
|
||||
padding-left: 29px;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown[dir='rtl'] .nav .nav>li>a:focus,.ui-toc-dropdown[dir='rtl'] .nav .nav>li>a:hover {
|
||||
padding-right: 29px;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown .nav .nav>li>ul>li>a:focus,.ui-toc-dropdown .nav .nav>li>ul>li>a:hover {
|
||||
padding-left: 39px;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown[dir='rtl'] .nav .nav>li>ul>li>a:focus,.ui-toc-dropdown[dir='rtl'] .nav .nav>li>ul>li>a:hover {
|
||||
padding-right: 39px;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown .nav .nav>.active:focus>a,.ui-toc-dropdown .nav .nav>.active:hover>a,.ui-toc-dropdown .nav .nav>.active>a {
|
||||
padding-left: 28px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown[dir='rtl'] .nav .nav>.active:focus>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active:hover>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>a {
|
||||
padding-right: 28px;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown .nav .nav>.active>.nav>.active:focus>a,.ui-toc-dropdown .nav .nav>.active>.nav>.active:hover>a,.ui-toc-dropdown .nav .nav>.active>.nav>.active>a {
|
||||
padding-left: 38px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>.nav>.active:focus>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>.nav>.active:hover>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>.nav>.active>a {
|
||||
padding-right: 38px;
|
||||
}
|
||||
|
||||
.ui-affix-toc {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@@ -216,6 +259,26 @@ h6:hover .header-link {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.ui-user-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: block;
|
||||
border-radius: 3px;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
margin-right: 5px;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
.ui-user-icon.small {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin: 0 0 0.2em 0;
|
||||
}
|
||||
|
||||
small span {
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
2
public/css/html.min.css
vendored
2
public/css/html.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -156,18 +156,7 @@ body {
|
||||
.ui-user-name {
|
||||
margin-top: 2px;
|
||||
}
|
||||
.ui-user-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: block;
|
||||
border-radius: 3px;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
margin-right: 5px;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.ui-user-status {
|
||||
margin-top: 5px;
|
||||
}
|
||||
@@ -213,7 +202,6 @@ body {
|
||||
width: 0px;
|
||||
position: absolute;
|
||||
border-right: none;
|
||||
transition: left 0.1s, top 0.1s;
|
||||
}
|
||||
.dropdown-menu.other-cursor {
|
||||
transition: none;
|
||||
@@ -243,6 +231,10 @@ div[contenteditable]:empty:not(:focus):before{
|
||||
max-height: 80vh;
|
||||
overflow: auto;
|
||||
}
|
||||
.dropdown-menu.list.small {
|
||||
max-height: 40vh;
|
||||
overflow: auto;
|
||||
}
|
||||
.dropdown-menu.list::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
@@ -279,6 +271,25 @@ div[contenteditable]:empty:not(:focus):before{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.info-label {
|
||||
width: 36%;
|
||||
text-align: right;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-right: 6px;
|
||||
}
|
||||
.popover {
|
||||
width: 100%;
|
||||
font-family: inherit !important;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
.text-ellipsis {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.cm-trailing-space-a:before,
|
||||
.cm-trailing-space-b:before,
|
||||
.cm-trailing-space-new-line:before {
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
text-align: right;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
cursor: default;
|
||||
z-index: 4;
|
||||
padding: 0 8px 0 0;
|
||||
@@ -89,6 +88,18 @@
|
||||
.markdown-body .flow-chart {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
/*fixed style for rtl in pre and code*/
|
||||
|
||||
.markdown-body[dir='rtl'] pre {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.markdown-body[dir='rtl'] code {
|
||||
direction: ltr;
|
||||
unicode-bidi: embed;
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 100%;
|
||||
max-height: 70vh;
|
||||
|
||||
Reference in New Issue
Block a user