basic css properties needed and html styled in what I hope is the right way
This commit is contained in:
parent
461c76ab61
commit
fa08527d1a
|
@ -0,0 +1,90 @@
|
||||||
|
/*
|
||||||
|
* Design sizes:
|
||||||
|
* 375x2215
|
||||||
|
* 768x540
|
||||||
|
* 1440x308
|
||||||
|
*/
|
||||||
|
|
||||||
|
*,
|
||||||
|
::before,
|
||||||
|
::after {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
/* General Colors */
|
||||||
|
--col-dark-cyan: hsla(192, 37%, 48%, 1);
|
||||||
|
--col-light-cyan: hsla(192, 90%, 77%, 1);
|
||||||
|
--col-dark-magenta: hsla(268, 34%, 53%, 1);
|
||||||
|
--col-light-magenta: hsla(268, 100%, 86%, 1);
|
||||||
|
--col-dark-blue-gray: hsla(240, 21%, 20%, 1);
|
||||||
|
--col-light-gray: hsla(240, 10%, 57%, 1);
|
||||||
|
--col-slightly-off-white: hsla(0, 0%, 98%, 1);
|
||||||
|
|
||||||
|
/* */
|
||||||
|
--col-background: var(--col-slightly-off-white);
|
||||||
|
--col-headers: var(--col-dark-blue-gray);
|
||||||
|
--col-body: var(--col-light-gray);
|
||||||
|
--col-button-text: white;
|
||||||
|
--col-button-background: var(--col-dark-magenta);
|
||||||
|
--col-button-background-hover: var(--col-light-magenta);
|
||||||
|
|
||||||
|
/* Typography */
|
||||||
|
--fs-page-header: 2.5rem;
|
||||||
|
--lh-page-header: 110%;
|
||||||
|
--fw-page-header: 900;
|
||||||
|
|
||||||
|
--fs-main-page-body: 1rem;
|
||||||
|
--lh-main-page-body: 162%;
|
||||||
|
--fw-main-page-body: 500;
|
||||||
|
|
||||||
|
--fs-sell-tag: 1rem;
|
||||||
|
--lh-sell-tag: 162%;
|
||||||
|
--ls-sell-tag: 4px;
|
||||||
|
--fw-sell-tag: 900;
|
||||||
|
|
||||||
|
--fs-second-heading: 2rem;
|
||||||
|
--lh-second-heading: 112%;
|
||||||
|
--fw-second-heading: 900;
|
||||||
|
|
||||||
|
--fs-footer-header: 2rem;
|
||||||
|
--lh-footer-header: 112%;
|
||||||
|
--fw-footer-header: 900;
|
||||||
|
|
||||||
|
--fs-footer-body: 1.125rem;
|
||||||
|
--lh-footer-body: 144%;
|
||||||
|
--fw-footer-body: 500;
|
||||||
|
|
||||||
|
--fs-button: 1rem;
|
||||||
|
--lh-button: 162%;
|
||||||
|
--fw-button: 900;
|
||||||
|
|
||||||
|
--padding-btn: 1rem 2.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
height: 100vh;
|
||||||
|
|
||||||
|
font-family: "Red Hat Display", sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 48rem) {
|
||||||
|
/* 768px */
|
||||||
|
:root {
|
||||||
|
/* Typography */
|
||||||
|
--fs-page-header: 4rem;
|
||||||
|
--lh-page-header: 100%;
|
||||||
|
|
||||||
|
--fs-second-heading: 2.5rem;
|
||||||
|
--lh-second-heading: 110%;
|
||||||
|
|
||||||
|
--fs-main-page-body: 1.125rem;
|
||||||
|
--lh-main-page-body: 144%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 90rem) {
|
||||||
|
/* 1440px */
|
||||||
|
}
|
|
@ -1,31 +1,68 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon-32x32.png">
|
||||||
|
<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=Red+Hat+Display:wght@500;900&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="css/style.css">
|
||||||
<title>Frontend Mentor | Meet landing page</title>
|
<title>Frontend Mentor | Meet landing page</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
Meet makes it easy to connect with others face-to-face virtually and collaborate across any device.
|
<header>
|
||||||
|
<picture>
|
||||||
|
<img src="assets/logo.svg" alt="Logo of Meet">
|
||||||
|
</picture>
|
||||||
|
</header>
|
||||||
|
|
||||||
Download v1.3
|
<main>
|
||||||
What is it?
|
<section>
|
||||||
|
<picture>
|
||||||
|
<img src="assets/tablet/image-hero.png" alt="Image of users of meet" aria-hidden="true">
|
||||||
|
</picture>
|
||||||
|
<picture>
|
||||||
|
<img src="assets/desktop/image-hero-left.png" alt="Image of users of meet" aria-hidden="true">
|
||||||
|
</picture>
|
||||||
|
<h1>Group Chat for Everyone</h1>
|
||||||
|
<picture>
|
||||||
|
<img src="assets/desktop/image-hero-right.png" alt="Image of users of meet" aria-hidden="true">
|
||||||
|
</picture>
|
||||||
|
<p>Meet makes it easy to connect with others face-to-face virtually and collaborate across any device.</p>
|
||||||
|
<a href="">Download <span>v1.3</span></a>
|
||||||
|
<a href="">What is it?</a>
|
||||||
|
</section>
|
||||||
|
|
||||||
01
|
<section>
|
||||||
Built for modern use
|
<div>01</div>
|
||||||
|
|
||||||
Smarter meetings, all in one place
|
<section>
|
||||||
|
<img src="assets/desktop/image-woman-in-videocall.jpg" alt="A Woman in a Videocall">
|
||||||
|
<img src="assets/desktop/image-women-videochatting.jpg" alt="A group of women video chatting">
|
||||||
|
<img src="assets/desktop/image-men-in-meeting.jpg" alt="A man in a meeting via video chat">
|
||||||
|
<img src="assets/desktop/image-man-texting.jpg" alt="A man sitting and texting">
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h3>Built for modern use</h3>
|
||||||
|
<h2>Smarter meetings, all in one place</h2>
|
||||||
Send messages, share files, show your screen, and record your meetings — all in one
|
Send messages, share files, show your screen, and record your meetings — all in one
|
||||||
workspace. Control who can join with invite-only team access, data encryption, and data export.
|
workspace. Control who can join with invite-only team access, data encryption, and data export.
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
02
|
<footer>
|
||||||
Experience more together
|
|
||||||
Stay connected with reliable HD meetings and unlimited one-on-one and group video sessions.
|
|
||||||
|
|
||||||
Download v1.3
|
<div>02</div>
|
||||||
|
<h2>Experience more together</h2>
|
||||||
|
<p>Stay connected with reliable HD meetings and unlimited one-on-one and group video sessions.</p>
|
||||||
|
|
||||||
|
<a href="">Download <span>v1.3</span></a>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue