From aca62f22e491407fecad58307c045bd6a72a27f1 Mon Sep 17 00:00:00 2001 From: Timo Henkensiefken Date: Fri, 6 Dec 2024 20:21:24 +0100 Subject: [PATCH] minimal working example --- .ratpoisonrc | 4 ++-- index.html | 1 + style.css | 27 +++++++++++++++++++++------ 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.ratpoisonrc b/.ratpoisonrc index 129c06f..82268e1 100644 --- a/.ratpoisonrc +++ b/.ratpoisonrc @@ -1,7 +1,7 @@ banish -#exec chromium --noerrdialogs --enable-features=OverlayScrollbar --start-maximized --kiosk ~/abfahrten-monitor/index.html --incognito --disable-translate +exec chromium --noerrdialogs --enable-features=OverlayScrollbar --kiosk ~/beci-anzeige/index.html --incognito --disable-translate -exec chromium --noerrdialogs --enable-features=OverlayScrollbar --user-data-dir="/home/bildschirm/.config/chromium/" --kiosk "http://bus.fs-et.de/InfoDisplay2_bussued.htm" +#exec chromium --noerrdialogs --enable-features=OverlayScrollbar --user-data-dir="/home/bildschirm/.config/chromium/" --kiosk "http://bus.fs-et.de/InfoDisplay2_bussued.htm" #exec chromium --noerrdialogs --enable-features=OverlayScrollbar --start-maximized --kiosk 'https://echtzeit.swu.de/' --incognito --disable-translate \ No newline at end of file diff --git a/index.html b/index.html index e3562f5..6f6a2e2 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@
+ --:--
diff --git a/style.css b/style.css index dfe902d..8cbbf74 100644 --- a/style.css +++ b/style.css @@ -8,14 +8,24 @@ body { width: 50%; padding: 0; margin: 0; + background-color: black; } #headerBar { - font-size: 46px; + font-size: 60px; font-weight: bold; color: white; - background-color: #444; + background-color: black; padding: 8px; + padding-top: 48px; + padding-bottom: 48px; +} + +#fini { + width: 120px; + float: left; + margin: 48px; + margin-top: 0px; } #stationName, #timeBox { @@ -37,26 +47,31 @@ body { width: 100%; } +#contentSection tr:nth-child(odd) { + background-color: white; +} + #contentSection tr:nth-child(even) { background-color: #EEE; } #contentSection th { - font-size: 26px; + font-size: 50px; text-align: left; padding: 8px; } #contentSection td { - font-size: 28px; + font-size: 50px; padding-left: 12px; padding-right: 4px; padding-top: 8px; } + .cellRoute { - width: 45px; - height: 45px; + width: 60px; + height: 60px; } .cellDest {