diff --git a/public/css/style.css b/public/css/style.css index 9de4037..e5eed3a 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -204,10 +204,55 @@ footer a .fa-heart { grid-template-columns: repeat(3, 1fr); } #color-container .outer-box .box { - width: 30vw; + width: 95%; } footer #color-pickr #copyBtn { width: 50vw; } } + +@media all and (max-width: 800px) { + h1 { + font-size: 6vw; + } + header button { + font-size: 3.2vw; + } + #color-container .outer-box { + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -ms-grid-columns: (1fr)[2]; + grid-template-columns: repeat(2, 1fr); + } + #color-container .outer-box .box { + width: 95%; + font-size: 2.5vw; + } + footer #color-pickr #copyBtn { + width: 60vw; + font-size: 2vw; + } +} + +@media all and (max-width: 500px) { + h1 { + font-size: 7vw; + } + #color-container .outer-box { + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -ms-grid-columns: (1fr)[1]; + grid-template-columns: repeat(1, 1fr); + } + #color-container .outer-box .box { + width: 100%; + font-size: 3vw; + } + footer #color-pickr #copyBtn { + width: 80vw; + font-size: 3vw; + } +} /*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/public/css/style.css.map b/public/css/style.css.map index 59b4887..4819e67 100644 --- a/public/css/style.css.map +++ b/public/css/style.css.map @@ -1,6 +1,6 @@ { "version": 3, - "mappings": "AAAA,OAAO,CAAC,8EAAI;AACZ,OAAO,CAAC,0EAAI;AACZ,AAAA,CAAC,CAAA;EACG,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,UAAU,EAAE,UAAU;CACzB;;AAED,AAAA,IAAI,CAAA;EACA,gBAAgB,EAAE,OAAO;EACzB,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,mBAAmB;CACnC;;AAED,AAAA,mBAAmB,CAAA;EACf,KAAK,EAAE,IAAI;CACd;;AAED,AAAA,yBAAyB,CAAA;EACrB,gBAAgB,EAAE,SAAS;EAC3B,aAAa,EAAE,IAAI;CACtB;;AAED,AAAA,yB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AAEQ,MAFF,CACF,YAAY,CACR,QAAQ,CAAA;IACJ,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,GAAG;GACjB;;;AAMb,MAAM,CAAC,GAAG,MAAM,SAAS,EAAE,KAAK;EAC5B,AAAA,EAAE,CAAA;IACE,SAAS,EAAE,GAAG;GACjB;EACD,AACI,gBADY,CACZ,UAAU,CAAA;IACN,eAAe,EAAE,MAAM;IACvB,qBAAqB,EAAE,cAAc;GAKxC;EARL,AAIQ,gBAJQ,CACZ,UAAU,CAGN,IAAI,CAAA;IACA,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,GAAG;GACjB;EAIT,AAEQ,MAFF,CACF,YAAY,CACR,QAAQ,CAAA;IACJ,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,GAAG;GACjB", "sources": [ "style.scss" ], diff --git a/public/css/style.scss b/public/css/style.scss index d405d03..880acd5 100644 --- a/public/css/style.scss +++ b/public/css/style.scss @@ -158,7 +158,7 @@ footer{ justify-content: center; grid-template-columns: repeat(3, 1fr); .box{ - width: 30vw; + width: 95%; } } @@ -187,7 +187,7 @@ footer{ justify-content: center; grid-template-columns: repeat(2, 1fr); .box{ - width: 42vw; + width: 95%; font-size: 2.5vw; } } @@ -213,7 +213,7 @@ footer{ justify-content: center; grid-template-columns: repeat(1, 1fr); .box{ - width: 87vw; + width: 100%; font-size: 3vw; } }