From 0467168ca6eed1e917a80a4f5ca5f783fd7eeebb Mon Sep 17 00:00:00 2001 From: Gabriel Cavalcante Date: Sun, 12 May 2024 16:27:37 -0300 Subject: [PATCH] build: minificados arquivos js e css --- dist/css/style.min.css | 1 + dist/js/main.min.js | 1 + index.html | 4 ++-- submit.html | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 dist/css/style.min.css create mode 100644 dist/js/main.min.js diff --git a/dist/css/style.min.css b/dist/css/style.min.css new file mode 100644 index 0000000..7ea0719 --- /dev/null +++ b/dist/css/style.min.css @@ -0,0 +1 @@ +@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");*{box-sizing:border-box;margin:0;padding:0}html{font-size:16px}html body{background-color:#d2c7da;color:#202124;font-family:"Roboto",sans-serif;font-size:1rem;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:0}html body h1,html body a,html body p,html body span{font:inherit}html body h1{line-height:1.25}html body p{line-height:1.5;text-align:justify}html body a{text-decoration:none}html body button{border:0}html body button:hover{cursor:pointer}.p-relative{position:relative !important}.app__container{width:clamp(320px,100%,640px);padding:1em;margin-inline:auto;gap:1em;min-height:100svh;display:flex;flex-direction:column;align-items:center}.app__header{align-self:stretch;aspect-ratio:4/1;border-radius:8px}.app__form-container{align-self:stretch;background-color:white;padding:1em;border-radius:8px;display:flex;flex-direction:column;gap:1em;box-shadow:2px 5px 10px rgba(0,0,0,0.5)}.app__title{font-size:2rem}.app__required-question{color:#d93025}.app__decoration{position:absolute;background-color:#684382;border-radius:8px 8px 0 0;width:100%;top:0;left:0;height:.6em}.app__required-symbol{color:#d93025}.app__input{border:0;border-bottom:1px solid rgba(0,0,0,0.2);padding-bottom:.3em;outline:0;font-family:"Roboto",sans-serif;color:#202124;width:100%}.app__input:focus{border-bottom-width:2px;border-bottom-color:#684382}.app__radio-wrapper{display:flex;align-items:center;gap:.5em}.app__radio{width:20px;aspect-ratio:1/1}.app__textarea{border-radius:5px;padding:.5em;outline:0;height:100px;color:#202124;border:1px solid rgba(0,0,0,0.2);resize:none}.app__textarea:focus{border-width:2px;border-color:#684382}.app__button{background-color:#684382;align-self:flex-start;color:#fff;border-radius:5px;padding:.6em 1em;transition:opacity .3s ease-in}.app__button:hover{opacity:.8} diff --git a/dist/js/main.min.js b/dist/js/main.min.js new file mode 100644 index 0000000..5f9b2dd --- /dev/null +++ b/dist/js/main.min.js @@ -0,0 +1 @@ +"use strict";var inputs=document.querySelectorAll("input");var textareas=document.querySelectorAll("textarea");document.addEventListener("DOMContentLoaded",function(){inputs.forEach(function(input){input.value="";input.checked=false});textareas.forEach(function(textarea){textarea.value=""})}); \ No newline at end of file diff --git a/index.html b/index.html index 788afbf..dd39040 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,8 @@ /> Cadastro de Magos - - + +
diff --git a/submit.html b/submit.html index 487e4b8..7b5c18d 100644 --- a/submit.html +++ b/submit.html @@ -9,7 +9,7 @@ /> Cadastro de Magos - +