From 9618ce8a9fff67cf32f50291f4d756e6490c6706 Mon Sep 17 00:00:00 2001 From: Pesc0 Date: Thu, 15 Jun 2023 13:58:27 +0200 Subject: [PATCH] Added freecad blog tab to start page --- src/Mod/Start/StartPage/StartPage.css | 23 ++++++++++++++++++++++- src/Mod/Start/StartPage/StartPage.html | 5 +++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/src/Mod/Start/StartPage/StartPage.css b/src/Mod/Start/StartPage/StartPage.css index e6551484b2..e39c563024 100644 --- a/src/Mod/Start/StartPage/StartPage.css +++ b/src/Mod/Start/StartPage/StartPage.css @@ -1,8 +1,15 @@ +html{ + height: 100%; + display: flex; + flex-direction: column; +} + body { background: BACKGROUND; color: BGTCOLOR; font-family: FONTFAMILY; font-size: FONTSIZE; + height: 100%; } OVERFLOW a, a:link, a:visited { @@ -37,7 +44,8 @@ hr { vertical-align:middle; } .container { - margin: 2% + margin: 2%; + height: 95%; } ul.tabs { margin: 9px 0; @@ -198,3 +206,16 @@ ul.workbenches li, ul.addonslist li { border-radius: 3px; min-height: 300px; } + + +.iframe { + display:block; + margin: auto; + text-align: center; + width:50%; + height:100%; +} + +.iframecontainer { + height:90%; +} \ No newline at end of file diff --git a/src/Mod/Start/StartPage/StartPage.html b/src/Mod/Start/StartPage/StartPage.html index b977d462dc..4288ad4f81 100644 --- a/src/Mod/Start/StartPage/StartPage.html +++ b/src/Mod/Start/StartPage/StartPage.html @@ -21,6 +21,7 @@
  • T_DOCUMENTS
  • T_HELP
  • T_ACTIVITY
  • +
  • BLOG
  • @@ -157,6 +158,10 @@
    + +