Skip to content

Commit eaa8f18

Browse files
committed
docs: Update style
1 parent 057c409 commit eaa8f18

File tree

2 files changed

+33
-5
lines changed

2 files changed

+33
-5
lines changed

docs/config/_default/config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
baseURL: https://cl-qob.github.io/
3-
title: Qob
3+
title: cl-qob
44
theme: geekdoc
55

66
pygmentsUseClasses: true
@@ -16,6 +16,7 @@ enableGitInfo: false
1616
enableRobotsTXT: true
1717

1818
params:
19+
geekdocSubtitle: Learn once, run anywhere
1920
geekdocToC: 3
2021
geekdocLogo: './logo.png'
2122
geekdocRepo: 'https://github.com/cl-qob/cli/'

docs/static/custom.css

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
box-shadow: 0 0 1rem #202020;
88
}
99

10-
.gdoc-brand__title {
11-
display: none;
12-
}
13-
1410
.gdoc-brand {
1511
font-size: 2rem;
1612
font-family: serif;
@@ -24,6 +20,18 @@
2420
height: 4.0rem;
2521
}
2622

23+
.gdoc-brand__title {
24+
margin-top: 0.8rem;
25+
margin-bottom: 0.8rem;
26+
font-size: 1.8rem;
27+
}
28+
29+
.gdoc-brand__subtitle {
30+
margin-top: 0.2rem;
31+
color: #B5B5B5;
32+
font-size: 1.0rem;
33+
}
34+
2735
/* Icons */
2836

2937
.gdoc_dicord {
@@ -60,3 +68,22 @@
6068
--footer-background: #222C37;
6169
}
6270
}
71+
72+
/*
73+
* Typewriter Effect
74+
*
75+
* Copied from https://css-tricks.com/snippets/css/typewriter-effect/
76+
*/
77+
78+
.gdoc-brand__subtitle {
79+
overflow: hidden;
80+
white-space: nowrap;
81+
animation:
82+
typing 1.0s steps(40, end),
83+
blink-caret .75s step-end infinite;
84+
}
85+
86+
@keyframes typing {
87+
from { width: 0 }
88+
to { width: 100% }
89+
}

0 commit comments

Comments
 (0)