docs: Relates to #268. Add Polkadot white logo. Match styles to apps (#277)

* 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:
Luke Schoen
2018-10-13 16:38:29 +02:00
committed by Jaco Greeff
parent 57b481f7d4
commit 68f5ac27ed
4 changed files with 48 additions and 0 deletions
+8
View File
@@ -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"
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

+39
View File
@@ -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;
}
+1
View File
@@ -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"
}