Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CreatiqueMedia #1

Open
wants to merge 3 commits into
base: CM-STG
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions QR-Code-Component/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Avoid accidental upload of the Sketch and Figma design files
#####################################################
## Please do not remove lines 5 and 6 - thanks! 🙂 ##
#####################################################
*.sketch
*.fig

# Avoid accidental XD upload if you convert the design file
###############################################
## Please do not remove line 12 - thanks! 🙂 ##
###############################################
*.xd

# Avoid your project being littered with annoying .DS_Store files!
.DS_Store
.prettierignore
92 changes: 92 additions & 0 deletions QR-Code-Component/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
--White: hsl(0, 0%, 100%);
--LightGray: hsl(212, 45%, 89%);
--GrayishBlue: hsl(220, 15%, 55%);
--DarkBlue: hsl(218, 44%, 22%);
}

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap");

body {
background-color: var(--LightGray);
font-family: "Outfit", sans-serif;
font-size: 16px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

main {
display: flex;
justify-content: center;
align-items: center;
margin: 40px 0 0 0;
}

.card {
background-color: var(--White);
border-radius: 14px;
margin: 20px 0 0 0;
}

.card__qr__wrapper {
display: flex;
justify-content: center;
align-items: center;
margin: 20px;
}

.card__qr {
border-radius: 14px;
width: 90%;
}

.card__text__wrapper__heading {
text-align: center;
font-size: 38px;
margin: 40px 0 0 0;
}

.card__text__wrapper__paragraph {
color: var(--GrayishBlue);
font-size: 16px;
text-align: center;
display: block;
margin: 10%;
}

footer {
text-align: center;
margin: 40px 0 0 0;
}

footer a {
color: hsl(228, 45%, 44%);
}

@media screen and (max-width: 375px) {
main {
width: 80%;
}

.card__qr {
width: 100%;
}

.card__text__wrapper__heading {
font-size: 18px;
margin: 0;
}

footer {
font-size: 12px;
margin: 40px 0 40px 0;
}
}
Binary file added QR-Code-Component/images/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added QR-Code-Component/images/image-qr-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions QR-Code-Component/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- displays site properly based on user's device -->
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<link rel="stylesheet" href="./css/style.css" />
<title>Ron The Web Dev | QR code component</title>

<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style></style>
</head>
<body>
<main>
<section class="card">
<section class="card__qr__wrapper">
<img class="card__qr" src="./images/image-qr-code.png" />
</section>
<section class="card__text__wrapper">
<h1 class="card__text__wrapper__heading">
Improve your front-end<br />skills by building projects!
</h1>
<p class="card__text__wrapper__paragraph">
Scan the QR code to visit Frontend Mentor and take your coding
skills to the next level
</p>
</section>
</section>
</main>
<footer>
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by <a href="#">Ron Ratzlaff</a>.
</footer>
</body>
</html>