Skip to content

Commit

Permalink
Responsive adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-lalanne committed Mar 17, 2021
1 parent fe09e87 commit 2915aea
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
9 changes: 4 additions & 5 deletions portfolio/src/components/home/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<div>
Salut, moi c'est
<div class="name-container"><h1 class="highlight">Mickaël Lalanne</h1>.</div>
<br />
Je suis développeur web full-stack.
<div>Je suis développeur web full-stack.</div>
<CustomButton
class="see-work-button"
text="Voir mon travail"
Expand Down Expand Up @@ -253,15 +252,15 @@ export default {
.home-content-container {
font-size: 39px;
}
.name-container {
display: block;
}
}
// Small devices (landscape phones, max 576px and less)
@media (max-width: 576px) {
.home-content-container {
font-size: 26px;
}
.name-container {
display: block;
}
}
</style>
3 changes: 1 addition & 2 deletions portfolio/src/components/presentation/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,9 @@ export default {
&__event {
background: #fff;
margin-bottom: 20px;
position: relative;
display: flex;
margin: 20px 0;
margin: 10px 0;
border-radius: 8px;
box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
z-index: 0;
Expand Down
6 changes: 6 additions & 0 deletions portfolio/src/components/projects/ProjectPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,10 @@ export default {
width: 100%;
}
}
// Small devices (landscape phones, max 576px and less)
@media (max-width: 576px) {
.project-img {
max-width: 95vw;
}
}
</style>
2 changes: 1 addition & 1 deletion portfolio/src/components/projects/Projects.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ export default {
background-color: var(--v-primary-base);
text-align: center;
margin: auto;
margin-bottom: 100px;
margin-bottom: 65px;
}
</style>

0 comments on commit 2915aea

Please sign in to comment.