Skip to content

Instantly share code, notes, and snippets.

@ErikCH
Created February 7, 2022 02:03
Show Gist options
  • Save ErikCH/5987f517d4bcd135dec264f5d451c92f to your computer and use it in GitHub Desktop.
Save ErikCH/5987f517d4bcd135dec264f5d451c92f to your computer and use it in GitHub Desktop.
* {
font-size: 1.4rem;
font-family: "Roboto", arial, sans-serif;
}
html {
font-size: 62.5%;
padding: 1rem;
}
a {
text-decoration: none;
color: initial;
}
header {
margin: 0.6rem;
display: flex;
justify-content: space-between;
}
header a {
padding: 0.6rem;
}
header img {
width: 2.4rem;
height: 2.4rem;
}
.right-header {
display: flex;
justify-content: center;
align-items: center;
}
.main {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 1rem;
}
.main img {
width: 27.2rem;
height: 9.2rem;
}
form {
margin-top: 2rem;
width: 70%;
}
label {
width: 100%;
position: relative;
}
label:before {
content: " ";
display: block;
position: absolute;
top: 0px;
right: 10px;
background: url("mic.svg");
height: 20px;
width: 20px;
}
label:after {
content: " ";
display: block;
position: absolute;
top: 0px;
left: 10px;
background: url("mag.svg");
height: 20px;
width: 20px;
}
input {
width: 100%;
border-radius: 1.5rem;
padding: 0.6rem 0.6rem 0.6rem 4rem;
border: 0.08rem solid lightgray;
}
input:hover {
box-shadow: 0 0 10px lightgray;
}
.buttons {
display: flex;
justify-content: center;
gap: 1rem;
margin-top: 2rem;
}
button {
border-radius: 0.4rem;
border: none;
padding: 0.5rem 1rem;
cursor: pointer;
background: #f5f5f594;
}
button:hover {
border: 1px solid lightgray;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment