From 9bb398067ccd46881d595221435a579f164dce58 Mon Sep 17 00:00:00 2001
From: Fauzan
Date: Thu, 25 Nov 2021 02:52:16 +0700
Subject: [PATCH] docs: add logo (#13700)
* docs: add logo
* fix(docs): logo not show up (#13699)
* fix(build): markdownlint
* docs(readme): use internal link
* docs(index.md): use internal link
* docs(index): update logo rendering in docs
* Center logo and headline
Co-authored-by: Sascha Depold
Co-authored-by: Sascha Depold
---
README.md | 5 ++++-
docs/css/style.css | 24 ++++++++++++++++--------
docs/index.md | 8 +++-----
3 files changed, 23 insertions(+), 14 deletions(-)
diff --git a/README.md b/README.md
index f8325b1f34de..63d75ba4bf29 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,7 @@
-# Sequelize
+
+
+
Sequelize
+
[![npm version](https://badgen.net/npm/v/sequelize)](https://www.npmjs.com/package/sequelize)
[![Build Status](https://github.com/sequelize/sequelize/workflows/CI/badge.svg)](https://github.com/sequelize/sequelize/actions?query=workflow%3ACI)
diff --git a/docs/css/style.css b/docs/css/style.css
index c99916d7bb00..5e3c8b469438 100644
--- a/docs/css/style.css
+++ b/docs/css/style.css
@@ -1,15 +1,23 @@
@import url(https://fonts.googleapis.com/css?family=Titillium+Web);
+div.logo {
+ display: flex;
+ align-content: center;
+}
+
div.logo img {
- width: 200px;
- height: 200px;
+ width: 100px;
+ height: 100px;
box-shadow: none !important;
+ margin-right: 16px;
}
+div.logo h1,
div.sequelize {
color: #399af3;
font-size: 60px;
- font-family: 'Titillium Web', sans-serif;
+ font-family: "Titillium Web", sans-serif;
+ border-width: 0;
}
.center {
@@ -55,8 +63,8 @@ div.sequelize {
padding-bottom: 0;
}
-.search-box>span {
- display:block;
+.search-box > span {
+ display: block;
width: 100%;
}
@@ -129,11 +137,11 @@ code {
display: inline-block;
}
- .layout-container .navigation>div {
+ .layout-container .navigation > div {
display: none;
}
- .layout-container .navigation.open>div {
+ .layout-container .navigation.open > div {
display: block;
}
@@ -175,4 +183,4 @@ header a {
a[href="source.html"],
a[href^="file/lib/"] {
display: none;
-}
\ No newline at end of file
+}
diff --git a/docs/index.md b/docs/index.md
index c49d1a0fc882..b138089ccab8 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,8 +1,6 @@
-
-
- ![logo](manual/asset/logo-small.png)
-
-
Sequelize
+
+
+
Sequelize
[![npm version](https://badgen.net/npm/v/sequelize)](https://www.npmjs.com/package/sequelize)