File tree Expand file tree Collapse file tree 3 files changed +34
-18
lines changed Expand file tree Collapse file tree 3 files changed +34
-18
lines changed Original file line number Diff line number Diff line change 49
49
< div class ="container ">
50
50
< h1 > MrDocs</ h1 >
51
51
< p > MrDocs is a C++ documentation generator for your projects.</ p >
52
- < p >
53
- < a href ="docs/ " role ="button " class ="secondary " aria-label ="Documentation ">
54
- Get started
55
- </ a >
56
- < a href ="docs/mrdocs/install.html " role ="button " class ="contrast outline " aria-label ="Download ">
57
- Download
58
- </ a >
59
- </ p >
60
- < p > < code > < small > No workarounds: A tool that fully understands C++</ small > </ code > </ p >
52
+ < div class ="header-cta ">
53
+ < a href ="docs/ " class ="secondary " role ="button " aria-label ="Documentation "> Get started</ a >
54
+ < a href ="docs/mrdocs/install.html " class ="contrast outline " role ="button " aria-label ="Download "> Download</ a >
55
+ </ div >
56
+ < div class ="banner-snippet ">
57
+ < small > < code > No workarounds: A tool that fully understands C++</ code > </ small >
58
+ </ div >
61
59
</ div >
62
60
</ header >
63
61
< main >
Original file line number Diff line number Diff line change 60
60
<div class =" container" >
61
61
<h1 >{{ title }} </h1 >
62
62
<p >{{ description }} </p >
63
- <p >
64
- <a href =" docs/" role =" button" class =" secondary" aria-label =" Documentation" >
65
- Get started
66
- </a >
67
- <a href =" docs/mrdocs/install.html" role =" button" class =" contrast outline" aria-label =" Download" >
68
- Download
69
- </a >
70
- </p >
71
- <p ><code ><small >{{ banner.description }} </small ></code ></p >
63
+ <div class =" header-cta" >
64
+ <a href =" docs/" class =" secondary" role =" button" aria-label =" Documentation" >Get started</a >
65
+ <a href =" docs/mrdocs/install.html" class =" contrast outline" role =" button" aria-label =" Download" >Download</a >
66
+ </div >
67
+ <div class =" banner-snippet" >
68
+ <small ><code >{{ banner.description }} </code ></small >
69
+ </div >
72
70
</div >
73
71
</header >
74
72
<main >
Original file line number Diff line number Diff line change @@ -2807,3 +2807,23 @@ nav {
2807
2807
background-color : rgba (0 , 0 , 0 , 0.2 );
2808
2808
backdrop-filter : blur (10px );
2809
2809
}
2810
+
2811
+ .header-cta {
2812
+ display : flex;
2813
+ gap : 0.5rem ;
2814
+ justify-content : center;
2815
+ margin : 1.5rem 0 0 0 ;
2816
+ }
2817
+
2818
+ .banner-snippet {
2819
+ display : flex;
2820
+ justify-content : center;
2821
+ border-radius : 0.25rem ;
2822
+ margin : 0.5em 0 0 0 ;
2823
+ }
2824
+
2825
+ .banner-snippet code {
2826
+ margin-top : 0.5rem ;
2827
+ background-color : rgba (34 , 34 , 34 , 0.5 );
2828
+ color : inherit;
2829
+ }
You can’t perform that action at this time.
0 commit comments