File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ .banner {
2
+ height : 12px ; /* Height of the banner */
3
+ position : sticky; /* Follows as you scroll */
4
+ top : 0 ; /* Absolute top of page */
5
+ left : 0 ;
6
+ width : 100% ;
7
+ z-index : 1 ; /* Tells the renderer "this is important", otherwise Admonition and Code Blocks will render into it */
8
+ text-align : center;
9
+ background-color : COLOR_HERE;
10
+ }
11
+
12
+ .md-header {
13
+ top : 12px ; /* This setting prevents the Material header from imposing into the space of the banner! */
14
+ }
Original file line number Diff line number Diff line change
1
+ {% extends "base.html" %}
2
+
3
+ {% block header %}
4
+ <!-- Custom Banner -->
5
+ < div class ="banner ">
6
+ < p style ="color:COLOR_HERE; display:inline; "> Gateway API survey</ p >
7
+ </ div >
8
+
9
+ <!-- Original Header -->
10
+ {% include "partials/header.html" %}
11
+ {% endblock %}
Original file line number Diff line number Diff line change
1
+ {% extends "base.html" %}
2
+
3
+ {% block announce %}
4
+ < div style ="display: flex; align-items: center; justify-content: center; background-color: white; padding: 10px; border-radius: 5px; ">
5
+ < div style ="width: 30px; height: 30px; display: flex; align-items: center; margin-right: 10px; "> <!-- Add spacing after left logo -->
6
+ < img src ="/images/logo/logo.svg " alt ="Gateway API Logo " class ="center " style ="width: 100%; height: 100%; " />
7
+ </ div >
8
+ < b style ="color: black; display: flex; align-items: center; ">
9
+ < a href ="https://forms.gle/7kwf2TdBS2KMwV2FA " style ="margin-right: 5px; "> Gateway API survey</ a > is out! We really appreciate your feedback!
10
+ </ b >
11
+ < div style ="width: 30px; height: 30px; display: flex; align-items: center; margin-left: 10px; "> <!-- Add spacing before right logo -->
12
+ < img src ="/images/logo/logo.svg " alt ="Gateway API Logo " class ="center " style ="width: 100%; height: 100%; " />
13
+ </ div >
14
+ </ div >
15
+ {% endblock %}
You can’t perform that action at this time.
0 commit comments