typography

This commit is contained in:
theo1 2023-12-05 15:31:50 +01:00
parent ce6b87d702
commit 6162f1a606
23 changed files with 47 additions and 5 deletions

View File

@ -12,6 +12,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -12,6 +12,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -12,6 +12,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -12,6 +12,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -12,6 +12,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -12,6 +12,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -12,6 +12,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -12,6 +12,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -12,6 +12,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -17,6 +17,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -17,6 +17,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -17,6 +17,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -14,6 +14,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -14,6 +14,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -17,6 +17,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -17,6 +17,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -17,6 +17,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -12,6 +12,7 @@
<header> <header>
<h1><a href="/">ravages</a></h1> <h1><a href="/">ravages</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">chroniques de luttes à la frontière franco-italienne</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">

View File

@ -14,6 +14,11 @@ h2 {
line-height: initial; line-height: initial;
} }
#site-subtitle {
text-align: center;
font-size: 1em;
}
#flex-container { #flex-container {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -25,6 +30,9 @@ h2 {
max-width: 50%; max-width: 50%;
font-size: 1.5em; font-size: 1.5em;
line-height: 35px; line-height: 35px;
text-align: justify;
text-justify: auto;
} }
#about { #about {
@ -42,15 +50,18 @@ nav {
line-height: 35px; line-height: 35px;
} }
footer {
padding: 50px;
}
/* Responsive layout - makes a one column layout instead of a two-column layout */ /* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 800px) { @media (max-width: 900px) {
#flex-container { #flex-container {
flex-direction: column; flex-direction: column;
} }
#content { #content {
max-width: 100%; max-width: 100%;
} }
nav { nav {

View File

@ -1,6 +1,7 @@
AUTHOR = 'ravages' AUTHOR = 'ravages'
SITENAME = 'ravages' SITENAME = 'ravages'
SITEURL = '' SITEURL = ''
SITESUBTITLE = 'chroniques de luttes à la frontière franco-italienne'
PATH = 'content' PATH = 'content'

View File

@ -14,6 +14,11 @@ h2 {
line-height: initial; line-height: initial;
} }
#site-subtitle {
text-align: center;
font-size: 1em;
}
#flex-container { #flex-container {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -25,6 +30,9 @@ h2 {
max-width: 50%; max-width: 50%;
font-size: 1.5em; font-size: 1.5em;
line-height: 35px; line-height: 35px;
text-align: justify;
text-justify: auto;
} }
#about { #about {
@ -42,15 +50,18 @@ nav {
line-height: 35px; line-height: 35px;
} }
footer {
padding: 50px;
}
/* Responsive layout - makes a one column layout instead of a two-column layout */ /* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 800px) { @media (max-width: 900px) {
#flex-container { #flex-container {
flex-direction: column; flex-direction: column;
} }
#content { #content {
max-width: 100%; max-width: 100%;
} }
nav { nav {

View File

@ -37,7 +37,8 @@
<body id="index" class="home"> <body id="index" class="home">
<header> <header>
<h1><a href="{{ SITEURL }}/">{{ SITENAME }}{% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1> <h1><a href="{{ SITEURL }}/">{{ SITENAME }}</a></h1>
<h2 id='site-subtitle'><div class="subtitle-box""">{% if SITESUBTITLE %}{{ SITESUBTITLE }}{% endif %}</div></h2>
</header><!-- /#banner --> </header><!-- /#banner -->
<div id="flex-container"> <div id="flex-container">