add margins to the body

This commit is contained in:
Andreas Zweili 2017-12-27 18:21:07 +01:00
parent 45810163cf
commit 1351588d26
2 changed files with 20 additions and 0 deletions

View File

@ -567,6 +567,19 @@ positioned on the page.
The inventory.css file get's loaded in the base.html file. It provides
some generel theming over the application.
*** Body
Add a margin of a few pixels around the body.
#+BEGIN_SRC css :tangle ../inventory/static/css/inventory.css
body {
margin-top: 10px;
margin-bottom: 10px;
margin-right: 10px;
margin-left: 20px;
}
#+END_SRC
*** Tables
Display a border around tables.

View File

@ -1,3 +1,10 @@
body {
margin-top: 10px;
margin-bottom: 10px;
margin-right: 10px;
margin-left: 20px;
}
table, th, td {
border: 1px solid black;
}