Skip to content

Commit

Permalink
Docs home page card layout is now consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauravpadam committed Sep 22, 2023
1 parent 68ae50c commit 64ae09e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 14 deletions.
45 changes: 36 additions & 9 deletions assets/scss/_custom.scss
Expand Up @@ -317,20 +317,47 @@ footer {
/* DOCS */

.launch-cards {
padding: 0;
.launch-card{

padding: 0;
display: flex;
flex-direction: column;
background-color: #DAEAf9;
border:2px solid #99B7D3;
border-radius: 8px;

h2 {
text-align: center;
font-size: 1.75em;
padding: .5em;

a{
display: none;
}
}

p {
padding: .5em;
text-align: center;
}

ul {
list-style: disc;
color: #99B7D3;
margin: 0 auto;
margin-block-end: auto;
}

button {
height: min-content;
margin: 0 auto;
padding: .5em .75em;
cursor: pointer;
box-sizing: border-box;
background: none;
margin: 0;
border: 0;
}

ul,
li {
list-style: none;
padding-left: 0;
}
}
}

// table of contents
.td-toc {
Expand Down
10 changes: 5 additions & 5 deletions content/en/docs/home/_index.md
Expand Up @@ -46,16 +46,16 @@ cards:
description: Browse terminology, command line syntax, API resource types, and setup tool documentation.
button: View Reference
button_path: /docs/reference
- name: training
title: "Training"
description: "Get certified in Kubernetes and make your cloud native projects successful!"
button: "View training"
button_path: "/training"
- name: contribute
title: Contribute to Kubernetes
description: Anyone can contribute, whether you're new to the project or you've been around a long time.
button: Find out how to help
button_path: /docs/contribute
- name: training
title: "Training"
description: "Get certified in Kubernetes and make your cloud native projects successful!"
button: "View training"
button_path: "/training"
- name: Download
title: Download Kubernetes
description: Install Kubernetes or upgrade to the newest version.
Expand Down

0 comments on commit 64ae09e

Please sign in to comment.