Skip to content

Commit 4430122

Browse files
author
Lévai Norbert
committed
Update design
1 parent 4a1c9b2 commit 4430122

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

docs/.vuepress/config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@ export default defineUserConfig({
1010
description: 'Comprehensive documentation for Bitcredit',
1111
base: '/docs-bitcr/',
1212

13+
head: [['link', { rel: 'icon', href: 'favicon.ico' }]],
14+
1315
theme: defaultTheme({
14-
logo: '',
16+
logo: 'logo.png',
17+
//logoDark: 'logo.png',
1518
contributors: false,
19+
lastUpdated: false,
20+
colorMode: 'light',
21+
colorModeSwitch: false,
1622

1723
navbar: [
1824
{ text: 'E-Bill', link: '/e-bill/' },

docs/.vuepress/styles/index.scss

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
2+
13
:root {
4+
scroll-behavior: smooth;
25
--vp-c-accent-bg: #f7931a;
36
--vp-c-accent: #f7931a;
47
--vp-c-accent-hover: #ef8007;
58
--vp-c-accent-text: #000;
9+
--font-family: "Mulish", sans-serif;
610
--search-c-bg: var(--vp-c-bg);
711
--search-c-accent: var(--vp-c-accent);
812
--search-c-text: var(--vp-c-text);
@@ -13,9 +17,27 @@
1317
--search-result-width: 20rem;
1418
}
1519

20+
body {
21+
font-size: 1.1rem;
22+
}
23+
24+
a {
25+
font-weight: inherit;
26+
}
27+
28+
.vp-navbar-items a {
29+
font-size: 1rem;
30+
font-weight:800;
31+
}
32+
.vp-hero-action-button {
33+
padding: 0.3rem 1.6rem;
34+
}
1635
.vp-hero-action-button.primary {
1736
font-weight: bold;
1837
}
38+
.vp-site-name {
39+
display:none;
40+
}
1941

2042
.search-box input {
2143
border: 1px solid var(--vp-c-border) !important;
@@ -24,4 +46,11 @@
2446
padding: 0 .9rem 0 2rem !important;
2547
font-size: 1rem !important;
2648
width: 150px !important;
49+
}
50+
51+
h1, h2, h3, h4, h5, h6 {
52+
font-weight: 800;
53+
}
54+
h1 {
55+
color: var(--vp-c-accent) !important;
2756
}

docs/favicon.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)