diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..cb576af --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,10 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.3.0 + hooks: + - id: trailing-whitespace +- repo: https://github.com/psf/black + rev: 22.3.0 + hooks: + - id: black + language_version: python3.9 diff --git a/infoscreen/static/infoscreen/css/abb.css b/infoscreen/static/infoscreen/css/abb.css index af6e203..6ef29ca 100644 --- a/infoscreen/static/infoscreen/css/abb.css +++ b/infoscreen/static/infoscreen/css/abb.css @@ -3,7 +3,7 @@ body { } #header:after { - content: " "; + content: " "; display: block; clear: both; } diff --git a/infoscreen/static/infoscreen/css/apy.css b/infoscreen/static/infoscreen/css/apy.css index fce7b61..19f40cd 100644 --- a/infoscreen/static/infoscreen/css/apy.css +++ b/infoscreen/static/infoscreen/css/apy.css @@ -12,7 +12,7 @@ body { .event { font-size: 100px; font-weight: bold; - margin-left: 20px; + margin-left: 20px; } .event-col{ padding-top:1vh; @@ -21,7 +21,7 @@ body { .header-row{ margin: 30px; - margin-left: 20px; + margin-left: 20px; font-size: 130px; padding-bottom:20px; color:#24a05f; diff --git a/infoscreen/static/infoscreen/css/infoscreen.css b/infoscreen/static/infoscreen/css/infoscreen.css index c8f48c5..6968a43 100644 --- a/infoscreen/static/infoscreen/css/infoscreen.css +++ b/infoscreen/static/infoscreen/css/infoscreen.css @@ -1,8 +1,8 @@ #infocontent { - width: 100%; - height: 100%; - position: fixed; - left: 0px; + width: 100%; + height: 100%; + position: fixed; + left: 0px; top: 0px; z-index: -1; /* Ensure div tag stays behind content; -999 might work, too. */ } diff --git a/infoscreen/static/infoscreen/css/sosso.css b/infoscreen/static/infoscreen/css/sosso.css index ad43080..ecf77d0 100644 --- a/infoscreen/static/infoscreen/css/sosso.css +++ b/infoscreen/static/infoscreen/css/sosso.css @@ -31,10 +31,10 @@ max-height 200px; } -#sossoimage { +#sossoimage { height:300px; - position: relative; - left: 0px; + position: relative; + left: 0px; top: 0px; } diff --git a/infoscreen/static/infoscreen/html/events.html b/infoscreen/static/infoscreen/html/events.html index cd73f37..7b0e1b3 100644 --- a/infoscreen/static/infoscreen/html/events.html +++ b/infoscreen/static/infoscreen/html/events.html @@ -1,5 +1,5 @@ - +