File tree Expand file tree Collapse file tree 1 file changed +14
-23
lines changed Expand file tree Collapse file tree 1 file changed +14
-23
lines changed Original file line number Diff line number Diff line change @@ -84,24 +84,6 @@ body {
84
84
transform : translate (-50% , -50% ) scale (1 );
85
85
}
86
86
87
- .modal button {
88
- background : rgba (30 , 30 , 30 , 0.7 );
89
- border : 2px solid # d29744 ;
90
- color : # d29744 ;
91
- border-radius : 50% ;
92
- font-size : 1.6rem ;
93
- width : 48px ;
94
- height : 48px ;
95
- cursor : pointer;
96
- position : absolute;
97
- top : 50% ;
98
- display : grid;
99
- place-items : center;
100
- transform : translateY (-50% );
101
- transition : background 0.2s , color 0.2s , border-color 0.2s ;
102
- z-index : 1 ;
103
- }
104
-
105
87
/* Improve Mobile Support */
106
88
.modal p {
107
89
position : absolute;
@@ -116,16 +98,25 @@ body {
116
98
font-size : 1.8rem ;
117
99
padding : 0.75em 1em ;
118
100
text-align : center;
119
- z-index : 2 ;
101
+ z-index : 1 ;
120
102
}
121
103
122
104
.modal button {
123
- top : 5% ;
124
- transform : translateY (0 );
105
+ background : rgba (30 , 30 , 30 , 0.7 );
106
+ border : 2px solid # d29744 ;
107
+ color : # d29744 ;
108
+ border-radius : 50% ;
109
+ font-size : 1.1rem ;
125
110
width : 40px ;
126
111
height : 40px ;
127
- font-size : 1.1rem ;
128
- z-index : 3 ;
112
+ cursor : pointer;
113
+ position : absolute;
114
+ top : 5% ;
115
+ display : grid;
116
+ place-items : center;
117
+ transform : translateY (0 );
118
+ transition : background 0.2s , color 0.2s , border-color 0.2s ;
119
+ z-index : 2 ;
129
120
}
130
121
131
122
.modal button .prev {
You can’t perform that action at this time.
0 commit comments