File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ : root {
2
+ --md-home-background : linear-gradient (135deg , # 667eea 0% , # 764ba2 100% );
3
+ }
4
+
5
+ /* Hide default content on home page */
6
+ body [data-md-page = "index" ] .md-main__inner {
7
+ max-width : 100% ;
8
+ margin : 0 ;
9
+ }
10
+
11
+ body [data-md-page = "index" ] .md-content {
12
+ display : flex;
13
+ align-items : center;
14
+ justify-content : center;
15
+ min-height : calc (100vh - 64px );
16
+ background : var (--md-home-background );
17
+ color : white;
18
+ }
19
+
20
+ body [data-md-page = "index" ] .md-content__inner {
21
+ max-width : 800px ;
22
+ text-align : center;
23
+ padding : 2rem ;
24
+ }
25
+
26
+ /* Custom home page styling */
27
+ body [data-md-page = "index" ] h1 {
28
+ color : white;
29
+ font-size : 3rem ;
30
+ margin-bottom : 1rem ;
31
+ }
32
+
33
+ body [data-md-page = "index" ] p {
34
+ color : rgba (255 , 255 , 255 , 0.8 );
35
+ font-size : 1.2rem ;
36
+ line-height : 1.6 ;
37
+ }
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ plugins:
30
30
- drawio
31
31
- search
32
32
- mkdocs-video
33
+ extra_css :
34
+ - stylesheets/home.css
33
35
34
36
markdown_extensions : # requires pymdown-extensions + markdown in ci job
35
37
- def_list
You can’t perform that action at this time.
0 commit comments