Add simple CSS for textarea

This commit is contained in:
Florine W. Dekker 2021-11-28 18:29:40 +01:00
parent 1a71de0b92
commit 85c6534a7e
Signed by untrusted user: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
4 changed files with 16 additions and 2 deletions

View File

@ -7,6 +7,9 @@ module.exports = grunt => {
default: ["dist/"],
},
copy: {
css: {
files: [{expand: true, cwd: "src/main/", src: "**/*.css", dest: "dist/", flatten: true}]
},
html: {
files: [{expand: true, cwd: "src/main/", src: "**/*.html", dest: "dist/", flatten: true}]
},
@ -16,7 +19,7 @@ module.exports = grunt => {
},
focus: {
dev: {
include: ["html", "js"],
include: ["css", "html", "js"],
},
},
replace: {
@ -69,6 +72,10 @@ module.exports = grunt => {
},
},
watch: {
css: {
files: ["src/main/**/*.css"],
tasks: ["copy:css"],
},
html: {
files: ["src/main/**/*.html"],
tasks: ["copy:html"],
@ -91,6 +98,7 @@ module.exports = grunt => {
// Pre
"clean",
// Copy files
"copy:css",
"copy:html",
"copy:txt",
// Compile
@ -103,6 +111,7 @@ module.exports = grunt => {
// Pre
"clean",
// Copy files
"copy:css",
"copy:html",
"copy:txt",
// Compile JS

View File

@ -1,6 +1,6 @@
{
"name": "debreviator",
"version": "0.0.1",
"version": "0.0.2",
"description": "Creates meaning by undoing your abbreviation.",
"author": "F.W. Dekker",
"browser": "dist/bundle.js",

3
src/main/css/main.css Normal file
View File

@ -0,0 +1,3 @@
#debreviations {
height: 20em;
}

View File

@ -12,6 +12,8 @@
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" />
<link rel="stylesheet" href="https://static.fwdekker.com/lib/template/2.x.x/template.css" />
<!--suppress HtmlUnknownTarget -->
<link rel="stylesheet" href="main.css?v=%%VERSION_NUMBER%%" />
<script async src="https://stats.fwdekker.com/count.js"
data-goatcounter="https://stats.fwdekker.com/count"></script>
</head>