Remove unused styles, replace background image with smaller file
This commit is contained in:
parent
ebd518de9f
commit
87a27395d5
3 changed files with 3 additions and 5 deletions
BIN
images/matrix-356024_1920.jpg
Normal file
BIN
images/matrix-356024_1920.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3 MiB |
|
|
@ -15,7 +15,7 @@ html {
|
|||
}
|
||||
|
||||
body {
|
||||
background-image: url("./matrix-356024.jpg");
|
||||
background-image: url("./images/matrix-356024_1920.jpg");
|
||||
background-size: cover;
|
||||
font-family: "Fira Sans", sans-serif;
|
||||
display: flex;
|
||||
|
|
@ -33,7 +33,6 @@ header {
|
|||
flex: 0 0 auto;
|
||||
padding: 15px 0;
|
||||
background-color: var(--dark-trans);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
|
|
@ -49,8 +48,6 @@ main {
|
|||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.calculator {
|
||||
|
|
@ -64,12 +61,12 @@ main {
|
|||
border: 5px solid;
|
||||
border-color: #bbb #888 #666 #aaa;
|
||||
border-radius: 5px;
|
||||
max-width: 415px;
|
||||
}
|
||||
|
||||
.display {
|
||||
grid-column: 1 / span 4;
|
||||
height: 150px;
|
||||
max-width: 415px;
|
||||
padding: 5px;
|
||||
overflow: hidden;
|
||||
background-color: #333;
|
||||
|
|
@ -99,6 +96,7 @@ button {
|
|||
height: 100px;
|
||||
width: 100px;
|
||||
font-size: 50px;
|
||||
text-align: center;
|
||||
border-color: var(--light-text);
|
||||
border-radius: 5px;
|
||||
box-shadow: 1px 2px 10px 1px #222;
|
||||
|
|
|
|||
Loading…
Reference in a new issue