File tree Expand file tree Collapse file tree 2 files changed +88
-1
lines changed
Expand file tree Collapse file tree 2 files changed +88
-1
lines changed Original file line number Diff line number Diff line change @@ -783,7 +783,7 @@ section {
783783 .navbar-center-logo {
784784 display : block;
785785 position : absolute;
786- top : 50 % ;
786+ top : auto ;
787787 left : auto;
788788 right : 1rem ;
789789 /* transform: translate(100%, -100%); */
Original file line number Diff line number Diff line change 3333 />
3434 <!-- Custom CSS -->
3535 < link rel ="stylesheet " href ="css/style.css " />
36+
37+ < style >
38+ /*** Section Headers ***/
39+ .section-header {
40+ position : sticky;
41+ top : 70px ;
42+ background : var (--bs-dark );
43+ padding : 2rem 0 ;
44+ margin-bottom : 0 ;
45+ z-index : 1020 ;
46+ padding : 2.75rem ;
47+ margin : 0 ;
48+ z-index : 1020 ;
49+ width : 100% ;
50+ }
51+
52+ .section-header .container {
53+ position : relative;
54+ }
55+
56+ .section-header h2 {
57+ color : var (--bs-white );
58+ margin : 0 ;
59+ font-size : 2.25rem ;
60+ font-family : "Special Elite" , system-ui;
61+ }
62+
63+ .section-header ::before {
64+ content : "" ;
65+ position : absolute;
66+ inset : 0 ;
67+ width : 100vw ;
68+ margin-left : -50vw ;
69+ left : 50% ;
70+ background : var (--bs-dark );
71+ z-index : -1 ;
72+ }
73+
74+ @media (max-width : 991px ) {
75+ .section-header {
76+ top : 56px ;
77+ padding : 2.5rem ;
78+ margin-bottom : 0 ;
79+ }
80+
81+ .section-content {
82+ padding : 1rem 0 ;
83+ }
84+
85+ .text-body {
86+ padding : 1rem ;
87+ margin : 0 ;
88+ }
89+
90+ section {
91+ margin-bottom : 0 ;
92+ }
93+
94+ .section-header h2 {
95+ font-size : 1.75rem ;
96+ }
97+ }
98+ @media (max-width : 767px ) {
99+ .section-header {
100+ top : 78px ;
101+ padding : 1.5rem ;
102+ margin-bottom : 0 ;
103+ }
104+
105+ .section-content {
106+ padding : 0.75rem 0 ;
107+ }
108+
109+ .text-body {
110+ padding : 1rem ;
111+ margin : 0 ;
112+ }
113+
114+ section {
115+ margin-bottom : 0 ;
116+ }
117+
118+ .section-header h2 {
119+ font-size : 1.25rem ;
120+ }
121+ }
122+ </ style >
36123 </ head >
37124
38125 < body data-bs-spy ="scroll " data-bs-target ="#navbarNav " data-bs-offset ="100 ">
You can’t perform that action at this time.
0 commit comments