mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-14 14:02:51 +00:00
feat: home page with URL conversion endpoint
style: mobile optimization
This commit is contained in:
parent
85dad1cbe0
commit
2ae093b43d
6 changed files with 166 additions and 11 deletions
74
public/home.css
Normal file
74
public/home.css
Normal file
|
@ -0,0 +1,74 @@
|
|||
body {
|
||||
background-color: #1b1f26;
|
||||
font-family: sans-serif;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
|
||||
color: white;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 40rem;
|
||||
}
|
||||
|
||||
.footer {
|
||||
font-size: 0.8rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.view-form {
|
||||
display: flex;
|
||||
gap: .5rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.view-input {
|
||||
width: 100%;
|
||||
padding: .5rem;
|
||||
border: 2px solid transparent;
|
||||
border-radius: 3px;
|
||||
|
||||
background-color: #2b303b;
|
||||
|
||||
color: white;
|
||||
|
||||
transition-duration: 200ms;
|
||||
}
|
||||
|
||||
.view-input:focus {
|
||||
outline: none;
|
||||
border: 2px solid rgb(168, 168, 168);
|
||||
}
|
||||
|
||||
.view-button {
|
||||
padding: .5rem;
|
||||
border: 2px solid transparent;
|
||||
border-radius: 3px;
|
||||
|
||||
background-color: #2b303b;
|
||||
|
||||
color: white;
|
||||
|
||||
transition-duration: 200ms;
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.view-button:hover {
|
||||
background-color: #3b404b;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
body {
|
||||
padding: 1rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue