Skip to content

Commit

Permalink
make more mobile friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
Kandles11 committed Jun 1, 2024
1 parent 6d92176 commit 1400a0c
Showing 1 changed file with 40 additions and 3 deletions.
43 changes: 40 additions & 3 deletions src/styles/project.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
.content-container {
flex-direction: column;
align-items: flex-start;
width: 100%;
}

.description {
Expand All @@ -117,11 +118,25 @@

.stats {
grid-template-columns: 1fr 1fr;
grid-template-rows: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
width: 100%;
}

.image-grid {
grid-template-columns: 1fr 1fr;
width: 100%;
}

.short-description {
font-size: 1.8em;
}

.history-section {
width: 100%;
}

.history-text {
font-size: 1.2em;
}
}

Expand All @@ -133,17 +148,28 @@
.history-text {
font-size: 1.1em;
}

.stats {
grid-template-columns: 1fr;
grid-template-columns: 1fr;
grid-template-rows: repeat(3, 1fr);
width: 100%;
}

.image-grid {
grid-template-columns: 1fr;
width: 100%;
}

.history-section {
width: 100%;
}
}

@media (max-width: 480px) {
.main-container {
padding: 0px;
padding-top: 120px;
}

.short-description {
font-size: 1.2em;
Expand All @@ -153,8 +179,19 @@
font-size: 1em;
}

.stats {
grid-template-columns: 1fr;
grid-template-rows: repeat(3, 1fr);
width: 100%;
}

.image-grid {
grid-template-columns: 1fr;
width: 100%;
}

.history-section {
width: 100%;
}

.history-image {
Expand Down

0 comments on commit 1400a0c

Please sign in to comment.