Ajout des fichiers html et css de base
This commit is contained in:
parent
9e4b77a0cc
commit
74a0d3bf6a
109
index.html
Normal file
109
index.html
Normal file
@ -0,0 +1,109 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<!-- nouvelle version (HTML 5) -->
|
||||
<meta charset="utf-8">
|
||||
<!-- ancienne version : voir https://stackoverflow.com/questions/11582344/meta-tags-explained-http-equiv-and-charset-->
|
||||
<!-- <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- pour que le contenu s’adapte sur mobile. voir https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag -->
|
||||
<title>Breizh Bitcoin- Because fuck banks</title>
|
||||
<meta name="description" content="Site web de l'association Breizh Bitcoin">
|
||||
<link rel="shortcut icon" href="https://breizhbitcoin.zoz-serv.org/wp-content/uploads/2023/03/cropped-Bitcoin.svg_.png" type="image/x-icon">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<!-- voir Structure HTML https://developer.mozilla.org/fr/docs/Learn/HTML/Introduction_to_HTML/Document_and_website_structure -->
|
||||
<header>
|
||||
<nav>
|
||||
<div class="nav-logo">
|
||||
<!-- <a href="#"><img src="" alt=""></a> -->
|
||||
<a href="#">LOGO</a>
|
||||
</div>
|
||||
<ul class="nav-main">
|
||||
<li><a href="#">Map</a></li>
|
||||
<li><a href="#">Évènements</a></li>
|
||||
<li><a href="#">Contact</a></li>
|
||||
</ul>
|
||||
<ul class="nav-social">
|
||||
<li><a href="#">Social1</a></li>
|
||||
<li><a href="#">Social2</a></li>
|
||||
<li><a href="#">Social3</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- <main> il faudrait mettre le contenu principal (hors header et footer) dans cette balise pour le référencement.
|
||||
</main> -->
|
||||
<div class="section0" style="background-color: black;">
|
||||
<img class="picture-50" src="https://breizhbitcoin.zoz-serv.org/wp-content/uploads/2023/04/Group_85.svg">
|
||||
<p class="text-18px-white-no-padding">UNE COMMUNAUTÉ DE BITCOINERS AFIN DE DÉVELOPPER BITCOIN EN BRETAGNE ET AU-DELÀ</p>
|
||||
</div>
|
||||
<!-- <div class="row">
|
||||
<div class="section" style="background-color: #fdfdfd;">
|
||||
<p class="text-112px-black">RENCONTRES</p>
|
||||
<p class="text-18px-f6a01c">SANS SHITCOINS</p>
|
||||
</div>
|
||||
<div class="section" style="background-color: #fdfdfd">
|
||||
<p class="text-56px-black-left">RETROUVE LES</p>
|
||||
<p class="text-56px-f6a01c-left">BITCOINERS</p>
|
||||
<p class="text-56px-black-left">PROCHE DE CHEZ TOI</p>
|
||||
<p class="text-18px-black">RENNES, SAINT-MALO, SAINT-BRIEUC, NANTES, SAINT-NAZAIRES, QUIMPER, BREST, LORIENT</p>
|
||||
<div style="display:flex; justify-content:center">
|
||||
<a class="fcc-btn-black" href="https://breizhbitcoin.zoz-serv.org/carte-des-meet-ups/">Plus d'informations</a>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<main>
|
||||
<!-- [reste du main] -->
|
||||
<article class="bg-white">
|
||||
<!-- un p qu’on transforme en titre via le CSS, ou un h2 directement, suivant si on considère l’info importante (trouvable via moteur de recherche par exemple) ou non -->
|
||||
<p class="text-h2">
|
||||
Rencontre <br>
|
||||
<div class="orange">
|
||||
Sans shitcoins
|
||||
</div>
|
||||
</p>
|
||||
</article>
|
||||
<article class="bg-white">
|
||||
<h2>Retrouve les <span class="orange">bitcoiners</span> proche de chez toi</h2>
|
||||
<p>Rennes, Saint-Malo, Saint-Brieuc, Nantes, Saint-Nazaines, Quimper, Brest, Lorient</p>
|
||||
<div>
|
||||
<a href="https://breizhbitcoin.zoz-serv.org/carte-des-meet-ups/" class="link-button">Plus d'informations</a>
|
||||
</div>
|
||||
</article>
|
||||
<!-- [suite du main] -->
|
||||
</main>
|
||||
|
||||
<div class="row">
|
||||
<div class="section" style="background-color: #f6a01c">
|
||||
<p class="text-56px-white">BITCOIN</p>
|
||||
<p class="text-56px-black-center">DANS TON</p>
|
||||
<p class="text-56px-white">COMMERCE</p>
|
||||
<p class="text-18px-black">GRATUITEMENT<br />NOUS VOUS ACCOMPAGNONS SUR LES SUJETS DE LA FISCALITÉ, COMPTABILITÉ, OUTILS, COMMUNICATION, ETC.</p>
|
||||
<div style="display:flex; justify-content:center">
|
||||
<a class="fcc-btn-black" href="https://breizhbitcoin.zoz-serv.org/accepter-bitcoin-dans-son-commerce/">Plus d'informations</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" style="background-color: black;">
|
||||
<p class="text-56px-white">APPRENDS</p>
|
||||
<p class="text-56px-f6a01c-center">TOUT SUR</p>
|
||||
<p class="text-56px-white">BITCOIN</p>
|
||||
<p class="text-18px-white"><br>DÉCOUVRE NOTRE SÉLECTION DE CONTENUS ET DE FORMATIONS AFIN DE TOUT SAVOIR SUR BITCOIN</p>
|
||||
<div style="display:flex; justify-content:center">
|
||||
<a class="fcc-btn-white" href="https://breizhbitcoin.zoz-serv.org/accepter-bitcoin-dans-son-commerce/">Plus d'informations</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="section" style="background-color: #fdfdfd;">
|
||||
<p><img class="picture-100" src="https://breizhbitcoin.zoz-serv.org/wp-content/uploads/2023/04/Group.svg"></p>
|
||||
</div>
|
||||
<div class="section" style="background-color: #fdfdfd;">
|
||||
<p class="text-56px-f6a01c-center-phone">L'ÉVENEMENT POUR LES BITCOINERS</p>
|
||||
<p class="text-18px-black">LE BITCOIN ECONOMIC FORUM EST UN ÉVÈNEMENT UNIQUE, ORGANISÉ PAR LES BITCOINERS, POUR LES BITCOINERS</p>
|
||||
<div style="display:flex; justify-content:center">
|
||||
<a class="fcc-btn-black" href="https://bef.breizhbitcoin.com/">Plus d'informations</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
446
style.css
Normal file
446
style.css
Normal file
@ -0,0 +1,446 @@
|
||||
/* Je vais changer des trucs et commenter tout. Hésites pas à suppr les commentaires et faire à ta sauce ensuite, mais commenter le code et l’ordonner un minimum, c’est essentiel pour s’y retrouver un mois / 1 an plus tard. */
|
||||
|
||||
/* RESETS */
|
||||
/* Permet d’enlever les marges par défaut, entre autre */
|
||||
/* source (prise au hasard): https://www.digitalocean.com/community/tutorials/css-minimal-css-reset */
|
||||
html {
|
||||
/* border-box ensure consistent and predictable sizing */
|
||||
box-sizing: border-box;
|
||||
/* Change font size default if you want */
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* je sais pas à quoi cette règle sers, mais elle a résolu un des problème de ta page (une boîte dépassait de l’écran pour rien) */
|
||||
*, *:before, *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
/* uncomment font-weight if you want to remove the bold defaults of headings */
|
||||
/* font-weight: normal; */
|
||||
}
|
||||
|
||||
/* cette règle permet d’utiliser les listes <ul><li> dans les nav sans que les puces apparaissent. On peut rétablir ensuite le syle "puce" uniquement quand on en a besoin. */
|
||||
/* remove if you want to keep the default bullet points for your lists. */
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/* Responsive images by default. */
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* HEADER */
|
||||
|
||||
header{
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
/* Les background-color sont utilisés pour tester la taille des boîtes. À suppr pour la production */
|
||||
/* background-color: red; */
|
||||
|
||||
|
||||
}
|
||||
header nav{
|
||||
/* width: 100%; */
|
||||
height: inherit;
|
||||
/* background-color: blue; */
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
flex-wrap: nowrap;
|
||||
align-items:center;
|
||||
}
|
||||
|
||||
/* style liens menu */
|
||||
nav a{
|
||||
/* TO DO : reset les liens, ajouter gras et font-size */
|
||||
}
|
||||
|
||||
/* style les ul et div qui ont pour parents header nav */
|
||||
header nav ul, div{
|
||||
width: 100%;
|
||||
/* background-color: green; */
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content:space-around;
|
||||
|
||||
}
|
||||
|
||||
.nav-logo{
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
/* MAIN */
|
||||
|
||||
main{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
article{
|
||||
width: 50%;
|
||||
min-width: 400px;
|
||||
height: 70vh;
|
||||
border: 3px dashed #1c87c9;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* align-content: space-around; */
|
||||
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 800px){
|
||||
main{
|
||||
flex-direction: column;
|
||||
}
|
||||
article{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding: 40px;
|
||||
min-width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-white{
|
||||
/* préciser des valeurs par défaut si besoin */
|
||||
}
|
||||
|
||||
.orange{
|
||||
/* c’est aussi possible d’utiliser des variables genre var-- quelque chose, pour les couleurs c’est pratique typiquement pour faire un thème sombre ou pour pouvoir changer d’avis facilement. je te laisse chercher si ça t’intéresse. */
|
||||
color:#f6a01c;
|
||||
}
|
||||
|
||||
h2, .text-h2{
|
||||
/* text-align: center; */
|
||||
color: black;
|
||||
font-size: 3rem; /* permet des tailles de police plus responsive. 3*16px, la taille par défault mise plus haut dans RESET */
|
||||
font-weight: 600;
|
||||
/* line-height: 1.25; */
|
||||
/* margin: 0px; */
|
||||
|
||||
border: 1px solid #999; /* à enlever en prod */
|
||||
}
|
||||
|
||||
.text-h2>span{
|
||||
font-size: 1rem;
|
||||
/* margin: -10px; */
|
||||
}
|
||||
|
||||
article p{
|
||||
line-height: 1.2;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
|
||||
.link-button{
|
||||
/* background-color: rgba(0, 0, 0, 0); */
|
||||
color: black;
|
||||
padding: 0.6em;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
outline: 2px solid black;
|
||||
font-size: 14px;
|
||||
/* font-weight: bold; */
|
||||
text-transform: none;
|
||||
border-radius: 8px;
|
||||
box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.link-button:hover {
|
||||
background-color: rgba(0, 0, 0, 1);
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*breizh-bitcoin-box-design-computer*/
|
||||
.row {
|
||||
display: flex;
|
||||
}
|
||||
.section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 50%;
|
||||
height: 70vh;
|
||||
border: 3px dashed #1c87c9;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
}
|
||||
.section0 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 80vh;
|
||||
border: 3px dashed #1c87c9;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
}
|
||||
/* breiz-bitcoin-img*/
|
||||
.picture-50 {
|
||||
display:flex;
|
||||
max-width: 55vw;
|
||||
|
||||
height:auto;
|
||||
width: auto;
|
||||
justify-content:center;
|
||||
}
|
||||
.picture-100 {
|
||||
display:flex;
|
||||
max-width:80vw;
|
||||
height:auto;
|
||||
justify-content:center;
|
||||
}
|
||||
/* breiz-bitcoin-button*/
|
||||
.fcc-btn-black {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
color: #000000; /* Couleur noir */
|
||||
padding: 0.6em;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
outline: 2px solid black;
|
||||
font-size: 14px;
|
||||
font-weight:bold;
|
||||
border-radius: 8px;
|
||||
box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.fcc-btn-black:hover {
|
||||
background-color: rgba(0, 0, 0, 1);
|
||||
color: #fff; /* Couleur blanche */
|
||||
}
|
||||
.fcc-btn-white {
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
color: #fff; /* Couleur blanche */
|
||||
padding: 0.6em;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
outline: 2px solid white;
|
||||
font-size: 14px;
|
||||
font-weight:bold;
|
||||
border-radius: 8px;
|
||||
box-shadow: 5px 5px 5px 5px rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
.fcc-btn-white:hover {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
color: #000000; /* Couleur noir */;
|
||||
}
|
||||
/* breizh-bitcoin-font-display-computer*/
|
||||
/* border: 1px solid #999;*/
|
||||
.text-56px-white {
|
||||
text-align: center;
|
||||
color: #fff; /* Couleur blanche */
|
||||
font-size: calc(42px + 1.05vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
padding: 3.5vh;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
.text-18px-white {
|
||||
text-align: center;
|
||||
color: #fff; /* Couleur blanche */
|
||||
font-size: calc(12px + 0.3vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
padding-top: 10vh;
|
||||
padding-bottom: 3vh;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
.text-18px-white-no-padding {
|
||||
text-align: center;
|
||||
color: #fff; /* Couleur blanche */
|
||||
font-size: calc(12px + 0.3vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
.text-112px-black {
|
||||
text-align: center;
|
||||
color: #000000; /* Couleur noir */
|
||||
font-size: calc(70px + 2vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
.text-56px-black-left {
|
||||
text-align: left;
|
||||
color: #000000; /* Couleur noir */
|
||||
font-size: calc(42px + 1.05vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
.text-56px-black-center {
|
||||
text-align: center;
|
||||
color: #000000; /* Couleur noir */
|
||||
font-size: calc(42px + 1.05vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
.text-18px-black {
|
||||
text-align: center;
|
||||
color: #000000; /* Couleur noir */
|
||||
font-size: calc(12px + 0.3vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
padding-top: 10vh;
|
||||
padding-bottom: 3vh;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
.text-56px-f6a01c-center {
|
||||
text-align: center;
|
||||
color: #f6a01c; /* Couleur bitcoin */
|
||||
font-size: calc(42px + 1.05vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
.text-56px-f6a01c-center-phone {
|
||||
text-align: center;
|
||||
color: #f6a01c; /* Couleur bitcoin */
|
||||
font-size: calc(42px + 1.05vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
.text-56px-f6a01c-left {
|
||||
text-align: left;
|
||||
color: #f6a01c; /* Couleur bitcoin */
|
||||
font-size: calc(42px + 1.05vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
.text-18px-f6a01c {
|
||||
text-align: center;
|
||||
color: #f6a01c; /* Couleur bitcoin */
|
||||
font-size: calc(12px + 0.3vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
/* breizh-bitcoin-font-display-phone-portrait*/
|
||||
/* Pour les téléphones */
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* border: 1px solid #999;*/
|
||||
.text-56px-white {
|
||||
text-align: center;
|
||||
color: #fff; /* Couleur blanche */
|
||||
font-size: calc(24px + 1vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
padding: 1.5vh;
|
||||
}
|
||||
.text-18px-white {
|
||||
text-align: center;
|
||||
color: #fff; /* Couleur blanche */
|
||||
font-size: calc(12px + 0.3vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
padding-top: 3vh;
|
||||
padding-bottom: 3vh;
|
||||
}
|
||||
.text-18px-white-no-padding {
|
||||
text-align: center;
|
||||
color: #fff; /* Couleur blanche */
|
||||
font-size: calc(12px + 0.3vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
}
|
||||
.text-112px-black {
|
||||
text-align: center;
|
||||
color: #000000; /* Couleur noir */
|
||||
font-size: calc(40px + 1vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
}
|
||||
.text-56px-black-left {
|
||||
text-align: left;
|
||||
color: #000000; /* Couleur noir */
|
||||
font-size: calc(24px + 1vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
}
|
||||
.text-56px-black-center {
|
||||
text-align: center;
|
||||
color: #000000; /* Couleur noir */
|
||||
font-size: calc(24px + 1vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
}
|
||||
.text-18px-black {
|
||||
text-align: center;
|
||||
color: #000000; /* Couleur noir */
|
||||
font-size: calc(12px + 0.3vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
padding-top: 3vh;
|
||||
padding-bottom: 3vh;
|
||||
}
|
||||
.text-56px-f6a01c-center {
|
||||
text-align: center;
|
||||
color: #f6a01c; /* Couleur bitcoin */
|
||||
font-size: calc(24px + 1vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
}
|
||||
.text-56px-f6a01c-center-phone {
|
||||
text-align: center;
|
||||
color: #f6a01c; /* Couleur bitcoin */
|
||||
font-size: calc(22px + 1vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
}
|
||||
.text-56px-f6a01c-left {
|
||||
text-align: left;
|
||||
color: #f6a01c; /* Couleur bitcoin */
|
||||
font-size: calc(24px + 1vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
}
|
||||
.text-18px-f6a01c {
|
||||
text-align: center;
|
||||
color: #f6a01c; /* Couleur bitcoin */
|
||||
font-size: calc(12px + 0.3vw);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0px;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user