Skip to content

Making explore button in the platform section the same height #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
*.iml
out
gen
.sass-cache/
18 changes: 11 additions & 7 deletions _layouts/splash.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,11 @@ <h2 class="section-heading blue">Platforms</h2>
<h3 class="box-heading">Cisco Network Convergence System 5500 Series</h3>
</div>
</a>
<p>The Network Convergence System (NCS) 5500 Series offers industry-leading density of routed 100 GE
ports for high-scale WAN aggregation. It is designed to efficiently scale between data centers and
large enterprise, web, and service provider WAN and aggregation networks.</p>
<div class="platform-description">
<p>The Network Convergence System (NCS) 5500 Series offers industry-leading density of routed 100 GE
ports for high-scale WAN aggregation. It is designed to efficiently scale between data centers and
large enterprise, web, and service provider WAN and aggregation networks.</p>
</div>
<a href="/ncs5500" class="button blue-bg">Explore</a>
</div>
</div>
Expand All @@ -200,10 +202,12 @@ <h3 class="box-heading">Cisco Network Convergence System 5500 Series</h3>
<h3 class="box-heading">Cisco Network Aggregation Services Routers 9000 Series</h3>
</div>
</a>
<p>High performance routers built to serve demanding edge markets
Edge networks serve billions of devices. You need feature rich routers
that economically scale with bandwidth demand. The ASR 9000 series is your edge routing device
capable of supporting the application performance required to power 5G service needs.</p>
<div class="platform-description">
<p>High performance routers built to serve demanding edge markets
Edge networks serve billions of devices. You need feature rich routers
that economically scale with bandwidth demand. The ASR 9000 series is your edge routing device
capable of supporting the application performance required to power 5G service needs.</p>
</div>
<a href="/asr9k" class="button blue-bg">Explore</a>
</div>
</div>
Expand Down
24 changes: 19 additions & 5 deletions css_new/cisco.css
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ ul.splide__list {
background-color: #00bceb;
box-shadow: -7px 7px 18px 0 rgba(0, 0, 0, 0.2);
}
.platform-description {
height: 240px;
}
.box-heading {
position: absolute;
margin: 0;
Expand Down Expand Up @@ -424,7 +427,6 @@ ul.splide__list {
padding: 80px 10px 40px;
}
}

@media screen and (max-width: 991px) {
.container{
max-width: 728px;
Expand Down Expand Up @@ -544,10 +546,10 @@ ul.splide__list {
padding: 5px;
}
/* Hero */
.hero-section {
padding: 144px 40px;
border-bottom-style: none;
}
.hero-section {
padding: 144px 40px;
border-bottom-style: none;
}
/* Spotlight Section */
.spotlight-text-box {
float: none;
Expand All @@ -560,6 +562,10 @@ ul.splide__list {
display: block;
width: 100%
}
/* Platform Section */
.platform-description {
height: 370px;
}
/* Design Section */
.designs-section {
padding-right: 40px;
Expand All @@ -576,6 +582,7 @@ ul.splide__list {
padding-left: 40px;
}
}

@media screen and (max-width: 768px) {
.container {
max-width: 620px;
Expand Down Expand Up @@ -625,6 +632,10 @@ ul.splide__list {
.transparent p {
margin: 10px 0;
}
.platform-description {
height: 400px;
overflow-y: auto;
}
/* CTA Section */
.cta-section {
padding: 50px 0
Expand Down Expand Up @@ -726,6 +737,9 @@ ul.splide__list {
.box-heading {
width: 220px;
}
.platform-description {
height: 100%;
}
/* Design Section */
.button.dark-blue-bg {
margin: 30px auto 0;
Expand Down