Skip to content

Commit

Permalink
Merge pull request E-Cell-VSSUT#121 from amartya5481/main
Browse files Browse the repository at this point in the history
new issue resolved
  • Loading branch information
IshitaSatpathy authored Oct 11, 2022
2 parents 49c35a4 + 30f810e commit f97564b
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
20 changes: 20 additions & 0 deletions amartyacad/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap" rel="stylesheet">
<title>QR Code Component | Daniel Ervanda</title>
</head>
<body>
<main class="card">
<img src="./images/image-qr-code.png" class="card__image" alt="QR code">
<h1 class="card__title">Improve your front-end skills by building projects</h1>
<p class="card__description">Scan the QR code to visit Frontend Mentor and take your coding skills to the next level</p>
</main>
</body>
</html>
57 changes: 57 additions & 0 deletions amartyacad/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
:root {
--white: hsl(0, 0%, 100%);
--light-gray: hsl(212, 45%, 89%);
--grayish-blue: hsl(220, 15%, 55%);
--dark-blue: hsl(218, 44%, 22%);
}

*, *::after, *::before {
padding: 0;
margin: 0;
box-sizing: border-box;
}

body {
display: flex;
min-height: 100vh;
background-color: var(--light-gray);
font-family: 'Outfit', arial, sans-serif;
font-size: .9375rem /* 15px */ ;
}

.card {
display: flex;
flex-direction: column;
margin: auto;
background-color: var(--white);
width: 18.75rem /* 300px */ ;
padding: 1rem /* 16px */ ;
border-radius: 1.25rem /* 20px */ ;
box-shadow: 0 10px 15px rgb(0, 0, 0, .05);
}

.card__image {
display: block;
width: 100%;
height: auto;
margin-bottom: 1.75rem /* 28px */ ;
border-radius: .625rem /* 10px */ ;
}

.card__title, .card__description {
text-align: center;
margin: 0 .625rem /* 10px */ ;
}

.card__title {
color: var(--dark-blue);
font-size: 1.25rem /* 20px */ ;
font-weight: 700;
margin-bottom: 1.125rem /* 18px */ ;
}

.card__description {
font-weight: 400;
color: var(--grayish-blue);
margin-bottom: 1.25rem /* 20px */ ;
}

0 comments on commit f97564b

Please sign in to comment.