Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(discard) Fix documentation favicon, avatar image and background pattern. #66

Merged
merged 1 commit into from
Apr 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _coverpage.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<!-- _coverpage.md -->

![](mutato-transparent.png)

# Mutato <small>2.0</small>

a tool for managing your microservices platform
Expand Down
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* COVER */
section.cover {
color: #fff;
background:url(/img/bg-pattern.png),linear-gradient(to left,#f4842b,#7b4397) !important;
background: url(../img/bg-pattern.png), linear-gradient(to left, #f4842b, #7b4397) !important;
}

section.cover h1 {
Expand All @@ -25,5 +25,5 @@ section.cover .cover-main > p:last-child a:last-child {
}
section.cover .cover-main > p:last-child a:last-child:hover {
color: var(--theme-color,#fff);
opacity: .8;
opacity: 0.8;
}
Binary file added favicon.ico
Binary file not shown.
13 changes: 8 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
<link rel="stylesheet" href="css/style.css" type="text/css">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
<div id="app"></div>
Expand All @@ -21,12 +22,14 @@
loadSidebar: true,
subMaxLevel: 2,
'flexible-alerts': {
style: 'flat'
}
style: 'flat',
},
};
// on GH pages, we need to define a base path to load css and images
if (location.hostname !== "localhost" && location.hostname !== "127.0.0.1")
window.$docsify.basePath = 'https://stelligent.github.io/mutato/';
let repoBasePath = location.pathname.match(/\/mutato\//)
? '/mutato/'
: '/';
window.$docsify.basePath = repoBasePath;
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<!-- Add a simple Click to copy button to all preformatted code blocks -->
Expand All @@ -36,4 +39,4 @@
<!-- Color coded warning/alert blocks -->
<script src="https://unpkg.com/docsify-plugin-flexible-alerts"></script>
</body>
</html>
</html>
Binary file added mutato-transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.