Added Device Detection and conditional formatting for Mobile

This commit is contained in:
ItzMineyy committed 2024-12-24 22:31:28 +01:00
1 parent 166e2503ee
commit 97217cb149
31 files changed
+261 -453

No files matched your search

+17 -5
View File
@@ -21,6 +21,21 @@
text-align: center;
}
.portfolio-header-mobile {
text-align: center;
padding-top: 50px;
padding-bottom: 10px;
}
.portfolio-header-mobile h1 {
font-size: 2.5rem;
background: transparent;
border: 4px solid white;
margin: 8px 30px 8px 30px;
padding: 10px;
border-radius: 45px;
}
.portfolio-header h1 {
font-size: 2.5rem;
background: transparent;
@@ -50,24 +65,21 @@
text-align: center;
border-radius: 10px;
overflow: hidden;
background: rgba(255, 255, 255, 0.1);
padding: 10px;
transition: transform 0.3s ease-in-out;
}
.gallery-item img {
width: 100%;
border-radius: 8px;
margin-bottom: 10px;
margin-bottom: 2px;
}
.gallery-item:hover {
transform: scale(1.05);
background: rgba(255, 255, 255, 0.2);
}
.gallery-item p {
font-size: 1rem;
font-size: 1.0rem;
font-weight: 400;
}