@@ -12,38 +12,42 @@ body {
1212 font-size : 100% ;
1313 background : radial-gradient (# 1c1f63, # 111 50% );
1414 color : white;
15- position : relative;
15+ }
16+
17+ body {
18+ display : flex;
1619}
1720
1821main {
1922 width : max-content;
2023 max-width : 100% ;
2124 height : 80% ;
22- position : absolute;
23- top : 50% ;
24- left : 50% ;
25- transform : translate (-50% , -50% );
2625 padding : 2rem ;
27- display : grid ;
28- grid-template-rows : auto auto auto 1 fr auto ;
29- grid-template-columns : auto;
26+ display : flex ;
27+ gap : 3 rem ;
28+ margin : auto;
3029}
3130
3231# shadowban-scanner-installed {
33- text-align : center;
3432 font-size : 1.2rem ;
3533}
3634
3735h1 {
3836 line-height : 110% ;
3937 font-size : 4rem ;
4038 text-align : center;
41- background : linear-gradient (-45 deg , # 1ec4db , # 6a6cf2 );
39+ background : linear-gradient (to bottom , white , # a2a5b0 );
4240 background-clip : border-box;
4341 background-clip : border-box;
4442 -webkit-background-clip : text;
4543 -webkit-text-fill-color : transparent;
46- margin-bottom : 0.5em ;
44+ }
45+
46+ # text-container ,
47+ # button-container {
48+ display : flex;
49+ flex-direction : column;
50+ justify-content : center;
4751}
4852
4953# instruction {
5357}
5458
5559# settings-buttons {
56- --settings-buttons-margin-top : 1rem ;
57-
58- margin : auto;
59- margin-top : var (--settings-buttons-margin-top );
60- height : calc (100% - var (--settings-buttons-margin-top ));
60+ margin : 1rem 0 ;
61+ height : 100% ;
6162 max-height : 20rem ;
62- display : grid;
63- grid-template-columns : 1fr 1fr ;
63+ display : flex;
6464 max-width : 50rem ;
6565 gap : 1rem ;
6666}
7171 --button-default-border-width : 0.1rem ;
7272
7373 width : calc (100% - var (--button-margin ) * 2 );
74- height : 100% ;
7574 background : rgb (255 , 255 , 255 , 20% );
7675 backdrop-filter : blur (3rem );
7776 border-radius : 0.5rem ;
8584 background 0.3s ,
8685 transform 0.3s ,
8786 border-color 0.3s ;
87+ aspect-ratio : 1 / 1 ;
8888}
8989
9090@media (orientation : portrait) {
9393 margin-top : 1rem ;
9494 }
9595
96+ body {
97+ height : max-content;
98+ }
99+
96100 main {
97- height : 100% ;
101+ min- height: 100% ;
98102 max-width : 100% ;
99103 width : 100% ;
104+ flex-direction : column;
105+ }
106+
107+ # shadowban-scanner-installed {
108+ font-size : 1rem ;
100109 }
101110
102111 # settings-buttons {
103- grid-template-columns : 1fr ;
104- grid-template-rows : 1fr 1fr ;
105112 max-height : none;
106- padding : 2rem 0 ;
113+ margin : 2rem 0 ;
107114 max-width : 100% ;
115+ flex-direction : column;
108116 }
109117
110118 .settings-button-item {
111- width : calc ( 100% - var ( --button-padding )) ;
119+ width : 100% ;
112120 }
113121}
114122
146154 cursor : pointer;
147155 color : white;
148156 font-size : 100% ;
149- padding : 0.5em 1 em ;
150- border-radius : 0.25 em ;
157+ padding : 0.5em 2 em ;
158+ border-radius : 2 em ;
151159}
152160
153161.basic-secondary-button : disabled ,
162170}
163171
164172.basic-primary-button {
165- background : linear-gradient (-45deg , # 1ec4db, # 6a6cf2 );
173+ background : white;
174+ color : # 333 ;
166175 border : none;
167176}
0 commit comments