Merge pull request #43164 from Gauravpadam/docs-home-card-consistency
Docs home page card layout is now consistentpull/43165/head
commit
c5835c5718
|
@ -317,19 +317,46 @@ footer {
|
|||
/* DOCS */
|
||||
|
||||
.launch-cards {
|
||||
button {
|
||||
cursor: pointer;
|
||||
box-sizing: border-box;
|
||||
background: none;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
ul,
|
||||
li {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// table of contents
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue