- commit
- a014f4b83a5d4969bdb453ef94fcdfb73087fe8c
- parent
- ce6b10c910570f51d1b7769f22c256768c4fbdbb
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2018-10-12 17:06
add styling
Diffstat
| M | .gitignore | 1 | + |
| M | package.json | 3 | +++ |
| A | static/main.scss | 10 | ++++++++++ |
| M | templates/form.html | 1 | + |
4 files changed, 15 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
@@ -1,2 +1,3 @@ 1 1 /vendor/ 2 2 /node_modules/ -1 3 *.css
diff --git a/package.json b/package.json
@@ -4,5 +4,8 @@ 4 4 "dependencies": { 5 5 "font-awesome": "^4.7.0", 6 6 "simplemde": "^1.11.2" -1 7 }, -1 8 "devDependencies": { -1 9 "mfbs": "^4.0.0" 7 10 } 8 11 }
diff --git a/static/main.scss b/static/main.scss
@@ -0,0 +1,10 @@
-1 1 @import "../node_modules/mfbs/sass/variables";
-1 2 @import "../node_modules/mfbs/sass/base";
-1 3 @import "../node_modules/mfbs/sass/form";
-1 4 @import "../node_modules/mfbs/sass/layout";
-1 5
-1 6 textarea {
-1 7 display: block;
-1 8 width: 100%;
-1 9 margin-bottom: $spacer;
-1 10 }
diff --git a/templates/form.html b/templates/form.html
@@ -5,6 +5,7 @@ 5 5 <meta name="viewport" content="width=device-width, initial-scale=1"> 6 6 <link rel="stylesheet" type="text/css" href="node_modules/font-awesome/css/font-awesome.min.css"> 7 7 <link rel="stylesheet" type="text/css" href="node_modules/simplemde/dist/simplemde.min.css"> -1 8 <link rel="stylesheet" type="text/css" href="static/main.css"> 8 9 </head> 9 10 <body> 10 11 <form class="l-main" method="POST">