From abdb3346048ce8e1363667349fe49f025bf8910c Mon Sep 17 00:00:00 2001 From: Raptor Engineering Development Team Date: Thu, 7 Jul 2022 13:20:01 -0500 Subject: [PATCH] Add missing style CSS file Update build instructions in README --- README.md | 7 +++--- embeddedfiles/style.css | 56 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 embeddedfiles/style.css diff --git a/README.md b/README.md index 54bb62b..985d99c 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,11 @@ With that disclaimer out of the way... 4. Build Zephyr application export SOURCE_ROOT_DIR=$(pwd) - cd zephyr + cd zephyr-rtos mkdir build - ZEPHYR_BASE=${SOURCE_ROOT_DIR}/zephyr ZEPHYR_TOOLCHAIN_VARIANT=host cmake -DZEPHYR_MODULES="${SOURCE_ROOT_DIR}/littlefs;${SOURCE_ROOT_DIR}/mbedtls;${SOURCE_ROOT_DIR}/civetweb" -DBOARD=litex_kestrel ${SOURCE_ROOT_DIR}/zephyr-firmware - cp -Rp ../libsoft-fp.a zephyr/ + cd build + ZEPHYR_BASE=${SOURCE_ROOT_DIR}/zephyr-rtos ZEPHYR_TOOLCHAIN_VARIANT=host cmake -DZEPHYR_MODULES="${SOURCE_ROOT_DIR}/littlefs;${SOURCE_ROOT_DIR}/mbedtls;${SOURCE_ROOT_DIR}/civetweb" -DBOARD=litex_kestrel ${SOURCE_ROOT_DIR}/zephyr-firmware + cp -Rp ../../libsoft-fp.a zephyr/ make -j144 Output is in zephyr/zephyr.bin diff --git a/embeddedfiles/style.css b/embeddedfiles/style.css new file mode 100644 index 0000000..dec076f --- /dev/null +++ b/embeddedfiles/style.css @@ -0,0 +1,56 @@ +body { + font-family: Arial; + margin: 0; +} + +.header { + text-align: center; + background: #85b5e6; + color: white; + font-size: 30px; + height: 100px; + width: 100%; + line-height: 100px; + position: fixed; +} + +.sidebar_nav { + height: 100%; + width: 160px; + top: 0px; + left: 0; + background-color: #ccd7e6; + overflow-x: hidden; + padding-top: 120px; + position: fixed; +} + +.sidebar_nav a { + padding: 6px 8px 6px 16px; + text-decoration: none; + font-size: 25px; + color: black; + display: block; +} + +.sidebar_nav a:hover { + color: #808080; +} + +.footer { + position: fixed; + left: 160px; + bottom: 0; + width: 100%; + background-color: white; +} + +.footer_text { + color: #000000; + font-size: 12px; +} + +.main { + margin-left: 160px; /* Same as the width of the sidebar */ + padding: 100px 10px; +} \ No newline at end of file -- 2.30.2