Skip to content

Instantly share code, notes, and snippets.

@Terieyenike
Created April 21, 2022 12:48
Show Gist options
  • Save Terieyenike/f9f6c88ca887f8bc92d56ec0301d1317 to your computer and use it in GitHub Desktop.
Save Terieyenike/f9f6c88ca887f8bc92d56ec0301d1317 to your computer and use it in GitHub Desktop.
The QR code menu stylesheet
@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