init
This commit is contained in:
parent
ee97eae16a
commit
a88746075a
15 changed files with 582 additions and 0 deletions
68
css/_calc.scss
Normal file
68
css/_calc.scss
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
@import url("https://fonts.googleapis.com/css?family=Spartan&display=swap");
|
||||
|
||||
* {
|
||||
font-size: 16px;
|
||||
font-family: "Spartan";
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
transition: all ease-in-out 150ms;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
main {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
.container {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
&.view {
|
||||
@media (max-width: 767px) {
|
||||
width: 75vw;
|
||||
}
|
||||
font-size: 24px;
|
||||
width: 50vw;
|
||||
padding: 10px;
|
||||
background-color: lighten($background, 10%);
|
||||
border: 2px solid rgba(lighten($background, 10%), 0.25);
|
||||
box-shadow: 0px 0px 4px 4px rgba(lighten($background, 10%), 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
&.buttons {
|
||||
user-select: none;
|
||||
margin-top: 1rem;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
td {
|
||||
// Semi-responsive padding
|
||||
padding: 3rem 1rem;
|
||||
@media (max-width: 767px) {
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
width: 25%;
|
||||
background-color: lighten($background, 10%);
|
||||
cursor: pointer;
|
||||
font-size: 26px;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($background, 15%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue