style sass

This commit is contained in:
Tykayn 2024-11-10 18:43:38 +01:00 committed by tykayn
parent f016f842c9
commit 8c45ae05f9
24 changed files with 803 additions and 647 deletions

View file

@ -99,7 +99,7 @@ def enrich_one_file(file, root_path):
html_content = remove_article_head_properties_orgmode(html_content)
html_content = remove_hint_html(html_content)
if inline_the_css:
if inline_the_css == True:
print(' ----------- include css inline in each html page')
with open(os.path.join(root_path, file), "r") as f:
css_content = f.read()
@ -140,14 +140,17 @@ def enrich_one_file(file, root_path):
<body>
<div id="page">
<header id="masthead" class="site-header">
<div class="header-image">
{BANNIERE_ENTETE}
<div class="header-image" style="background: url({BANNIERE_ENTETE})">
<a href="/">
<img src="{SITE_ICON}" class="site-icon img">
</a>
<h1 class="blog-title">{BLOG_TITLE}</h1>
<p class="blog-subtitle">{BLOG_SUBTITLE}</p>
</div>
<nav class="navbar is-fixed-top is-dark" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="{NDD}">
<img src="{SITE_ICON}"
class="img-fluid">
</a>
</div>
@ -183,8 +186,7 @@ def enrich_one_file(file, root_path):
<div class="container">
<div class="site-footer-inner">
{BLOG_TITLE}
{BLOG_SUBTITLE}
{NAVIGATION}
{css_content}