From 6f0925e23f01a79b845d7dedc76d7600e730ca7c Mon Sep 17 00:00:00 2001 From: pacome Date: Mon, 24 May 2021 00:50:05 +0200 Subject: [PATCH] updated style --- site/index.html | 36 +++++++++++++++++++++++++----------- site/style/style.css | 14 ++++++++++++-- site/style/style.less | 10 ++++++++++ 3 files changed, 47 insertions(+), 13 deletions(-) diff --git a/site/index.html b/site/index.html index dd0b679..e0911ec 100644 --- a/site/index.html +++ b/site/index.html @@ -30,7 +30,9 @@
-

Des cartes locales, à prix libre,
optimisées pour la randonnée. +

Des cartes locales, à prix libre, + +
optimisées pour la randonnée.

diff --git a/site/style/style.css b/site/style/style.css index 5e0c1d6..ae9796a 100644 --- a/site/style/style.css +++ b/site/style/style.css @@ -358,7 +358,7 @@ body { margin: auto; padding: 64px; padding-top: 0px; - max-width: 1280px; + max-width: 1440px; } h1 { font-size: 4rem; @@ -372,6 +372,16 @@ h1 .second-line { details { margin-bottom: 10.66666667px; } +details summary { + cursor: pointer; + font-size: 1.25rem; +} +details summary:hover { + background-color: #ffff94; +} +details > *:not(summary) { + margin-left: 1.4rem; +} p.pitch { font-size: 2.4rem; line-height: 135%; @@ -412,7 +422,7 @@ p.pitch a:hover { width: 60%; } .block-with-sidebar > div.block-main img { - width: 90%; + width: 100%; } .block-with-sidebar.sidebar-right .block-sidebar { padding-left: 16px; diff --git a/site/style/style.less b/site/style/style.less index 25af488..5ccb58f 100644 --- a/site/style/style.less +++ b/site/style/style.less @@ -43,6 +43,16 @@ h1 { details { margin-bottom: @margin / 3; + summary { + cursor: pointer; + font-size: 1.25rem; + &:hover { + background-color: @pitchLinkColor; + } + } + >*:not(summary) { + margin-left: 1.4rem; + } } p.pitch {