2
2
background-size : cover;
3
3
background-repeat : no-repeat;
4
4
background-position : center;
5
- height : 100 % ;
5
+ height : auto ;
6
6
}
7
7
8
8
.content-data-container {
9
- padding : 1rem 8.25rem 1rem 8.25rem ;
9
+ padding : 0rem 4rem 0rem 4rem ;
10
+ flex-wrap : nowrap !important ;
11
+ justify-content : space-evenly !important ;
10
12
}
11
13
12
14
.details {
37
39
}
38
40
39
41
.content-data {
40
- margin-top : 3rem ;
42
+ justify-content : center;
43
+ display : flex;
44
+ align-items : flex-start;
45
+ flex-direction : column;
41
46
}
42
47
43
48
.rainbow-connect-btn {
64
69
visibility : hidden;
65
70
}
66
71
67
- @media only screen and (max-width : 1100 px ) {
68
- .content-data -container {
69
- padding : 1 rem ;
72
+ @media only screen and (max-width : 767 px ) {
73
+ .home-image -container {
74
+ height : 0 % !important ;
70
75
}
71
76
}
72
77
73
- @media only screen and (min-width : 1101px ) and (max-width : 1250px ) {
74
- .content-data-container {
75
- padding : 2rem ;
78
+ /* =================== Container CSS =================== */
79
+
80
+ .signin-container-type {
81
+ container-type : size;
82
+ container-name : signinContainer;
83
+ }
84
+
85
+ @container signinContainer (max-height : 450px ) and (height > 0px) {
86
+ .tx-content {
87
+ display : none;
88
+ }
89
+ .keys-content {
90
+ display : none;
91
+ }
92
+ .signin-btn {
93
+ font-size : 1rem !important ;
94
+ padding : 0.5rem !important ;
95
+ }
96
+ .loading-btn {
97
+ height : 18px !important ;
76
98
}
77
99
}
78
100
79
- @media only screen and ( min -width: 1450 px ) {
80
- .content-data {
81
- margin-top : 6 rem !important ;
101
+ @container signinContainer ( max -width: 640 px ) {
102
+ .rainbow-connect-btn {
103
+ display : none !important ;
82
104
}
83
105
}
84
106
85
- @media only screen and (max-width : 1000 px ) {
86
- .content-data {
87
- margin-top : 1 rem !important ;
107
+ @container signinContainer (max-height : 325 px ) and (height > 0px ) {
108
+ .rainbow-connect-btn {
109
+ display : none !important ;
88
110
}
89
111
}
90
112
91
- @media only screen and (max-height : 700px ) {
92
- .content-data {
93
- margin-top : 1rem !important ;
113
+ @container signinContainer (max-width : 735px ) {
114
+ .signin-btn {
115
+ font-size : 1rem !important ;
116
+ padding : 0.5rem !important ;
117
+ }
118
+ .loading-btn {
119
+ height : 18px !important ;
94
120
}
95
121
}
96
122
97
- @media only screen and (max-width : 767 px ) {
98
- .home-image -container {
99
- height : 0 % !important ;
123
+ @container signinContainer (max-width : 635 px ) {
124
+ .content-data -container {
125
+ padding : 0 rem 2 rem 0 rem 2 rem !important ;
100
126
}
101
- }
127
+ }
128
+
129
+ @container signinContainer (min-width : 1500px ) {
130
+ .content-data-container {
131
+ padding : 0rem 8rem 0rem 8rem !important ;
132
+ }
133
+ }
0 commit comments