mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-25 01:59:47 +02:00
Add Booklet front end
This commit is contained in:
164
doc/assets/style.css
Normal file
164
doc/assets/style.css
Normal file
@ -0,0 +1,164 @@
|
||||
html,body{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: "Ubuntu";
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
#top{
|
||||
background-color: #2c2c2c;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
text-align: center;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
#bottom{
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
height: 20px;
|
||||
text-align: center;
|
||||
color:#878887;
|
||||
background-color: white;
|
||||
font-size: 12px;
|
||||
width: 100%;
|
||||
padding:5px;
|
||||
border-top: 1px solid #878887;
|
||||
}
|
||||
|
||||
#cover{
|
||||
height: calc(100% - 80px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
#navbar{
|
||||
margin:0 auto;
|
||||
max-width: 85%;
|
||||
display: flex;
|
||||
justify-content:flex-end;
|
||||
flex-direction: row;
|
||||
}
|
||||
#book{
|
||||
margin:0 auto;
|
||||
max-width: 85%;
|
||||
max-height: 100%;
|
||||
display: block;
|
||||
justify-content:flex-end;
|
||||
flex-direction: row;
|
||||
text-align: justify;
|
||||
height: 100%;
|
||||
}
|
||||
div.doc-name {
|
||||
width: 300px;
|
||||
text-align: left;
|
||||
padding-top:3px;
|
||||
}
|
||||
div.doc-name a {
|
||||
text-decoration: none;
|
||||
color: #c9c9c9;
|
||||
}
|
||||
|
||||
div.doc-name a:before{
|
||||
/* padding-top:13px; */
|
||||
content: "\f015";
|
||||
color:#c9c9c9;
|
||||
width:20px;
|
||||
height: 25px;
|
||||
font-family: "FontAwesome";
|
||||
font-size: 18px;
|
||||
}
|
||||
input.search-box{
|
||||
outline: none;
|
||||
border: 0;
|
||||
flex:1;
|
||||
padding:0;
|
||||
margin:0;
|
||||
/* padding-top:13px; */
|
||||
height: 25px;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #878887;
|
||||
font-size: 15px;
|
||||
font-family: "Ubuntu";
|
||||
line-height: 0.5;
|
||||
color: #878887;
|
||||
}
|
||||
div.search-icon:before{
|
||||
/* padding-top:13px; */
|
||||
content: "\f002";
|
||||
color:#878887;
|
||||
display: block;
|
||||
width:20px;
|
||||
height: 25px;
|
||||
font-family: "FontAwesome";
|
||||
font-size: 18px;
|
||||
border-bottom: 1px solid #878887;
|
||||
}
|
||||
div.search-icon {
|
||||
width: 35px;
|
||||
}
|
||||
div.doc-toc {
|
||||
width: 300px;
|
||||
/* font-size: 11px; */
|
||||
background-color: #e3e3e3;
|
||||
color: #2c2c2c;
|
||||
overflow: auto;
|
||||
position: fixed;
|
||||
top: 30px;
|
||||
bottom: 30px;
|
||||
border-right: 1px solid #c9c9c9;
|
||||
padding-top: 10px;
|
||||
}
|
||||
div.doc-toc a {
|
||||
text-decoration: none;
|
||||
color: #2c2c2c;
|
||||
}
|
||||
#toc {
|
||||
margin: 0;
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
padding-left: 10px;
|
||||
}
|
||||
div.doc-toc ul.nested {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
div.doc-toc .caret {
|
||||
cursor: pointer;
|
||||
user-select: none; /* Prevent text selection */
|
||||
}
|
||||
div.doc-toc .caret::before {
|
||||
content: "\f147";
|
||||
color: #2c2c2c;
|
||||
display: inline-block;
|
||||
font-family: "FontAwesome";
|
||||
margin-right: 5px;
|
||||
}
|
||||
div.doc-toc .nested {
|
||||
display: none;
|
||||
}
|
||||
div.doc-toc .caret-down::before {
|
||||
content: "\f196";
|
||||
color: #2c2c2c;
|
||||
display: inline-block;
|
||||
font-family: "FontAwesome";
|
||||
margin-right: 5px;
|
||||
}
|
||||
div.doc-toc .active {
|
||||
display: block;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
div.doc-content {
|
||||
display: block;
|
||||
width: calc(100% - 320px);
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* for block of code */
|
||||
/* #container .blogentry .hljs-ln td.hljs-ln-code {
|
||||
padding-left: 10px;
|
||||
} */
|
||||
img {max-width:100%}
|
Reference in New Issue
Block a user