feat: cria pasta e arquivos css

This commit is contained in:
Cainã Milech 2022-11-08 09:35:21 -03:00
parent aeee2bf0f0
commit 76072c109a
4 changed files with 50 additions and 3 deletions

View File

@ -11,13 +11,31 @@
<title>Shopping List</title> <title>Shopping List</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles/main.css">
</head> </head>
<body> <body>
<main> <main>
<section> <section class="shopping-container">
<h2></h2> <h2 class="shopping-title">Shopping List</h2>
<form></form>
<form class="shopping-form">
<div class="shopping-form-inputs">
<div class="shopping-form-item-wrapper">
<label class="shopping-form-label" for="item-name">Item name</label>
<input class="shopping-form-item-input" type="text" name="item-name" id="item-name">
</div>
<div class="shopping-form-quantity-wrapper">
<button class="shopping-form-quantity-button shopping-form-decrement-button" type="button"></button>
<input type="text" name="item-quantity" value="1" disabled>
<button class="shopping-form-quantity-button shopping-form-increment-button" type="button"></button>
</div>
</div>
<button class="shopping-form-submit-button" type="submit">Add to list</button>
</form>
</section> </section>
</main> </main>
</body> </body>

17
styles/global.css Normal file
View File

@ -0,0 +1,17 @@
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body,
input,
button{
font-family: 'Roboto', sans-serif;
font-size: 16px;
color: var(--gray-500);
}
button{
cursor: pointer;
}

2
styles/main.css Normal file
View File

@ -0,0 +1,2 @@
@import "global.css";
@import "variables.css";

10
styles/variables.css Normal file
View File

@ -0,0 +1,10 @@
:root {
--white: #fff;
--gray-100: #e5e5e5;
--gray-300: #bdbdbd;
--gray-500: #333333;
--orange-300: #f6ad55;
--orange-500: #ed8936;
}