Created
April 21, 2022 12:48
-
-
Save Terieyenike/f9f6c88ca887f8bc92d56ec0301d1317 to your computer and use it in GitHub Desktop.
The QR code menu stylesheet
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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap'); | |
*, | |
*::before, | |
*::after { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
body, | |
h1, | |
h2, | |
h3, | |
h4, | |
h5, | |
p, | |
figure, | |
picture { | |
margin: 0; | |
} | |
h1, | |
h2, | |
h3, | |
h4, | |
h5, | |
h6, | |
p { | |
font-weight: 400; | |
} | |
body { | |
font-family: "Montserrat", sans-serif; | |
font-size: 1.125rem; | |
color: #FFFFFF; | |
background: #27251F; | |
line-height: 1.5; | |
min-height: 100vh; | |
} | |
.container { | |
max-width: 75rem; | |
width: 85%; | |
margin-inline: auto; | |
} | |
section { | |
padding: 2em 0; | |
} | |
.row { | |
text-align: center; | |
} | |
h1, p { | |
text-align: left; | |
} | |
.row__left { | |
margin-bottom: 2em; | |
} | |
h1 { | |
font-weight: 700; | |
margin-bottom: .75em | |
} | |
footer { | |
position: fixed; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
bottom: 0; | |
left: 0; | |
width: 100%; | |
} | |
@media screen and (min-width: 768px) { | |
.row { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
min-height: 100vh; | |
} | |
.row__left { | |
margin: 0; | |
width: 50%; | |
} | |
} | |
@media screen and (min-width: 1200px) { | |
h1 { | |
font-size: 5rem; | |
margin-bottom: 0em; | |
} | |
p { | |
font-size: 2rem; | |
} | |
.row__left { | |
width: 60%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment