File tree Expand file tree Collapse file tree 3 files changed +62
-17
lines changed Expand file tree Collapse file tree 3 files changed +62
-17
lines changed Original file line number Diff line number Diff line change 44
44
</ nav >
45
45
< header >
46
46
< div class ="container ">
47
- < h1 > MrDocs</ h1 >
48
- < p > MrDocs is a C++ documentation generator for your projects.</ p >
49
- < div class ="header-cta ">
50
- < a href ="docs/ " class ="secondary " role ="button " aria-label ="Documentation "> Get started</ a >
51
- < a href ="docs/mrdocs/install.html " class ="contrast outline " role ="button " aria-label ="Download "> Download</ a >
47
+ < div class ="header-content ">
48
+ < h1 > MrDocs</ h1 >
49
+ < p > MrDocs is a C++ documentation generator for your projects.</ p >
50
+ < div class ="header-cta ">
51
+ < a href ="docs/ " class ="secondary " role ="button " aria-label ="Documentation "> Get started</ a >
52
+ < a href ="docs/mrdocs/install.html " class ="contrast outline " role ="button " aria-label ="Download "> Download</ a >
53
+ </ div >
54
+ < div class ="banner-snippet ">
55
+ < small > < code > No workarounds: A tool that fully understands C++</ code > </ small >
56
+ </ div >
52
57
</ div >
53
- < div class ="banner-snippet ">
54
- < small > < code > No workarounds: A tool that fully understands C++</ code > </ small >
58
+ < div class ="header-image ">
59
+ < div class ="box1 box-shape2 box270 ">
60
+ < div class ="inner-box thinking "> </ div >
61
+ </ div >
55
62
</ div >
56
63
</ div >
57
64
</ header >
Original file line number Diff line number Diff line change 55
55
</nav >
56
56
<header >
57
57
<div class =" container" >
58
- <h1 >{{ title }} </h1 >
59
- <p >{{ description }} </p >
60
- <div class =" header-cta" >
61
- <a href =" docs/" class =" secondary" role =" button" aria-label =" Documentation" >Get started</a >
62
- <a href =" docs/mrdocs/install.html" class =" contrast outline" role =" button" aria-label =" Download" >Download</a >
58
+ <div class =" header-content" >
59
+ <h1 >{{ title }} </h1 >
60
+ <p >{{ description }} </p >
61
+ <div class =" header-cta" >
62
+ <a href =" docs/" class =" secondary" role =" button" aria-label =" Documentation" >Get started</a >
63
+ <a href =" docs/mrdocs/install.html" class =" contrast outline" role =" button" aria-label =" Download" >Download</a >
64
+ </div >
65
+ <div class =" banner-snippet" >
66
+ <small ><code >{{ banner.description }} </code ></small >
67
+ </div >
63
68
</div >
64
- <div class =" banner-snippet" >
65
- <small ><code >{{ banner.description }} </code ></small >
69
+ <div class =" header-image" >
70
+ <div class =" box1 box-shape2 box270" >
71
+ <div class =" inner-box thinking" ></div >
72
+ </div >
66
73
</div >
67
74
</div >
68
75
</header >
Original file line number Diff line number Diff line change @@ -2798,8 +2798,7 @@ nav {
2798
2798
2799
2799
.banner-snippet code {
2800
2800
margin-top : 0.5rem ;
2801
- background-color : rgba (34 , 34 , 34 , 0.5 );
2802
- color : inherit;
2801
+ background-color : rgba (255 , 255 , 255 , 0.10 );
2803
2802
}
2804
2803
2805
2804
.dotted {
@@ -3036,4 +3035,36 @@ nav {
3036
3035
3037
3036
.mrdocs {
3038
3037
background-image : url ("./assets/mrdocs.svg" );
3039
- }
3038
+ }
3039
+
3040
+ /* ===========================
3041
+ Header Styles
3042
+ =========================== */
3043
+
3044
+ header .container {
3045
+ display : flex;
3046
+ flex-direction : column;
3047
+ }
3048
+
3049
+ header .header-image {
3050
+ align-self : center;
3051
+ }
3052
+
3053
+ @media (min-width : 768px ) {
3054
+ header .container {
3055
+ align-items : center;
3056
+ justify-content : center;
3057
+ flex-direction : row;
3058
+ }
3059
+ }
3060
+
3061
+ .header-content {
3062
+ display : flex;
3063
+ flex-direction : column;
3064
+ align-items : center;
3065
+ }
3066
+ .header-cta a [aria-label = "Documentation" ] {
3067
+ color : # fff ;
3068
+ background-color : rgba (255 , 255 , 255 , 0.25 );
3069
+ }
3070
+
You can’t perform that action at this time.
0 commit comments