From 79d784852f6204e394a2e2264d832b0fab7b4363 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Mon, 30 Aug 2021 12:57:47 +0200 Subject: [PATCH] changes to the specifications page Signed-off-by: Toshaan Bharvani --- themes/openpowerfoundation/assets/css/changelog.scss | 6 +++++- themes/openpowerfoundation/assets/css/style.css | 4 ++-- .../layouts/specifications/single.html | 11 ++++++++--- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/themes/openpowerfoundation/assets/css/changelog.scss b/themes/openpowerfoundation/assets/css/changelog.scss index 9a867a4..2bdc4c8 100644 --- a/themes/openpowerfoundation/assets/css/changelog.scss +++ b/themes/openpowerfoundation/assets/css/changelog.scss @@ -1,12 +1,13 @@ .changelog { white-space: nowrap; overflow-x: hidden; + text-align: center; margin: 10px 0px 10px 0px; } .changelog ol { font-size: 0; width: 100vw; - padding: 100px 0; + padding: 150px 0; transition: all 1s; } .changelog ol li { @@ -81,6 +82,9 @@ font-size: 0.7rem; margin-bottom: 8px; } +.changelog #download a { + color: #ffffff; +} .changelog .arrows { display: flex; justify-content: center; diff --git a/themes/openpowerfoundation/assets/css/style.css b/themes/openpowerfoundation/assets/css/style.css index 225017a..3fc68e1 100644 --- a/themes/openpowerfoundation/assets/css/style.css +++ b/themes/openpowerfoundation/assets/css/style.css @@ -711,8 +711,8 @@ body.mobile-nav-active #mobile-nav-toggle { color: #1dc8cd; } #page .content ul { - list-style: none; - padding: 0; + /*list-style: none;*/ + /*padding: 0;*/ } #page .content ul li { padding-bottom: 10px; diff --git a/themes/openpowerfoundation/layouts/specifications/single.html b/themes/openpowerfoundation/layouts/specifications/single.html index 2b95d32..3d184a3 100644 --- a/themes/openpowerfoundation/layouts/specifications/single.html +++ b/themes/openpowerfoundation/layouts/specifications/single.html @@ -12,18 +12,22 @@

{{ .Title }}

-
 
{{ if $datafile.versions }} {{ range last 1 $datafile.versions }} - Latest version {{ .number }} + Download version {{.number }} {{ end }} {{ end }}
+ {{ if $datafile.versions }} + {{ range last 1 $datafile.versions }} + Latest version {{ .number }} + {{ end }} + {{ end }}
 
@@ -41,7 +45,6 @@ {{ end }} - {{ if $datafile.versions }}
@@ -50,7 +53,9 @@ {{ range $datafile.versions }}
  • version {{ .number }} + {{ .date }} {{ .description }} + download
  • {{ end }}