* docs: Relates to #268. Add Polkadot white logo. Match styles to apps * fix: Change logo url for plugin to production link * fix: Remove Polkadot logo * feat: Add Polkadot-js logo * fix: Adjust styles for Polkadot-js logo
This commit is contained in:
@@ -3,14 +3,22 @@
|
||||
"gitbook": ">=2.4.0",
|
||||
"plugins": [
|
||||
"include-codeblock",
|
||||
"insert-logo-link",
|
||||
"mermaid-gb3",
|
||||
"-highlight",
|
||||
"sunlight-highlighter"
|
||||
],
|
||||
"root": "docs",
|
||||
"pluginsConfig": {
|
||||
"insert-logo-link": {
|
||||
"src": "/logo.png",
|
||||
"url": "https://polkadot.js.org"
|
||||
},
|
||||
"sunlight-highlighter": {
|
||||
"theme": "gitbook"
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"website": "styles/website.css"
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
@@ -0,0 +1,39 @@
|
||||
.book-summary {
|
||||
background-color: #4e4e4e;
|
||||
}
|
||||
|
||||
.book .book-summary .book-logo {
|
||||
padding: 25px 17px 22px 0px;
|
||||
}
|
||||
|
||||
.book-summary ul.summary li.chapter.active {
|
||||
background: #fff;
|
||||
border-radius: 1.6rem 0 0 1.6rem;
|
||||
}
|
||||
|
||||
.book-summary ul.summary li.chapter.active ul li.chapter > a {
|
||||
color: rgba(0,0,0,.87);
|
||||
}
|
||||
|
||||
.book-summary ul.summary li.chapter.active > a {
|
||||
color: #fd8824;
|
||||
}
|
||||
|
||||
.book-summary ul.summary li.chapter a,
|
||||
.book-summary ul.summary li.chapter span {
|
||||
font-weight: 600;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.book-summary ul.summary li.chapter > a,
|
||||
.book-summary ul.summary li > a.gitbook-link
|
||||
{
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.book-summary ul.summary li.chapter > a:hover,
|
||||
.book-summary ul.summary li > a.gitbook-link:hover,
|
||||
.book-summary ul.summary li.chapter.active ul li.chapter > a:hover {
|
||||
color: #fd8824;
|
||||
text-decoration: none;
|
||||
}
|
||||
@@ -29,6 +29,7 @@
|
||||
"dependencies": {
|
||||
"babel-plugin-module-resolver": "^3.1.1",
|
||||
"gitbook-plugin-include-codeblock": "^3.2.2",
|
||||
"gitbook-plugin-insert-logo-link": "^1.0.1",
|
||||
"gitbook-plugin-mermaid-gb3": "^2.1.0",
|
||||
"gitbook-plugin-sunlight-highlighter": "^0.4.3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user