File tree Expand file tree Collapse file tree 1 file changed +23
-10
lines changed Expand file tree Collapse file tree 1 file changed +23
-10
lines changed Original file line number Diff line number Diff line change 14
14
--modal-width : calc (var (--modal-container-width ) - 30vw );
15
15
--input-width : 300px ;
16
16
--output-width : 400px ;
17
+ --pseudo-footer-height : 70px ;
17
18
}
18
19
19
20
* ,
29
30
background-color : var (--primary-color );
30
31
color : var (--text-color );
31
32
overflow-x : hidden;
33
+ padding-bottom : var (--pseudo-footer-height ) ;
32
34
}
33
35
34
36
nav {
81
83
height : var (--generator-height );
82
84
width : var (--generator-width );
83
85
border-radius : 10px ;
84
- text-align : center;
86
+ /* text-align: center; */
85
87
font-size : 1rem ;
86
88
display : flex;
87
89
flex-direction : column;
@@ -112,19 +114,21 @@ main {
112
114
display : flex;
113
115
flex-direction : column;
114
116
justify-content : space-around;
115
- padding : 0.5rem 0 1rem 0 ;
117
+ padding : 5px 10px ;
118
+ position : relative;
116
119
}
117
120
118
121
.generator h2 {
122
+ padding-right : 10px ;
119
123
font-size : min (1.1rem , 2.5rem );
120
124
}
121
125
122
126
.generator > div img {
123
127
height : 30px ;
124
128
width : 30px ;
125
- position : relative ;
126
- margin-left : auto ;
127
- margin-right : 1 rem ;
129
+ position : absolute ;
130
+ right : 7 px ;
131
+ bottom : 5 px ;
128
132
}
129
133
130
134
/* Generator Modal */
@@ -283,12 +287,13 @@ textarea:focus {
283
287
284
288
.btn {
285
289
height : 40px ;
286
- border-radius : 5px ;
287
- display : grid;
288
- place-items : center;
290
+ border-radius : 5px ;
291
+ display : flex;
292
+ align-items : center;
293
+ justify-content : center;
289
294
border : 1px solid var (--text-color );
290
295
cursor : pointer;
291
- margin-top : 0.2 rem ;
296
+ margin-top : 0.4 rem ;
292
297
}
293
298
294
299
.output {
377
382
width : 90vw ;
378
383
}
379
384
380
- footer {
385
+ .generator {
386
+ margin : 0.8rem auto;
387
+ }
388
+
389
+ : root {
390
+ --generator-width : 14rem ;
391
+ }
392
+
393
+ footer {
381
394
font-size : 1.3rem ;
382
395
}
383
396
}
You can’t perform that action at this time.
0 commit comments