JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang=fr>
<head>
<title>Le monde en macro</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<link rel="icon" href="images/favicon.ico" />
</head>
<header class="wrapper"> <! ------------------- HEADER ----->
<div class="header"></div>
<img class="bannière" src="images/mondemacro.jpg">
</header>
<body class="wrapper"> <! ------------------- BODY ----->
<div class="wrapper">
<nav class="menuprincipal"> <! ------------------- menu ----->
<ul>
<li><a href="indexmondemacro.htm">Menu</a></li>
<li><a href="pages/contenu.html">Contenu</a></li>
<li><a href="pages/formulaire.html">Formulaire</a></li>
<li><a href="pages/liens.html">Liens</a></li>
<li><a href="pages/css.html">CSS</a></li>
</ul>
</nav>
<div class="contenu"> <! ------------------- contenu ----->
<article class="article"><h2> ❆ Découvrez l'hiver version macro. ⛄</h2>
<p>The European languages are members of the same family. Their separate existence is a myth. For science, music, sport, etc, Europe uses the same vocabulary. The languages only differ in their grammar, their pronunciation and their most common words. Everyone realizes why a new common language would be desirable: one could refuse to pay expensive translators.</p>
<img class="illu1art1" src="images/macrohiver.jpeg">
<p>The European languages are members of the same family. Their separate existence is a myth. For science, music, sport, etc, Europe uses the same vocabulary. The languages only differ in their grammar, their pronunciation and their most common words. Everyone realizes why a new common language would be desirable: one could refuse to pay expensive translators. To achieve this, it would be necessary to have uniform grammar, pronunciation and more common words. If...
CSS
.wrapper { /* _________________________ taille enveloppe */
width: 960px;
height: auto;
margin-left: auto; /* équilibrage sur la page */
margin-right: auto;
}
.bannière { /* _________________________ bannière */
border-radius:5px; /* coins arrondis */
margin-top: 15px
}
.menuprincipal {
width: 150px;
height: 700px;
margin-top: 15px;
background-color: lightseagreen;
border-radius: 5px;
float: left;
}
.menuprincipal a {
display: block;
}
.menuprincipal a:hover {
background-color: gray;
}
ul {
list-style: none;
font-size: 18px;
font-family: arial;
line-height: 70px;
}
li {
line-height: 60px;
text-align: left;
}
a {
text-decoration: none;
color: black;
position: left;
}
.contenu { /* _________________________ contenu */
width: 790px;
height: 700px;
margin-top: 15px;
margin-left: 20px;
margin-bottom: 20px;
background-color: lightgrey;
opacity: 5%;
float: right;
border-radius: 5px;
}
h2 {
margin-left: 25px;
font-family: arial;
}
p {
font-family: arial;
padding-left: 25px;
padding-right: 25px;
line-height: 25px
}
.illu1art1 {
height: 50%;
width: 50%;
padding-left: 25px;
padding-right: 25px;
padding-bottom: 20px;
float: left;
}
.footer { /* _________________________ footer */
width: 960px;
height: 30px;
background-color: gray;
clear: both;
border-radius: 5px;
margin-bottom: 10px;
margin-top: 25px;
}
.mention {
text-align: center;
padding: 5px
}