feature/styling-adjustment #2

Merged
stephane.boniffacy merged 4 commits from feature/styling-adjustment into development 2025-01-24 16:17:33 +01:00
65 changed files with 151 additions and 55 deletions
Showing only changes of commit ec13f0c688 - Show all commits

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 236 KiB

After

Width:  |  Height:  |  Size: 236 KiB

View File

@@ -0,0 +1,41 @@
{
"name": "App",
"icons": [
{
"src": "\/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

BIN
assets/images/logo-old.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

@@ -252,7 +252,7 @@ table {
th, th,
td { td {
padding: 2rem; padding: 1rem;
line-height: 20px; line-height: 20px;
text-align: left; text-align: left;
vertical-align: top; vertical-align: top;

View File

@@ -21,11 +21,11 @@ table.cv td, table th {
.table { .table {
border: 1px solid; border: 1px solid;
font-size: 80%; font-size: 1.2rem;
border-color: var(--section-light-bg-color); border-color: var(--section-light-bg-color);
//background-color: var(--section-light-bg-color); //background-color: var(--section-light-bg-color);
background-color: var(--highlight-inverse-contrast); background-color: var(--highlight-inverse-contrast);
color: var(--section-light-text-color); color: var(--section-dark-text-color);
} }
.table td, table th { .table td, table th {

View File

@@ -1,9 +1,8 @@
/* ========================================================================== /* ==========================================================================
8. Media Queries - Smaller than 1130px 8. Media Queries - Smaller than 1130px
========================================================================== */ ========================================================================== */
@media only screen and (max-width: 1130px) { @media only screen and (max-width: 900px) {
/* makes it a top sticky menu */ /* makes it a top sticky menu */
.fixed-nav { .fixed-nav {
opacity: 1; opacity: 1;
@@ -87,6 +86,23 @@
h4 { h4 {
font-size: 2.8rem; font-size: 2.8rem;
} }
#site-head #site-menu, #site-head.withCenteredImage #site-menu {
font-size: 1.5rem;
flex: 1;
order: 2;
flex-basis: 100%;
justify-content: start;
}
#top-banner {
flex-wrap: wrap;
}
#site-head #site-languages,
#site-head.withCenteredImage #site-languages {
order: 1;
}
#blog-logo {
}
} }
/* ========================================================================== /* ==========================================================================
@@ -99,13 +115,14 @@
} }
#blog-logo { #blog-logo {
max-height: 80px; max-height: 6rem;
margin-left: 1.5rem;
max-width: 40%;
} }
.inner, .inner,
.pagination { .pagination {
width: auto; width: auto;
} }
.post { .post {
@@ -116,9 +133,10 @@
line-height: 1.6em; line-height: 1.6em;
} }
#site-head { #site-head,
#site-head.withCenteredImage {
// padding: 1.5rem; // padding: 1.5rem;
height: 65%; height: 90%;
} }
#header-arrow { #header-arrow {
@@ -134,8 +152,11 @@
font-size: 3rem; font-size: 3rem;
} }
.blog-description { #site-head .blog-description,
font-size: 2.2rem; #site-head.withCenteredImage .blog-description {
font-size: 2.5rem;
margin-bottom: 2rem;
padding: 0 1rem;
} }
h1, h1,
@@ -164,22 +185,27 @@
.site-footer { .site-footer {
font-size: 1.1rem; font-size: 1.1rem;
} }
#top-banner { #site-head #top-banner,
flex-direction: column; #site-head.withCenteredImage #top-banner {
display: flex; display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: 100vw;
padding: 1rem 0;
} }
#site-languages{ #site-languages {
align-self: end; align-self: center;
padding-right: 1rem; padding-right: 1rem;
} }
#site-menu{ #site-head #site-menu,
width: 100%; #site-head.withCenteredImage #site-menu {
display: flex; display: none;
justify-content: space-around;
} }
#site-head #site-languages .btn-lang, #site-head.withCenteredImage #site-languages .btn-lang{ #site-head #site-languages .btn-lang,
margin: 1rem .3rem; #site-head.withCenteredImage #site-languages .btn-lang {
margin: 1rem 0.3rem;
font-size: 1rem;
} }
} }

View File

@@ -7,10 +7,10 @@ body {
#blog-logo { #blog-logo {
//display: flex; //display: flex;
max-height: 160px; max-height: 6rem;
width: auto; width: auto;
margin: 0 auto;
line-height: 0; line-height: 0;
object-fit: contain;
} }
#flag-logo { #flag-logo {
@@ -24,7 +24,7 @@ body {
} }
#site-head, #site-head.withCenteredImage { #site-head, #site-head.withCenteredImage {
position: relative; // position: relative;
display: table; display: table;
width: 100%; width: 100%;
height: 100vh; height: 100vh;
@@ -71,7 +71,7 @@ body {
font-weight: 400; font-weight: 400;
font-family: "Roboto Slab", serif; font-family: "Roboto Slab", serif;
letter-spacing: 0; letter-spacing: 0;
text-shadow: var(--cover-title-text-shadow); // text-shadow: var(--cover-title-text-shadow);
//-webkit-text-fill-color: white; /* Will override color (regardless of order) */ //-webkit-text-fill-color: white; /* Will override color (regardless of order) */
//-webkit-text-stroke: 2px var(--cover-title-text-shadow); //-webkit-text-stroke: 2px var(--cover-title-text-shadow);
-webkit-text-stroke: 5px var(--section-dark-bg-color); -webkit-text-stroke: 5px var(--section-dark-bg-color);
@@ -85,22 +85,30 @@ body {
// max-width: 100%; // max-width: 100%;
// width: 100%; // width: 100%;
// height: fit-content; // height: fit-content;
display: flex;
justify-content: space-between;
padding: 0 2rem;
background-color: var(--cover-title-and-description-guard-bg-color); background-color: var(--cover-title-and-description-guard-bg-color);
} }
#site-languages { #site-languages {
//text-align: right; //text-align: right;
width: fit-content; width: fit-content;
height: 100%; // height: 100%;
position: relative; position: relative;
float: right; float: right;
order: 2;
} }
#site-menu { #site-menu {
position: relative; position: relative;
float: left; float: left;
order: 1;
display: flex;
justify-content: space-around;
align-items: center;
// width: fit-content; // width: fit-content;
height: 100%; // height: 100%;
} }
#site-languages .btn-lang { #site-languages .btn-lang {
@@ -129,7 +137,8 @@ body {
// position: absolute; // position: absolute;
// bottom: 200px; // bottom: 200px;
// max-width: 100%; // max-width: 100%;
align-content: center; align-content: end;
height: 100%;
} }
// Landing screen menu // Landing screen menu
@@ -148,12 +157,13 @@ body {
letter-spacing: 1px; letter-spacing: 1px;
margin: 1rem; margin: 1rem;
overflow: visible; overflow: visible;
padding: 10px 20px 10px 20px; padding: 0.5rem 1rem;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
text-transform: uppercase; text-transform: uppercase;
font-weight:normal; font-weight:normal;
border: solid 1px var(--highlight-contrast); height: fit-content;
// border: solid 1px var(--highlight-contrast);
&:hover { &:hover {
color: var(--highlight-inverse-contrast); color: var(--highlight-inverse-contrast);

View File

@@ -1,33 +1,40 @@
$light-color: #ffffff;
$dark-color: #2a0045ff ;
$primary-color: #183c8f;
$secondary-color: rgb(143, 33, 191);
$tertiary-color: #4eca2cff;
// #{}
// #{$tertiary-color}
:root { :root {
/* === Cover / Landing area === */ /* === Cover / Landing area === */
--cover-text-color: rgb(0, 52, 141); --cover-text-color: #{$secondary-color};
/* Used for Landing screen menu buttons, but potentially usable for highlighting other things */ /* Used for Landing screen menu buttons, but potentially usable for highlighting other things */
--highlight: #ffc800; --highlight: #{$primary-color};
--highlight-contrast: var(--cover-text-color); --highlight-contrast: #{$light-color};
/*inverse colors used for :hover */ /*inverse colors used for :hover */
--highlight-inverse: var(--cover-text-color); --highlight-inverse: #{$secondary-color};
--highlight-inverse-contrast: rgb(249, 238, 187); --highlight-inverse-contrast: rgb(255, 255, 255);
/* visual guard around title and description, when the feature is enabled */ /* visual guard around title and description, when the feature is enabled */
--cover-title-and-description-guard-bg-color: rgba(85, 27, 2, 0.67); --cover-title-and-description-guard-bg-color: #{$light-color};
--cover-title-text-shadow: rgb(119, 45, 0) 1px 1px 5px; // --cover-title-text-shadow: rgb(119, 45, 0) 1px 1px 5px;
/* === sticky top/left navigation menus === */ /* === sticky top/left navigation menus === */
--sticky-menu-text-color: #d65301ea; --sticky-menu-text-color: #{$light-color};
/* === Alternating content (post) sections === */ /* === Alternating content (post) sections === */
/* Light section - text color */ /* Light section - text color */
--section-light-text-color:rgb(119, 45, 0); --section-light-text-color:#{$light-color};
/* Light section - background color */ /* Light section - background color */
--section-light-bg-color: #ebbc4f; --section-light-bg-color: #{$primary-color};
/* Dark section - text color */ /* Dark section - text color */
--section-dark-text-color: var(--section-light-bg-color); --section-dark-text-color: #{$primary-color};
/* Dark section - background color */ /* Dark section - background color */
--section-dark-bg-color: #652200; --section-dark-bg-color: #{$light-color};
/* Light&Dark section >quote. Suppressive color, compared to 'Light section - text color'*/ /* Light&Dark section >quote. Suppressive color, compared to 'Light section - text color'*/
--section-uni-quote: grey; --section-uni-quote: grey;

View File

@@ -18,7 +18,7 @@ var $sitehead = $("#site-head");
scrollTop: el.offset().top, scrollTop: el.offset().top,
}, },
dur, dur,
function() { function () {
window.location.hash = el.attr("id"); window.location.hash = el.attr("id");
} }
); );
@@ -40,7 +40,7 @@ var $sitehead = $("#site-head");
// cover arrow button // cover arrow button
$("#header-arrow").click(function (e) { $("#header-arrow").click(function (e) {
e.preventDefault() e.preventDefault();
srcTo($first); srcTo($first);
}); });
} }
@@ -55,15 +55,20 @@ var $sitehead = $("#site-head");
if (w >= Math.floor(g) && w <= Math.ceil(h)) { if (w >= Math.floor(g) && w <= Math.ceil(h)) {
$(".fixed-nav").fadeOut("fast"); $(".fixed-nav").fadeOut("fast");
} else if (w < Math.floor(g)) {
$(".fixed-nav").fadeOut("fast");
} else { } else {
$(".fixed-nav").css("display", "flex").fadeIn("fast"); $(".fixed-nav").css("display", "flex").fadeIn("fast");
} }
$post.each(function () { $post.each(function () {
if (($(window).height() + w) > ($(document).height() - $(".site-footer").height())) { if (
$(window).height() + w >
$(document).height() - $(".site-footer").height()
) {
var l = $postholder.length; var l = $postholder.length;
$(".fn-item").removeClass("active") $(".fn-item").removeClass("active");
$(".fn-item[item_index='" + (l) + "']").addClass("active") $(".fn-item[item_index='" + l + "']").addClass("active");
} else { } else {
var f = $(this).offset().top; var f = $(this).offset().top;
var b = $(this).offset().top + $(this).height(); var b = $(this).offset().top + $(this).height();
@@ -88,10 +93,14 @@ var $sitehead = $("#site-head");
}); });
} }
var ulLiIcon = getComputedStyle(document.documentElement).getPropertyValue('--ul-li-icon'); var ulLiIcon = getComputedStyle(document.documentElement).getPropertyValue(
"--ul-li-icon"
);
if (ulLiIcon.length > 0) { if (ulLiIcon.length > 0) {
$('ul').addClass("fa-ul"); $("ul").addClass("fa-ul");
$("ul li").prepend('<span class="fa-li"><i class="fa ' + ulLiIcon + '"></i></span>'); $("ul li").prepend(
'<span class="fa-li"><i class="fa ' + ulLiIcon + '"></i></span>'
);
} }
$("blockquote p").prepend('<span class="quo fa fa-quote-left"></span>'); $("blockquote p").prepend('<span class="quo fa fa-quote-left"></span>');
$("blockquote p").append('<span class="quo fa fa-quote-right"></span>'); $("blockquote p").append('<span class="quo fa fa-quote-right"></span>');

