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="#">Jobs</a>
|
||||
<a href="#">Competitions</a>
|
||||
<a href="#">Mentorships</a>
|
||||
<a href="#">Practice</a>
|
||||
<a href="#">More ▾</a>
|
||||
</nav>
|
||||
<div class="buttons">
|
||||
<button class="host">+ Host</button>
|
||||
<button class="business">For Business</button>
|
||||
<a href="/my/"><button class="business">Dashboard</button></a>
|
||||
<button class="login" onclick="goToLogin()">Login</button>
|
||||
</div>
|
||||
</header>
|
||||
@ -122,10 +118,6 @@
|
||||
</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>
|
||||
</section>
|
||||
|
||||
|
||||
18
main.css
18
main.css
@ -190,9 +190,11 @@
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
.nameContainer {
|
||||
.know-cards {
|
||||
display: flex;
|
||||
color: #717171;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.crd {
|
||||
@ -203,9 +205,10 @@
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 12px;
|
||||
background: #fff;
|
||||
max-width: 600px;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
max-width: 352px;
|
||||
margin: 0;
|
||||
flex: 1 1 352px;
|
||||
max-height: 100px;
|
||||
}
|
||||
|
||||
.crd img {
|
||||
@ -225,6 +228,9 @@
|
||||
}
|
||||
|
||||
.crd p {
|
||||
-webkit-line-clamp: 2;
|
||||
/* show max 2 lines */
|
||||
-webkit-box-orient: vertical;
|
||||
font-size: 12px;
|
||||
line-height: 140%;
|
||||
color: #383838;
|
||||
@ -617,6 +623,7 @@
|
||||
}
|
||||
|
||||
.hover-slider {
|
||||
display: none;
|
||||
padding: 0 0 50px 0;
|
||||
}
|
||||
|
||||
@ -826,6 +833,7 @@
|
||||
}
|
||||
|
||||
.nav-button {
|
||||
display: none;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
font-size: 18px;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user