1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-25 01:59:47 +02:00

first antdoc version

This commit is contained in:
lxsang
2020-06-24 19:00:41 +02:00
parent 44f50f3a52
commit c36ca7b8fb
9 changed files with 388 additions and 36 deletions

View File

@ -2,7 +2,7 @@ html,body{
margin: 0;
padding: 0;
font-family: "Ubuntu";
font-size: 15px;
font-size: 13px;
line-height: 1.5;
width: 100%;
height: 100%;
@ -31,7 +31,8 @@ html,body{
}
#cover{
height: calc(100% - 80px);
height: calc(100% - 50px);
overflow-x: hidden;
overflow-y: auto;
}
#navbar{
@ -125,6 +126,10 @@ div.doc-toc ul.nested {
list-style-type: none;
}
div.doc-toc li.selected > a {
font-weight: bold;
}
div.doc-toc .caret {
cursor: pointer;
user-select: none; /* Prevent text selection */
@ -151,14 +156,110 @@ div.doc-toc .active {
padding-left: 20px;
}
div.doc-content {
display: block;
width: calc(100% - 320px);
float: right;
div.doc-toc a.highlight {
color: #333f67;
}
div.doc-content {
display: block;
width: calc(100% - 300px);
float: right;
padding-left: 10px;
}
div.pagenav {
display: flex;
justify-content:flex-end;
flex-direction: row;
width: 100%;
}
div.pagenav a.go_next, div.pagenav a.go_prev {
display: block;
flex: 1;
text-decoration: none;
color: #333f67;
/* font-weight: bold; */
border: 1px solid #dadddd;
background-color: #eef1f1;
padding-top: 3px;
padding-bottom: 3px;
margin-bottom: 10px;
}
div.pagenav a.go_next:hover, div.pagenav a.go_prev:hover
{
background-color: #e6e8e8;
}
div.pagenav a.go_next
{
padding-right: 5px;
text-align: center;
}
div.pagenav a.go_prev {
border-right: 0;
padding-left: 5px;
text-align: center;
}
div.pagenav a.go_prev::before {
content: "\f137";
color: #333f67;
display: inline-block;
font-family: "FontAwesome";
}
div.pagenav a.go_next::after {
content: "\f138";
color: #333f67;
display: inline-block;
font-family: "FontAwesome";
}
div.md-content {
padding-left: 15px;
}
div.md-content p.result-header a {
color: #333f67;
font-weight: bold;
}
div.md-content p.result-header {
padding: 0;
margin: 0;
margin-top: 10px;
font-size: 15;
}
div.md-content p.result-content {
padding: 3px;
margin: 0;
margin-left: 20px;
border-bottom: 1px solid #dadddd;
margin-bottom: 5px;
}
div.md-content p.result-content span.pattern {
background-color: chocolate;
color: white;
padding-left: 3px;
padding-right: 3px;
border-radius: 2px;
}
div.md-content p.result-header a::before{
content: "\f002";
color: #333f67;
display: inline-block;
font-family: "FontAwesome";
}
/* for block of code */
/* #container .blogentry .hljs-ln td.hljs-ln-code {
padding-left: 10px;
} */
img {max-width:100%}
img {max-width:100%}
a {
color: #333f67;
text-decoration: none;
}
a:hover{
text-decoration: underline;
}
form.search-form {
display: contents;
}