-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💄🎨 improve and simplify styling and make styling work consistently fo…
…r large images
- Loading branch information
Showing
3 changed files
with
42 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,46 @@ | ||
*, | ||
html { | ||
font-family: Arial, Helvetica, sans-serif; | ||
padding: 0; | ||
margin: 0; | ||
box-sizing: border-box; | ||
|
||
font-family: Arial, Helvetica, sans-serif; | ||
|
||
--app-color: #ffffff; | ||
--pattern-color: rgb(165, 165, 165); | ||
--border-color: black; | ||
/* | ||
--pattern-color: rgb(135, 135, 135); | ||
--white: #AAD; | ||
*/ | ||
} | ||
|
||
#header { | ||
display: flex; | ||
justify-content: center; | ||
padding: 2rem; | ||
html { | ||
display: grid; | ||
text-align: center; | ||
} | ||
|
||
#app { | ||
h1 { | ||
margin: 2rem; | ||
} | ||
|
||
#content { | ||
display: grid; | ||
gap: 1rem; | ||
padding-bottom: 5rem; | ||
} | ||
|
||
.img-container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
/* background-color: rgb(255, 255, 255); */ | ||
row-gap: 1rem; | ||
padding: 1rem 0; | ||
border-top: 0.25rem solid #AAD; | ||
border-bottom: 0.25rem solid #AAD; | ||
|
||
background: linear-gradient(45deg, transparent 49%, #AAD 49% 51%, transparent 51%), linear-gradient(-45deg, transparent 49%, #AAD 49% 51%, transparent 51%); | ||
background-size: 1em 1em; | ||
background-color: #ffffff; | ||
opacity: 1 | ||
justify-content: center; | ||
|
||
/* borders */ | ||
border-top: 0.25rem solid var(--border-color); | ||
border-bottom: 0.25rem solid var(--border-color); | ||
|
||
/* pattern */ | ||
background: linear-gradient(45deg, transparent 49%, var(--pattern-color) 49.99% 50.01%, transparent 51%); | ||
background-size: 2.5em 2.5em; | ||
background-color: var(--app-color); | ||
opacity: 1; | ||
} |