File tree Expand file tree Collapse file tree 3 files changed +36
-6
lines changed
Expand file tree Collapse file tree 3 files changed +36
-6
lines changed Original file line number Diff line number Diff line change 2121 background-repeat : no-repeat;
2222 background-size : cover;
2323 background-position : center;
24- transform : translate ( 645 px , 20 px ) ;
25- z-index : -1 ;
24+ margin-left : 51 % ;
25+ margin-top : 2 % ;
2626 position : absolute;
27+ z-index : -1 ;
2728
2829}
2930
3435 background-color : # 1B1D1F ;
3536 top : 50% ;
3637 left : 50% ;
37- transform : translate (-50% , 230 px );
38+ transform : translate (-50% , 210 px );
3839 border-radius : 10px ;
3940 padding-bottom : 100px ;
4041}
6869 grid-template-rows : auto auto;
6970 justify-content : center;
7071 gap : 50px ;
71- }
72+ }
73+
74+ @media (min-width : 768px ) and (max-width : 1023px ) {
75+
76+ .bgImg {
77+ background-image : url ("../assets/bg-cafe.jpg" );
78+ }
79+
80+ .itemsContainer {
81+ grid-template-columns : auto auto;
82+ }
83+
84+ }
85+
86+ @media (max-width : 767px ) {
87+
88+ .bgImg {
89+ width : 100% ;
90+ background-image : url ("../assets/bg-cafe-sm.jpg" );
91+
92+ }
93+
94+ .container {
95+ width : 80% ;
96+ }
97+
98+ .itemsContainer {
99+ grid-template-columns : auto;
100+ }
101+
102+ }
Original file line number Diff line number Diff line change 5151
5252.rateVotes {
5353 display : flex;
54- align-items : center;
5554 justify-content : space-between;
5655
5756}
You can’t perform that action at this time.
0 commit comments