File tree Expand file tree Collapse file tree 3 files changed +10
-23
lines changed Expand file tree Collapse file tree 3 files changed +10
-23
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ enableGitInfo: false
16
16
enableRobotsTXT : true
17
17
18
18
params :
19
+ geekdocSubtitle : Learn once, run anywhere
19
20
geekdocToC : 3
20
21
geekdocLogo : ' ./logo.png'
21
22
geekdocRepo : ' https://github.com/emacs-eask/cli/'
Original file line number Diff line number Diff line change 21
21
}
22
22
23
23
.gdoc-brand__title {
24
- margin-top : 0.6rem ;
24
+ margin-top : 0.4rem ;
25
+ }
26
+
27
+ .gdoc-brand__subtitle {
28
+ margin-top : 0.2rem ;
29
+ color : # B5B5B5 ;
30
+ font-size : 1.0rem ;
25
31
}
26
32
27
33
/* Icons */
63
69
}
64
70
}
65
71
66
- /* Custom */
67
-
68
- ._subtitle {
69
- color : # B5B5B5 ;
70
- font-size : 1.0rem ;
71
- }
72
-
73
72
/*
74
73
* Typewriter Effect
75
74
*
76
75
* Copied from https://css-tricks.com/snippets/css/typewriter-effect/
77
76
*/
78
77
79
- ._subtitle {
78
+ .gdoc-brand__subtitle {
80
79
overflow : hidden;
81
80
white-space : nowrap;
82
81
animation :
Original file line number Diff line number Diff line change 1
1
window . addEventListener ( 'load' , function ( ) {
2
- var subtitle = document . getElementsByClassName ( "_subtitle" ) ;
3
-
4
- // In case adding more than once!
5
- if ( subtitle . length != 0 )
6
- return ;
7
-
8
- // Place it here to avoid error: `Identifier 'xxx' has already been declared`.
9
- const quote = "Learn once, run anywhere" ;
10
-
11
- const titles = document . getElementsByClassName ( "gdoc-brand__title" ) ;
12
-
13
- const title = titles [ 0 ]
14
-
15
- title . innerHTML += '<div class="_subtitle">' + quote + '</div>' ;
2
+ // Code removed due to https://github.com/thegeeklab/hugo-geekdoc/pull/1003
16
3
} ) ;
You can’t perform that action at this time.
0 commit comments