diff --git a/index.html b/index.html index a2d9c01..2a924ef 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,93 @@ -NPM Clone Nifty Penguin Magic npm Enterprise Products Solutions Resources Docs Support Search Join Log In Build amazing -things Essential JavaScript development tools that help you go to market faster and build powerful applications using -modern open source code. See plans Join for free Bring the best of open source to your company npm is the tool used by -over 11,000,000 JavaScript developers around the world. Your developers already use it. Your company depends on it. -Create an Org and get more out of the tools your team already knows and loves. Zero configuration Create an org, add -your team, and start collaborating. Nothing to configure, set up, or manage. Team management Control who has access to -what modules within your team namespace using straightforward team management capabilities. Familiar features npm Orgs -has 100% parity with all the public npm registry features your developers already use. npm audit Enjoy the security -auditing features built into the npm client, a zero-friction way to make open source software safer. Create an Org + + + + + + + Lab HTML Exercise + + +
+
+
+ black heart + Nifty Penguin Magic +
+ +
+ +
+ site-log +
+ + +
+ + +
+ +
+ +
+

Build amazing things

+
+ Essential JavaScript development tools that help you
go to market faster and build powerful applications
using modern open source code. +
+
+ + Join for Free +
+
+
+ triangle-hexagon +
+
+ +

Bring the best of open source to your company

+
+ npm is the tool used by over 11,000,000 JavaScript developers
around the world. Your developers already use it. Your company depends on it. Create an Org and get more out of the tools your
team already knows and loves. +
+
+ +
+
+ zero-configuration +

Zero Configuration

+

Create an org, add your team, and start collaborating. Nothing to configure, set up, or manage.

+
+
+ team-management +

Team Management

+

Control who has access to what modules within your team namespace using straightforward team management capabilities.

+
+
+ familiar-features +

Familiar Features

+

npm Orgs has 100% parity with all the public npm registry features your developers already use.

+
+
+ npm-audit +

npm audit

+

Enjoy the security auditing features built into the npm client, a zero-friction way to make open source software safer.

+
+ +
+
Create an Org
+ + diff --git a/style/style.css b/style/style.css new file mode 100644 index 0000000..bfc5797 --- /dev/null +++ b/style/style.css @@ -0,0 +1,252 @@ +@import url(https://fonts.google.com); +body{ + font-family: 'Poppins'; +} + +header > div{ + padding: 0 25px; + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 1px solid light; +} +nav{ + width: 600px; +} +nav ul{ + list-style: none; + display: flex; + justify-content: space-between; + align-items: center; +} +nav a{ + text-decoration: none; + color: black; +} +.blackHeart{ + width: 20px; + margin-right: 1rem; +} + +/* Styles for the search input content */ +.search-input-content { + background-color: rgba(0,0,0,.05); + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px 25px; + border-bottom: 1px solid light; + background-color: #faf7f7; + color: #fff; + box-sizing: border-box; +} + +/* Styles for the logo */ +.search-input-content .site-log { + width: 80px; + margin-right: 1rem; +} + +/* Styles for the search input section */ +#search-iput { + background-color: rgba(0,0,0,.05); + display: flex; + align-items: center; + flex: 1; +} + +/* Styles for the magnifying glass image */ +#search-iput .site-log { + width: 30px; + margin-right: 1rem; +} + + + +#search-iput .search input[type="text"] { + flex: 2; + padding: 15px; + border: none; + border-radius: 5px; + background-image: url(../images/magnifying-glass.png); + background-position: 10px 10px; + background-size: 20px; + background-repeat: no-repeat; + + + + +} + +#search-iput button { + background-color: #fb3e44; + color: #fff; + border: none; + padding: 8px 15px; + border-radius: 5px; + box-sizing: border-box; + resize: none; + height: 40px; + width: 100px; + +} +::placeholder{ + padding: 40px; + font-size: 20px; +} +/* Style for the "Join" link */ +#header-links a { + text-decoration: none; + color: black; + border: 1px solid black; + padding: 5px 10px; + border-radius: 5px; + margin-right: 1rem; +} + +/* Style for the "Login" link */ +.header-links a { + text-decoration: none; + color: black; + padding: 5px 10px; + border-radius: 5px; + margin-left: 1rem; +} + + +/* Center the text within the main section */ +.main { + text-align: center; + padding: 120px; + background-color: rgba(232,217,217,.3); + background-size: cover; + background-position: center center; + background-repeat: no-repeat; + max-width: 1920px; + height: 600px; + +} + +/* Style the heading */ +.main h1 { + font-size: 60px; + margin-bottom: 10px; + padding: 20px; + + +} + +/* Style the article content */ +.main .article { + font-size: 18px; + margin-bottom: 20px; + padding: 20px; +} + +/* Style the button */ +.main button { + background-color: red; + color: #fff; + border: none; + padding: 10px 20px; + border-radius: 5px; + margin-right: 10px; + box-shadow: 8px 8px 0 rgba(251, 59, 73, 0.2); /* Add the box shadow */ +} + + +/* Style the "Join for Free" link */ +.main a { + text-decoration: none; + color: black; + margin-left: 10px; +} + +/* Center the content within the section */ +section { + text-align: center; + padding: 20px; +} +/* Style the container of section1 */ +.section1 { + display: flex; + justify-content: flex-start; + align-items: center; + margin: 20px 0; + + /* Add a background color with skew transformation */ + background-color: rgba(255, 204, 53, 0.4); + transform: skew(-9deg, 0deg); + font-style: italic; + padding: 20px; +} + +/* Style the image within section1 */ +.hex-image { + display: flex; + justify-content: center; + align-items: center; + height: 100%; +} + +.hex-image img { + max-width: 200px; + padding: 50px; +} +/* Style the heading within section1 */ +.section1 h2 { + font-size: 24px; + margin: 0; + color: #333; /* Text color */ +} + +/* Style the article content within section1 */ +.section1 .article { + font-size: 16px; + margin: 0; + color: #333; /* Text color */ +} + +/* Container for the flex items */ +.flex { + display: flex; + justify-content: space-between; + align-items: flex-start; + flex-wrap: wrap; + gap: 20px; +} + +/* Individual flex items */ +.flexi { + flex: 1; + text-align: center; + border: 1px solid red; + padding: 20px; + position: relative; +} + +/* Images floated to the top left */ +.flexi .flexi-image img { + width: 40px; + position: absolute; + top: 0; + left: 0; + margin: 10px; +} + +/* Red headings */ +.flexi h2 { + color: red; +} + +/* Black button */ +.black-button { + text-align: center; + background-color: black; + color: white; + padding: 10px 20px; + width: 150px; + margin: 20px auto; + border: none; + border-radius: 5px; +}