mirror of
https://github.com/Nezumi-2711/loi-phan-internship.git
synced 2026-09-22 20:01:33 +00:00
Init project
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
.parcel-cache
|
||||
|
||||
node_modules
|
||||
|
||||
dist
|
||||
Generated
+3949
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "practice-02",
|
||||
"version": "1.0.0",
|
||||
"description": "Practice 02",
|
||||
"scripts": {
|
||||
"start": "rm -rf dist && rm -rf .parcel-cache && parcel ./src/*.pug --no-cache --no-source-maps",
|
||||
"build": "rm -rf build && rm -rf .parcel-cache && parcel build ./src/*.pug --no-cache --no-source-maps --dist-dir dist",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@parcel/transformer-pug": "^2.9.3",
|
||||
"@parcel/transformer-sass": "^2.9.3",
|
||||
"parcel": "^2.9.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"pug": "^3.0.2",
|
||||
"sass": "^1.63.6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
doctype html
|
||||
html(lang="en")
|
||||
head
|
||||
meta(charset="UTF-8")
|
||||
meta(name="viewport", content="width=device-width, initial-scale=1.0")
|
||||
link(rel="stylesheet", href="./sass/main.scss")
|
||||
title Food Hut
|
||||
body
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
$background-color_1: transparent;
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font: inherit;
|
||||
&:before {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
&:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
picture {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
svg {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
video {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
input {
|
||||
background-color: $background-color_1;
|
||||
outline: none;
|
||||
}
|
||||
select {
|
||||
background-color: $background-color_1;
|
||||
outline: none;
|
||||
}
|
||||
textarea {
|
||||
background-color: $background-color_1;
|
||||
outline: none;
|
||||
}
|
||||
button {
|
||||
cursor: pointer;
|
||||
background-color: $background-color_1;
|
||||
outline: none;
|
||||
border: 0;
|
||||
}
|
||||
body {
|
||||
min-height: 100vh;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@import "./base/reset.scss";
|
||||
Reference in New Issue
Block a user