Skip to content

Instantly share code, notes, and snippets.

@samflab
Created July 20, 2021 13:05
Show Gist options
  • Save samflab/b2dae6b6439f3a61241b1cfdb428c5be to your computer and use it in GitHub Desktop.
Save samflab/b2dae6b6439f3a61241b1cfdb428c5be to your computer and use it in GitHub Desktop.
App.cs file for Cash Register Manager
.App {
display: flex;
flex-direction: column;
align-items: center;
font-family: monospace;
}
.heading {
padding-top: 20vh;
font-size: xx-large;
}
.cash-register {
display: grid;
grid-template-columns: 50% 50%;
background-color: white;
margin: 20px;
border-radius: 20px;
box-shadow: -4px 3px 19px 2px #00494d;
width: 80%;
}
.form {
padding: 35px;
display: flex;
flex-direction: column;
}
label {
text-align: left;
color: #5e7a7d;
font-size: 1.2rem;
font-weight: 700;
}
input {
width: 100%;
padding: 0.3125rem 0.75rem;
background-color: #f4fafa;
border: 2px solid transparent;
border-radius: 5px;
outline: none;
font-size: 1.25rem;
font-weight: 700;
font-family: monospace;
color: #00494d;
text-align: end;
cursor: pointer;
}
input:active, input:focus{
border:#0a767c 1.5px solid;
}
button{
background-color: #00494d;
color: white;
border:none;
border-radius: 10px;
padding:15px;
font-family: monospace;
font-size: 1rem;
font-weight: 600;
width: 50%;
align-self: center;
}
@media screen and (max-width: 960px) {
button{
width: 100%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment