Skip to content

Commit e82935a

Browse files
committed
fix: align social icons vertically, fix text overlap, and restore image vibrancy
Signed-off-by: sarbojitrana <sarbojitrana47c@gmail.com>
1 parent f0bcfca commit e82935a

File tree

1 file changed

+70
-18
lines changed

1 file changed

+70
-18
lines changed

css/main.css

Lines changed: 70 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4055,41 +4055,93 @@ html.no-csstransitions .home-content__main {
40554055
margin-bottom: 40px;
40564056
}
40574057

4058-
/* ---FIX FOR ISSUE #3294--- */
4058+
/* --- UPDATED MOBILE FIXES (ISSUE: 3294) --- */
40594059
@media only screen and (max-width: 900px) {
4060-
4061-
.home-social {
4062-
position: relative;
4063-
top: auto;
4064-
right: auto;
4065-
transform: none;
4066-
display: flex;
4067-
justify-content: center;
4068-
align-items: center;
4069-
width: 100%;
4070-
margin-top: 3rem;
4071-
padding: 0;
4072-
}
40734060

4074-
.home-social li {
4075-
padding: 0 1.5rem;
4061+
#home, .home {
4062+
height: auto !important;
4063+
min-height: 100vh;
4064+
padding-bottom: 5rem !important;
40764065
}
40774066

4067+
40784068
.home-content {
40794069
padding-right: 0 !important;
40804070
text-align: center;
4071+
width: 100%;
4072+
background: rgba(255, 255, 255, 0.85);
4073+
padding: 2rem !important;
4074+
border-radius: 15px;
4075+
margin-top: 2rem;
40814076
}
40824077

4078+
.home-content h1 {
4079+
font-size: clamp(2rem, 8vw, 3.5rem);
4080+
line-height: 1.2;
4081+
margin-bottom: 1rem;
4082+
}
4083+
4084+
40834085
.home-content__buttons {
40844086
display: flex;
40854087
flex-direction: column;
40864088
align-items: center;
40874089
justify-content: center;
40884090
width: 100%;
4091+
margin-top: 2rem;
40894092
gap: 1rem;
40904093
}
40914094

4092-
.home-content h1 {
4093-
font-size: clamp(2rem, 5vw, 4rem);
4095+
4096+
.btn, .button {
4097+
padding: 12px 24px !important;
4098+
height: auto !important;
4099+
line-height: normal !important;
4100+
white-space: normal !important;
4101+
}
4102+
4103+
.services-list, .card, .service-item {
4104+
height: auto !important;
4105+
min-height: auto !important;
4106+
overflow: visible !important;
4107+
}
4108+
4109+
4110+
li, p {
4111+
word-wrap: break-word;
4112+
}
4113+
4114+
4115+
.listed-criteria h2,
4116+
.criteria-list h2 {
4117+
line-height: 1.4 !important;
4118+
height: auto !important;
4119+
display: block !important;
4120+
margin-bottom: 0.5rem !important;
4121+
}
4122+
4123+
4124+
.bunny img {
4125+
opacity: 1.0 !important;
4126+
}
4127+
.overlay, .shadow-overlay {
4128+
display: none !important;
4129+
}
4130+
4131+
.home-social {
4132+
display: flex !important;
4133+
flex-direction: column !important;
4134+
gap: 0.8rem !important;
4135+
4136+
position: absolute !important;
4137+
4138+
top: 22.0rem !important;
4139+
right: 2.5rem !important;
4140+
left: auto !important;
4141+
4142+
width: auto !important;
4143+
margin-top: 0 !important;
4144+
padding: 0 !important;
4145+
z-index: 100 !important;
40944146
}
40954147
}

0 commit comments

Comments
 (0)