Skip to content

Commit

Permalink
ça marche très bien ! (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisJustinTALLOT committed Feb 20, 2021
1 parent c687701 commit 87ea1e4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CV_Maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def html_header(self,nom_image:str,style_CV='full'):
res += """ </div>\n"""
res += """ <div class="header_sauf_photo">\n"""
res += f""" <h1 id="header_nom">{self.qui_je_suis['nom']} </h1>\n"""
res += f""" <h2>Né le {self.qui_je_suis['date_naissance']}</h2>\n"""
res += f""" <h2>{self.qui_je_suis['date_naissance']}</h2>\n"""
res += f""" <img src="images/logo_mail.png" class="logo_social_media"/> <a href="mailto:{self.qui_je_suis['mail']}" target="_blank">{self.qui_je_suis['mail']}</a>\n"""
res += f""" <img src="images/logo_github.png" class="logo_social_media"/> <a href="{self.qui_je_suis['github']}" target="_blank">{self.qui_je_suis['nom_github']}</a>\n"""
res += f""" <br />\n <img src="images/logo_linkedin.png" class="logo_social_media"/> <a href="{self.qui_je_suis['linkedin']}" target="_blank">{self.qui_je_suis['linkedin']}</a>\n"""
Expand Down
33 changes: 23 additions & 10 deletions full.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,26 @@ body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
/* width: 21cm; */
padding: 0;
margin:0;
/* margin: 1cm !important; */
margin: 0;
margin: 1cm !important;
font-size: 10pt;
}

@media print {
body {
margin: -0.5cm !important;
}
}

:root {
--couleur-texte-header: rgb(6, 6, 90);
--couleur-liens: var(--couleur-texte-header);
--largeur-descriptions: 87.5%;
}

header {
background-color: rgba(114, 114, 114, 0.226);
background-color: rgba(36, 37, 100, 0.493);
/* background-color: rgba(114, 114, 114, 0.226); */
color: var(--couleur-texte-header);
/* margin-bottom: 1em; */
/* display: block; */
Expand All @@ -36,18 +43,18 @@ header {
align-content: space-between;
}
.header_picture {
display : inline-block;
display: inline-block;
padding-left: 1em;
padding-right: 1em;
/* padding-top: 0; */
padding-top: 0.3cm;
border: 1px solid green;
/* border: 1px solid green; */
}

.header_sauf_photo {
display: inline-block;
border: 1px solid red;
width : 70%;
/* border: 1px solid red; */
width: 70%;
}

header #profile_picture {
Expand All @@ -58,9 +65,7 @@ header #profile_picture {
padding-right: 1em;
padding-top: 0;
margin-top: 0.3cm; */
}


}

header #header_nom {
font-size: 22pt;
Expand All @@ -73,6 +78,14 @@ header .logo_social_media {
margin-bottom: -2px; /* pour aligner avec le texte*/
}

header h2 {
font-size: 13pt;
}

header p {
text-align: justify;
}

/* peut-être pas utile : */
#toutes_les_sections {
/* margin-top: 3cm; */
Expand Down

0 comments on commit 87ea1e4

Please sign in to comment.