Skip to content

Commit

Permalink
add mobile surport5
Browse files Browse the repository at this point in the history
  • Loading branch information
y2kr committed Feb 26, 2025
1 parent 00358a0 commit fed45c2
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,15 @@ header {
@media only screen and (max-width: 768px) {
body {
font-size: 16px;
line-height: 1.5;
}

#ascii-art2 {
font-size: 7px;
transform: scale(0.8);
transform: scale(0.75);
margin-bottom: -15px;
overflow-x: hidden;
margin: 15px auto;
}

#ascii-art2 pre {
Expand All @@ -373,7 +375,7 @@ header {
width: 80%;
height: auto;
aspect-ratio: 1;
margin: 10px auto;
margin: 15px auto;
}

.gallery {
Expand All @@ -396,43 +398,35 @@ header {
}

.content-center {
text-align: center;
width: 100%;
margin: 20px 0;
padding: 0 15px;
box-sizing: border-box;
}
.stars {
font-size: 20px;
margin-bottom: 20px;
}

.info-text {
display: inline-block;
text-align: left;
font-size: 18px;
margin: 0 auto;
line-height: 1.3;
max-width: 90%;
}

.project-title {
font-size: 22px;
}

.stars {
font-size: 20px;
margin: 15px 0;
}

.project {
margin-bottom: 30px;
}

.nav-link {
margin: 5px 0;
text-align: left;
}
}

@media only screen and (min-width: 450px) and (max-width: 768px) {
#geo-container {
width: 50% !important;
height: auto !important;
aspect-ratio: 1 !important;
width: 50%;
height: auto;
aspect-ratio: 1;
}
}

Expand Down

0 comments on commit fed45c2

Please sign in to comment.