Skip to content

Commit c77322f

Browse files
committed
Ajout du logo de Github en haut à droite
1 parent 030b62b commit c77322f

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

assets/css/style.css

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ section .heading {
124124
color: #fff;
125125
}
126126

127-
128-
129127
/* PORTFOLIO */
130128
#portfolio {
131129
background-image: linear-gradient(
@@ -139,6 +137,13 @@ section .heading {
139137
#portfolio .divider {
140138
background-color: var(--secondaryColor);
141139
}
140+
#portfolio .social-media {
141+
display:flex;
142+
justify-content: flex-end;
143+
}
144+
#portfolio .social-media .github-logo {
145+
margin-right: 20px;
146+
}
142147
#portfolio .heading h2 {
143148
color: var(--secondaryColor);
144149
}
@@ -220,7 +225,6 @@ footer {
220225
transform: scale(1.4, 1.4);
221226
}
222227

223-
224228
/* MISSIONS */
225229
#missions {
226230
background-image: linear-gradient(var(--darkblue), var(--lightblue));
@@ -257,8 +261,6 @@ footer {
257261
color: aqua;
258262
}
259263

260-
261-
262264
/*** MEDIA QUERIES ***/
263265
@media screen and (min-width: 992px) {
264266
/* MISSIONS */
@@ -282,7 +284,7 @@ footer {
282284
display: none;
283285
}
284286
}
285-
@media screen and (max-width: 625px) {
287+
@media screen and (max-width: 625px) {
286288
/* PORTFOLIO */
287289
.card:hover {
288290
transform: scale(1, 1);

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
<section id="portfolio">
2424
<div class="divider"></div>
2525
<div class="heading">
26+
<div class="social-media">
27+
<a class="github-logo" href="https://github.com/charlenry" target="_blank"><i class="fab fa-github"></i></a>
28+
</div>
2629
<h2>E-Portfolio</h2>
2730
</div>
2831
<div class="container">

0 commit comments

Comments
 (0)