The margin-bottom of the last paragraphs was removed to make white space
at the end of the page same as on the top and sides.
Content images are now embedded in paragrapsh to ensure correct spacing
and use a class instead of an id, because there aren't unique.
Removed css rules for ul and li elements, which the project no longer
contains.
The margin-bottom of the last paragraphs was removed to make white space
at the end of the page same as on the top and sides.
Content images are now embedded in paragrapsh to ensure correct spacing
and use a class instead of an id, because there aren't unique.
Removed css rules for ul and li elements, which the project no longer
contains.
According to jinja documentation the order of dictionary elements is not
guaranteed. With this change the routing functions in app.py were
refactored to avoid repeating similar calls to render_template.
Added documentation to app.py.
Navbar objects in app.py should only contain information needs to be
accessed from all tabs. This includes urls and page titles, but not
header pictures of individual tabs.
Navbar items are now passed as a dictionary to the templating engine.
Route definition now makes use of Flask's converters.
Removed unecessary references to super-blocks from layout.html children.
Navbar items are now passed as a dictionary to the templating engine.
Route definition now makes use of Flask's converters.
Removed unecessary references to super-blocks from layout.html children.
The images now take half the horizontal space.
Image height is capped to ensure the caption text is always shorter.
More documentation on the css-tricks used to hide the showmore-button.
Line height and the main colors are now put in css variables.
Added html class shadow to apply the same box shadow to elements while
staying DRY. Updated ajankohtaista css class names to be in line with
the project naming conventions.