From ee193530b5c76e267b43499a0c3f67aec2996e7b Mon Sep 17 00:00:00 2001 From: Allan Blanchard Date: Thu, 10 Dec 2020 17:20:09 +0100 Subject: [PATCH 1/2] We can now reach both news and overview from home --- assets/css/home.css | 19 +++++++++++++++++-- index.html | 16 ++++++++++++++-- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/assets/css/home.css b/assets/css/home.css index 646c041b..f5308c10 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -174,7 +174,7 @@ opacity: 1; } -a.goDown { +div.goDown { position: absolute; bottom: 20px; text-align: center; @@ -182,7 +182,22 @@ a.goDown { z-index: 11; } -a.goDown .icon { +div.downlink { + display: inline-block; + width: 40vw; +} + +@media (min-width: 768px) { + div.downlink { + width: 30vw; + } +} + +div.downlink a { + font-size: 130% +} + +div.goDown .icon { color: #f79421; display: inline-block; font-size: 80%; diff --git a/index.html b/index.html index 7d2d7d59..80b8c856 100755 --- a/index.html +++ b/index.html @@ -31,8 +31,20 @@ description: "Frama-C - An open-source extensible and collaborative platform "icon icon-curly-right"> -
+
+ + +
-- GitLab From aa57b6dcef2d5321f04bb9018f89c74e1101c0e4 Mon Sep 17 00:00:00 2001 From: Allan Blanchard Date: Fri, 11 Dec 2020 13:50:32 +0100 Subject: [PATCH 2/2] Overview -> About in navigation --- _data/nav.yml | 2 +- _layouts/overview_page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/nav.yml b/_data/nav.yml index 60378854..d49b13ca 100644 --- a/_data/nav.yml +++ b/_data/nav.yml @@ -1,4 +1,4 @@ -- name: Overview +- name: About link: /html/overview.html id: overview - name: Features diff --git a/_layouts/overview_page.html b/_layouts/overview_page.html index 837378a6..62144dc3 100644 --- a/_layouts/overview_page.html +++ b/_layouts/overview_page.html @@ -18,7 +18,7 @@ css: plugin
{% endif %}
-

Overview of Frama-C

+

About Frama-C

{{ content }}
-- GitLab