-
@@ -69,11 +66,7 @@
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..36e1487 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.* +!.gitignore +package-lock.json +package.json +node_modules \ No newline at end of file diff --git a/css/main.css b/css/main.css index b558357..bd12007 100644 --- a/css/main.css +++ b/css/main.css @@ -43,14 +43,11 @@ main { border: 1px solid #dfe1e5; } -#password:hover { - box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28); -} - #password-container { opacity: 0; transition: visibility 0s, opacity 0.5s; } + #pass-inner { display: grid; grid-template-columns: auto 36px; @@ -68,14 +65,22 @@ label[for=password] { margin-bottom: .5rem; } -#password-button { +#copy { height: 100%; aspect-ratio: 1; - color: currentColor; background: #24933f; border: none; } +#copy > svg { + height: 1.2em; + fill: #fff; +} + +button { + border-color: transparent; +} + button:active { opacity: .8; } @@ -119,16 +124,12 @@ body { color: unset; } - * { - border-color: transparent; - } #password { border: 0 !important; background-color: #444; } #password:hover { - box-shadow: none !important; background-color: #494949; } } @@ -176,6 +177,7 @@ a { text-align: center; } } + @media only screen and (max-height: 700px) { footer { display: none; diff --git a/index.html b/index.html index 5858b54..f0902d4 100644 --- a/index.html +++ b/index.html @@ -6,24 +6,21 @@ - - - - - + + + + + - +