View File

@@ -64,6 +64,8 @@
<div id="top-banner" class="inner"> <div id="top-banner" class="inner">
{{ $num_lang := len $translations }} {{ $num_lang := len $translations }}
{{ if and (gt $num_lang 1) $.Site.Params.language_menu }} {{ if and (gt $num_lang 1) $.Site.Params.language_menu }}
{{ with resources.Get .Params.header_logo }}<img id="blog-logo" alt="" src="{{ .RelPermalink }}" />{{ end }}
<div id="site-languages" class="inner"> <div id="site-languages" class="inner">
{{ range $translations }} {{ range $translations }}
{{ $lang_title := .Lang | strings.ToUpper }} {{ $lang_title := .Lang | strings.ToUpper }}
@@ -104,7 +106,6 @@
<div id="site-head-content" class="inner"> <div id="site-head-content" class="inner">
{{ if .Site.Params.title_guard }}<div class="title-and-description-guard">{{ end }} {{ if .Site.Params.title_guard }}<div class="title-and-description-guard">{{ end }}
{{ with resources.Get .Params.header_logo }}<img id="blog-logo" alt="" src="{{ .RelPermalink }}" />{{ end }}
{{ with .Params.header_subheadline }}<h2 class="blog-description">{{ . | safeHTML }}</h2>{{ end }} {{ with .Params.header_subheadline }}<h2 class="blog-description">{{ . | safeHTML }}</h2>{{ end }}
{{ with .Params.header_subsubheadline }}<h3 class="blog-description">{{ . | safeHTML }}</h3>{{ end }} {{ with .Params.header_subsubheadline }}<h3 class="blog-description">{{ . | safeHTML }}</h3>{{ end }}