File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -768,6 +768,9 @@ async function enforceDonationLockout(goalAmount = 500) {
768768 bigContainer . style . overflow = "hidden" ;
769769 bigContainer . style . backgroundColor = "rgba(0, 0, 0, 0.8)" ;
770770 bigContainer . style . backdropFilter = "blur(5px)" ;
771+ await new Promise ( ( r ) => {
772+ window . addEventListener ( "load" , r ) ;
773+ } ) ;
771774 document . body . appendChild ( bigContainer ) ;
772775 } catch ( err ) {
773776 console . error ( 'Failed to check donation status:' , err ) ;
Original file line number Diff line number Diff line change @@ -24,9 +24,10 @@ body {
2424header h1 {
2525 text-align : center;
2626 color : # 333 ;
27- background-color : # fff ;
2827 margin : 0 ;
2928 font-size : 48px ;
29+ transition : font-size 0.3s ease;
30+ background-color : transparent !important ;
3031}
3132
3233header h1 a {
@@ -40,21 +41,30 @@ header {
4041 justify-content : space-around;
4142 align-items : center;
4243 padding : 20px 0 ;
43- background-color : # ffffff ;
44+ background-color : # ffffff92 ;
4445 position : fixed;
4546 width : 100% ;
4647 right : 0 ;
4748 left : 0 ;
4849 z-index : 7500 ;
4950 top : 0 ;
5051 box-sizing : border-box;
52+ backdrop-filter : blur (10px );
5153 height : 100px ;
52- }
54+ transition : height 0.3 s ease;
5355
56+ }
57+ header .collapsed {
58+ transition : height 0.3s ease;
59+ height : 50px ;
60+ }
61+ header .collapsed h1 {
62+ transition : font-size 0.3s ease;
63+ font-size : 32px ;
64+ }
5465header .shadow {
5566 box-shadow : 0px 0px 10px # 333 ;
5667}
57-
5868.container {
5969 margin-top : 100px ;
6070 padding : 0px ;
You can’t perform that action at this time.
0 commit comments