fix: responsive
This commit is contained in:
parent
4083584195
commit
0899bb5be9
10
index.html
10
index.html
@ -46,13 +46,9 @@
|
|||||||
<a href="#">Internships</a>
|
<a href="#">Internships</a>
|
||||||
<a href="#">Jobs</a>
|
<a href="#">Jobs</a>
|
||||||
<a href="#">Competitions</a>
|
<a href="#">Competitions</a>
|
||||||
<a href="#">Mentorships</a>
|
|
||||||
<a href="#">Practice</a>
|
|
||||||
<a href="#">More ▾</a>
|
|
||||||
</nav>
|
</nav>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button class="host">+ Host</button>
|
<a href="/my/"><button class="business">Dashboard</button></a>
|
||||||
<button class="business">For Business</button>
|
|
||||||
<button class="login" onclick="goToLogin()">Login</button>
|
<button class="login" onclick="goToLogin()">Login</button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
@ -122,10 +118,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div role="button" tabindex="0" class="knon_more"> Know How <un-icon _nghost-serverapp-c3674528818=""><img
|
|
||||||
style="--size: 18px;" src="https://cdn.Kodepilot.com/assets/icons/chevron_down.svg" height="18"
|
|
||||||
width="18" alt="chevron_down" class="ng-star-inserted"></un-icon>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
18
main.css
18
main.css
@ -190,9 +190,11 @@
|
|||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nameContainer {
|
.know-cards {
|
||||||
display: flex;
|
display: flex;
|
||||||
color: #717171;
|
flex-wrap: wrap;
|
||||||
|
gap: 16px;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.crd {
|
.crd {
|
||||||
@ -203,9 +205,10 @@
|
|||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
max-width: 600px;
|
max-width: 352px;
|
||||||
margin-left: 10px;
|
margin: 0;
|
||||||
margin-right: 10px;
|
flex: 1 1 352px;
|
||||||
|
max-height: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.crd img {
|
.crd img {
|
||||||
@ -225,6 +228,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.crd p {
|
.crd p {
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
/* show max 2 lines */
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 140%;
|
line-height: 140%;
|
||||||
color: #383838;
|
color: #383838;
|
||||||
@ -617,6 +623,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.hover-slider {
|
.hover-slider {
|
||||||
|
display: none;
|
||||||
padding: 0 0 50px 0;
|
padding: 0 0 50px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -826,6 +833,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav-button {
|
.nav-button {
|
||||||
|
display: none;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user