mirror of
https://github.com/flysnow-org/maupassant-hugo.git
synced 2026-08-24 07:18:55 +00:00
toc support,close #37
This commit is contained in:
@@ -1048,4 +1048,29 @@ table tr th, table tr td {
|
||||
border: 1px solid #CCC;
|
||||
padding: 0.5em 1em;
|
||||
text-align: left;
|
||||
}
|
||||
/* toc*/
|
||||
.toc-article {
|
||||
border: 1px solid #bbb;
|
||||
border-radius: 7px;
|
||||
margin: 1.1em 0 0 2em;
|
||||
padding: 0.7em 0.7em 0 0.7em;
|
||||
max-width: 40%;
|
||||
line-height: 1em;
|
||||
float: right;
|
||||
}
|
||||
.toc-title {
|
||||
font-size: 120%;
|
||||
}
|
||||
#TableOfContents {
|
||||
|
||||
}
|
||||
#TableOfContents ul {
|
||||
padding: 0;
|
||||
margin: 0.5em;
|
||||
line-height: 1.8em;
|
||||
}
|
||||
|
||||
#TableOfContents li {
|
||||
list-style-type: none;
|
||||
}
|
||||
Reference in New Issue
Block a user