diff --git a/css/privo.css b/css/privo.css index de07e64..d832e7f 100644 --- a/css/privo.css +++ b/css/privo.css @@ -19,10 +19,11 @@ body { background: var(--bg); color: var(--text); min-height: 100vh; - display: flex; - justify-content: center; - align-items: center; - padding: 2rem; + padding: 0; +} + +main { + padding: 2rem 1rem; } a { @@ -38,15 +39,20 @@ a:hover { .container { max-width: 520px; width: 100%; + margin: 0 auto; text-align: center; } -h1 { +.hero h1 { font-size: 2.5rem; margin-bottom: 0.25rem; letter-spacing: -0.02em; } +.hero span { + color: var(--accent); +} + .tagline { color: var(--muted); font-size: 1rem; @@ -167,6 +173,7 @@ footer { margin-left: 0.5rem; vertical-align: middle; } + @media (max-width: 480px) { .input-group { flex-direction: column; @@ -180,4 +187,4 @@ footer { flex-direction: column; text-align: center; } -} \ No newline at end of file +} diff --git a/js/privo.js b/js/privo.js index d16fe4c..8da9193 100644 --- a/js/privo.js +++ b/js/privo.js @@ -14,7 +14,6 @@ shortenBtn.addEventListener('click', async () => { if (!url) { showError('Please enter a URL.'); return; } - // Add https:// if no protocol is present if (!url.startsWith('http://') && !url.startsWith('https://')) { url = 'https://' + url; } diff --git a/privo.fyi.html b/privo.fyi.html deleted file mode 100644 index 89bb996..0000000 --- a/privo.fyi.html +++ /dev/null @@ -1,69 +0,0 @@ - - -
- - -