File tree Expand file tree Collapse file tree 5 files changed +48
-1
lines changed Expand file tree Collapse file tree 5 files changed +48
-1
lines changed Original file line number Diff line number Diff line change 1
1
<!-- prettier-ignore-start -->
2
2
<!-- markdownlint-disable-next-line MD041 -->
3
- ![ logo ] ( ./images/logo .png )
3
+ [ ![ GraphQL Conf 2023 ] ( ./images/GraphQLConf-2023-Banner .png )] ( https://graphql.org/conf/ )
4
4
<!-- prettier-ignore-end -->
5
5
6
+ ![ logo] ( ./images/logo.png )
7
+
6
8
# TypeGraphQL
7
9
8
10
[ ![ ci] ( https://github.com/MichalLytek/type-graphql/actions/workflows/ci.yml/badge.svg )] ( https://github.com/MichalLytek/type-graphql/actions/workflows/ci.yml )
Original file line number Diff line number Diff line change @@ -75,8 +75,17 @@ const DarkModeButton = () => {
75
75
html.classList.toggle("theme-mode--light");
76
76
}
77
77
78
+ function addGraphQLBanner() {
79
+ const a = document.createElement("a");
80
+ a.href = "https://graphql.org/conf/";
81
+ a.target = "_blank";
82
+ a.classList.add("graphql-banner");
83
+ document.body.appendChild(a);
84
+ }
85
+
78
86
appendButtonToDOM();
79
87
setInitialColorMode();
88
+ addGraphQLBanner();
80
89
` ,
81
90
} }
82
91
/>
Original file line number Diff line number Diff line change @@ -44,6 +44,42 @@ body {
44
44
color : var (--color-main-light );
45
45
}
46
46
47
+ .navPusher {
48
+ padding-top : 180px !important ;
49
+ }
50
+
51
+ @media screen and (min-width : 1024px ) {
52
+ .navPusher {
53
+ padding-top : 130px !important ;
54
+ }
55
+ }
56
+
57
+ @media only screen and (min-width : 1024px ) {
58
+ @supports ((position : -webkit-sticky) or (position : sticky)) {
59
+ .onPageNav {
60
+ top : 170px !important ;
61
+ }
62
+ }
63
+ }
64
+
65
+ .graphql-banner {
66
+ position : fixed;
67
+ top : 0 ;
68
+ height : 80px ;
69
+ display : block;
70
+ z-index : 999999 ;
71
+ width : 100% ;
72
+ background-color : # 4c204a ;
73
+ background-image : url ("../img/GraphQLConf-2023-Banner.png" );
74
+ background-position : center center;
75
+ background-size : cover;
76
+ background-repeat : no-repeat;
77
+ }
78
+
79
+ .fixedHeaderContainer {
80
+ top : 80px ;
81
+ }
82
+
47
83
blockquote {
48
84
color : var (--color-blockquote-text );
49
85
}
You can’t perform that action at this time.
0 commit comments