From 71c2ce0dd1e373e487c418f14692cddb50ea4f24 Mon Sep 17 00:00:00 2001 From: jeanmarie Date: Mon, 18 May 2020 16:07:10 +0200 Subject: [PATCH 1/7] Pas de bordure sur les liens des h2 de l'accueil et des rubriques (titres des articles spotlight) --- css/styles_config.css.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/css/styles_config.css.html b/css/styles_config.css.html index 207df9c..a587039 100644 --- a/css/styles_config.css.html +++ b/css/styles_config.css.html @@ -44,6 +44,7 @@ body.landing #page-wrapper { [#menu { background-color:(#CONFIG{html5up/couleur_bkg_menu}); }] [#menu ul > li > a, #menu { color:(#CONFIG{html5up/couleur_typo_menu}); }] +.spotlight h2 a {border:0 ; } .wrapper.style1, .wrapper.style1 h2 {[ color:(#CONFIG{html5up/couleur_typo_hero});][ background-color:(#CONFIG{html5up/couleur_bkg_hero});] } .wrapper.style3, .wrapper.style3 h2, .wrapper.style3 strong {[ color:(#CONFIG{html5up/couleur_typo_major});][ background-color:(#CONFIG{html5up/couleur_bkg_major});] } @@ -57,3 +58,4 @@ body.landing #page-wrapper { /* , .wrapper.style1 h3, .wrapper.style1 h4, .wrapper.style1 h5, .wrapper.style1 h6 */ + From edb4d7538bdfb2db484711100bb6fdfa3fb0781b Mon Sep 17 00:00:00 2001 From: jeanmarie Date: Mon, 18 May 2020 16:14:40 +0200 Subject: [PATCH 2/7] =?UTF-8?q?Des=20cha=C3=AEnes=20de=20langue=20qui=20tr?= =?UTF-8?q?ainent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lang/html5up_de.php | 5 ++--- lang/html5up_en.php | 4 ++-- lang/html5up_fr.php | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lang/html5up_de.php b/lang/html5up_de.php index 8777ba9..d60003f 100755 --- a/lang/html5up_de.php +++ b/lang/html5up_de.php @@ -30,7 +30,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'en_savoir_plus' => 'weiterlesen', // H - 'html5up_editorial_titre' => 'Html5up Editorial ', + 'html5up_spectral_titre' => 'Html5up Spectral ', 'hero' => 'Superartikel', 'hero_explications' => 'Der erste hervorgehobene Artikel auf der Startseite.', 'heroside' => 'Superartikel der linken Spalte', @@ -55,6 +55,5 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // T 'theme_graphique_par_html5up' => 'Design von HTML5 UP', - 'titre_page_configurer_html5up_editorial' => 'Einstellungen des Design Editorial', - 'titre_page_configurer_html5up_solid_state' => 'Skelett Solid State konfigurieren', + 'titre_page_configurer_html5up_spectral' => 'Einstellungen des Design Spectral', ); diff --git a/lang/html5up_en.php b/lang/html5up_en.php index 874a893..564e320 100644 --- a/lang/html5up_en.php +++ b/lang/html5up_en.php @@ -27,7 +27,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'contact_complement' => 'Further information', // H - 'html5up_editorial_titre' => 'Html5up Editorial ', + 'html5up_spectral_titre' => 'Html5up Spectral ', 'hero' => 'Article heroin', 'hero_explications' => 'It is the first article put forward on the homepage.', 'heroside' => 'Article heroin in left column', @@ -48,5 +48,5 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // T 'theme_graphique_par_html5up' => 'Design by HTML5 UP', - 'titre_page_configurer_html5up_editorial' => 'Configure the Editorial template', + 'titre_page_configurer_html5up_spectral' => 'Configure the Spectral template', ); diff --git a/lang/html5up_fr.php b/lang/html5up_fr.php index 7b8ab69..ce38f97 100644 --- a/lang/html5up_fr.php +++ b/lang/html5up_fr.php @@ -53,7 +53,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'generalites' => 'Généralités', // H - 'html5up_editorial_titre' => 'Html5up Editorial ', + 'html5up_spectral_titre' => 'Html5up Spectral ', 'hero' => 'L\'article héro', 'hero_explications' => 'C\'est le premier article mis en avant sur la page d\'accueil.', From 01cdf86bffe01e1fd4285eb68edf68c818c42f28 Mon Sep 17 00:00:00 2001 From: jeanmarie Date: Mon, 18 May 2020 16:31:17 +0200 Subject: [PATCH 3/7] revert 8101ab99 car les modifs vont dans theme.scss --- css/styles_config.css.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/css/styles_config.css.html b/css/styles_config.css.html index a587039..4480bd0 100644 --- a/css/styles_config.css.html +++ b/css/styles_config.css.html @@ -44,8 +44,6 @@ body.landing #page-wrapper { [#menu { background-color:(#CONFIG{html5up/couleur_bkg_menu}); }] [#menu ul > li > a, #menu { color:(#CONFIG{html5up/couleur_typo_menu}); }] -.spotlight h2 a {border:0 ; } - .wrapper.style1, .wrapper.style1 h2 {[ color:(#CONFIG{html5up/couleur_typo_hero});][ background-color:(#CONFIG{html5up/couleur_bkg_hero});] } .wrapper.style3, .wrapper.style3 h2, .wrapper.style3 strong {[ color:(#CONFIG{html5up/couleur_typo_major});][ background-color:(#CONFIG{html5up/couleur_bkg_major});] } From 014f068ea3c55552c6fce957bac3428d06ebe48c Mon Sep 17 00:00:00 2001 From: jeanmarie Date: Mon, 18 May 2020 16:33:37 +0200 Subject: [PATCH 4/7] =?UTF-8?q?limiter=20la=20largeur=20des=20titres=20et?= =?UTF-8?q?=20sous-titre=20en=20cas=20de=20titre=20ou=20soustitre=20=C3=A0?= =?UTF-8?q?=20rallonge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sinon, ils prennent toute la largeur ce qui est peu esthétique --- css/theme.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/css/theme.scss b/css/theme.scss index a9ad974..b55b738 100644 --- a/css/theme.scss +++ b/css/theme.scss @@ -21,7 +21,13 @@ } #main > header h1 { font-size: 1.75em; - margin: 0 0 .5em; + margin: 0 auto .5em auto; + max-width: 1200px; +} + +#main > header .soustitre { + margin: auto ; + max-width: 1200px; } #banner .more { @@ -44,6 +50,7 @@ } } +// Menu principal #menu { ul { ul { From a7f45101705fa5eee456b1743156b14ca05fdff1 Mon Sep 17 00:00:00 2001 From: jeanmarie Date: Mon, 18 May 2020 16:35:39 +0200 Subject: [PATCH 5/7] =?UTF-8?q?Pas=20de=20bordure=20sous=20=20les=20liens?= =?UTF-8?q?=20des=20listes=20d'articles=20(accueil=20+=20rubrique)=20pour?= =?UTF-8?q?=20coller=20au=20th=C3=A8me=20original?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/theme.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/css/theme.scss b/css/theme.scss index b55b738..bacf6bb 100644 --- a/css/theme.scss +++ b/css/theme.scss @@ -50,6 +50,9 @@ } } +// Liste articles (accueil et rubrique) +.spotlight h2 a {border:0 ;} + // Menu principal #menu { ul { From 9b3ae96c64852f264b68595b46e69a30ef453bef Mon Sep 17 00:00:00 2001 From: jeanmarie Date: Mon, 18 May 2020 16:46:48 +0200 Subject: [PATCH 6/7] La bonne taille pour els h2 dans le contenu des articles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On doit l'ajuster car il y a, comme dans plusieurs thèmes HTML5Up, un problème de hiérarchie des titres avec le h1 sur le nom du site dans le #header mais qu'on ne reproduit pas dans SPIP cf https://www.mail-archive.com/spip-zone@rezo.net/msg46360.html --- css/theme.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/css/theme.scss b/css/theme.scss index bacf6bb..264d89d 100644 --- a/css/theme.scss +++ b/css/theme.scss @@ -163,6 +163,10 @@ input[type="submit"], input[type="reset"], input[type="button"], button, .button } // contenu +article#main h2 { + font-size: 1.15em; + line-height: 1.15em; +} img { height:auto; max-width:100%; From 28a749712debb93b2cbc495a4ac3a36995222aa9 Mon Sep 17 00:00:00 2001 From: jeanmarie Date: Mon, 18 May 2020 17:05:41 +0200 Subject: [PATCH 7/7] Un fond pour la pagination active --- css/theme.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/css/theme.scss b/css/theme.scss index 264d89d..2806426 100644 --- a/css/theme.scss +++ b/css/theme.scss @@ -98,6 +98,8 @@ } a { text-decoration: none; + border: 0; + &.active, &:hover { background:_palette(bg); color: _palette(fg);