Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

Update docs design

Julian Garniera47b5cb39d80
diff --git a/documentation/assets/css/documentation.css b/documentation/assets/css/documentation.css
index 9d5cd1dd..8211ea57 100644
--- a/documentation/assets/css/documentation.css
+++ b/documentation/assets/css/documentation.css
@@ -7,7 +7,7 @@ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abb
html,
body,
header {
- background-color: #16161c; /* Black */
+ background-color: #131415; /* Black */
}
body {
@@ -63,13 +63,13 @@ body {
align-items: center;
width: 240px;
height: 60px;
- padding: 10px 0 10px 55px;
color: white;
text-decoration: none;
- background-image: url(../img/icons/icon-doc.png);
- background-size: 32px;
- background-position: 12px 13px;
- background-repeat: no-repeat;
+}
+
+.logo svg {
+ width: 100%;
+ height: 100%;
}
header {
@@ -83,7 +83,7 @@ header {
height: 60px;
padding-left: 20px;
padding-right: 20px;
- border-bottom: 1px solid rgba(0,0,0,.25);
+ border-bottom: 1px solid rgba(0,0,0,.35);
}
.logo, h2 {
@@ -115,7 +115,7 @@ header {
flex-direction: column;
width: 240px;
padding-top: 60px;
- border-right: 1px solid rgba(0,0,0,.25);
+ border-right: 1px solid rgba(0,0,0,.35);
}
.sidebar-info {
@@ -215,7 +215,7 @@ header {
width: 50%;
font-size: 15px;
line-height: 25px;
- /*border-left: 1px solid rgba(0,0,0,.25);*/
+ /*border-left: 1px solid rgba(0,0,0,.35);*/
}
.info-output {
@@ -400,7 +400,7 @@ article {
width: 100%;
min-height: 200px;
padding-top: 35px;
- border-bottom: 1px solid rgba(0,0,0,.25);
+ border-bottom: 1px solid rgba(0,0,0,.35);
cursor: pointer;
}
diff --git a/documentation/index.html b/documentation/index.html
index e7974e1c..1bc73d95 100644
--- a/documentation/index.html
+++ b/documentation/index.html
@@ -24,7 +24,20 @@
<body>
<div class="content">
<header class="header">
- <a class="logo" href="https://github.com/juliangarnier/anime/"><h1>anime.js</h1></a>
+ <a class="logo" href="https://github.com/juliangarnier/anime/">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 60">
+ <g id="anime-docs-logo" fill="none" fill-rule="evenodd" stroke-linecap="square">
+ <g id="stroke-logo" stroke="#FFFFFF" transform="translate(23 23)">
+ <path id="a" d="M0 0h16a2.663 2.663 0 0 1 2.667 2.66v10.68A2.663 2.663 0 0 1 16 16H2.667A2.663 2.663 0 0 1 0 13.34V7.97a2.663 2.663 0 0 1 2.667-2.66h10.666"/>
+ <path id="n" d="M24 16V2.667A2.663 2.663 0 0 1 26.66 0h13.346c1.47 0 2.66 1.194 2.66 2.667V16"/>
+ <path id="i" d="M48.083 16V5.333"/>
+ <path id="." d="M48.083 0v.5"/>
+ <path id="m" d="M53.333 16V2.667A2.665 2.665 0 0 1 55.997 0H86.67a2.665 2.665 0 0 1 2.663 2.667V16"/>
+ <path id="e" d="M113.333 16h-16a2.663 2.663 0 0 1-2.666-2.66V2.66A2.663 2.663 0 0 1 97.333 0h13.334a2.663 2.663 0 0 1 2.666 2.66v5.318a2.663 2.663 0 0 1-2.666 2.659H100"/>
+ </g>
+ </g>
+ </svg>
+ </a>
</header>
<section class="pane sidebar">
<nav class="navigation"></nav>