-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,12 @@ | |
"author": "macx <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"dev": "npx yarn watch:css & npx yarn serve", | ||
"dev": "yarn watch:css & yarn serve", | ||
"serve": "browser-sync start --server public --files public --open", | ||
"watch:css": "sass --watch src/sass:public/css", | ||
"postcss": "postcss public/css/*.css -u autoprefixer cssnano -r --no-map", | ||
"build": "npx yarn build:css && npx yarn postcss", | ||
"build:css": "sass src/sass:public/css" | ||
"watch:css": "npx sass --watch src/sass:public/css", | ||
"postcss": "npx postcss public/css/*.css -u autoprefixer cssnano -r --no-map", | ||
"build": "yarn build:css && yarn postcss", | ||
"build:css": "npx sass src/sass:public/css" | ||
}, | ||
"devDependencies": { | ||
"autoprefixer": "^10.4.17", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
body { | ||
background: ghostwhite; | ||
color: black; | ||
font-family: system-ui; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,25 @@ | ||
@use 'presets'; | ||
|
||
/* | ||
┌──────────────────────────────────┐ | ||
NUR ZUR DEMO. BITTE LÖSCHEN! | ||
└──────────────────────────────────┘ | ||
*/ | ||
|
||
body { | ||
background: firebrick; | ||
color: ghostwhite; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | ||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', | ||
sans-serif; | ||
display: grid; | ||
place-items: center; | ||
min-height: 100dvh; | ||
text-align: center; | ||
} | ||
|
||
.button { | ||
all: unset; | ||
display: inline-block; | ||
background-color: black; | ||
color: white; | ||
line-height: 1; | ||
padding-block: 0.5rem; | ||
padding-inline: 1.5rem; | ||
cursor: pointer; | ||
} |