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 1414 --modal-width : calc (var (--modal-container-width ) - 30vw );
1515 --input-width : 300px ;
1616 --output-width : 400px ;
17+ --pseudo-footer-height : 70px ;
1718}
1819
1920* ,
2930 background-color : var (--primary-color );
3031 color : var (--text-color );
3132 overflow-x : hidden;
33+ padding-bottom : var (--pseudo-footer-height ) ;
3234}
3335
3436nav {
8183 height : var (--generator-height );
8284 width : var (--generator-width );
8385 border-radius : 10px ;
84- text-align : center;
86+ /* text-align: center; */
8587 font-size : 1rem ;
8688 display : flex;
8789 flex-direction : column;
@@ -112,19 +114,21 @@ main {
112114 display : flex;
113115 flex-direction : column;
114116 justify-content : space-around;
115- padding : 0.5rem 0 1rem 0 ;
117+ padding : 5px 10px ;
118+ position : relative;
116119}
117120
118121.generator h2 {
122+ padding-right : 10px ;
119123 font-size : min (1.1rem , 2.5rem );
120124}
121125
122126.generator > div img {
123127 height : 30px ;
124128 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 ;
128132}
129133
130134/* Generator Modal */
@@ -283,12 +287,13 @@ textarea:focus {
283287
284288.btn {
285289 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;
289294 border : 1px solid var (--text-color );
290295 cursor : pointer;
291- margin-top : 0.2 rem ;
296+ margin-top : 0.4 rem ;
292297}
293298
294299.output {
377382 width : 90vw ;
378383 }
379384
380- footer {
385+ .generator {
386+ margin : 0.8rem auto;
387+ }
388+
389+ : root {
390+ --generator-width : 14rem ;
391+ }
392+
393+ footer {
381394 font-size : 1.3rem ;
382395 }
383396}
You can’t perform that action at this time.
0 commit comments