PHPackages                             vonheldenundgestalten/contao-basic - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. vonheldenundgestalten/contao-basic

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

vonheldenundgestalten/contao-basic
==================================

Basic stylings for all VHUG projects (for Contao 5.3.x)

5.3.7(1mo ago)0536↓93.8%21MITPHP

Since Jun 23Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/vonheldenundgestalten/contao-basic)[ Packagist](https://packagist.org/packages/vonheldenundgestalten/contao-basic)[ RSS](/packages/vonheldenundgestalten-contao-basic/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (4)Versions (15)Used By (1)

contao-basic
============

[](#contao-basic)

Basic stylings and logic for every client project (Contao 5.3+)

contents
--------

[](#contents)

- setting basic video parameters in DCA, aspect ratio set to 16:9 if nothing else was selected
- adding basic CSS including reset logic for all projects
- adding CSS for basic layout and responsive behaviour on video and map elements (based on aspect ratio)
- adding CSS for imprint and privacy pages (requires page class *privacy* and content class *dsgvo21* on the mandatory info block to object direct advertising and data collection)

All logic is compatible with the bundle [contao-privacy](https://github.com/vonheldenundgestalten/contao-privacy) and includes not only the element style, but also the responsive styling for the privacy overlay.

includes an Asset Helper that enables Contao backend styling!
-------------------------------------------------------------

[](#includes-an-asset-helper-that-enables-contao-backend-styling)

In classic template mode (.html5) you can now include your assets like this, and the helper will make your styling also available in the backend, for nice backend previews:

```
