[zh-cn] Sync the blog page and partners page for vanilla Docsy

This commit is contained in:
Mengjiao Liu 2024-05-20 16:19:46 +08:00
parent c657258648
commit 1ca07c3df4
3 changed files with 5 additions and 212 deletions

View File

@ -4,9 +4,7 @@ linkTitle: 博客
menu:
main:
title: "博客"
weight: 40
post: >
<p>阅读关于 kubernetes 和容器规范的最新信息,以及获取最新的技术。</p>
weight: 20
---
{{< comment >}}

View File

@ -1,201 +0,0 @@
/* SECTIONS */
.section {
clear: both;
padding: 0px;
margin-bottom: 2em;
}
.kcsp_section {
clear: both;
padding: 0px;
margin-bottom: 2em;
}
/* COLUMN SETUP */
.col {
display: block;
float:left;
margin: 1% 0 1% 1.6%;
background-color: #f9f9f9;
}
.col:first-child { margin-left: 0; }
/* GROUPING */
.group:before,
.group:after {
content:"";
display:table;
}
.group:after {
clear:both;
}
.group {
zoom:1; /* For IE 6/7 */
}
/* GRID OF THREE */
.span_3_of_3 {
width: 35%;
background-color: #f9f9f9;
padding: 20px;
}
.span_2_of_3 {
width: 35%;
background-color: #f9f9f9;
padding: 20px;
}
.span_1_of_3 {
width: 35%;
background-color: #f9f9f9;
padding: 20px;
}
.col-container {
display: table; /* Make the container element behave like a table */
width: 100%; /* Set full-width to expand the whole page */
padding-bottom: 30px;
}
.col-nav {
display: table-cell; /* Make elements inside the container behave like table cells */
width: 18%;
background-color: #f9f9f9;
padding: 20px;
border: 5px solid white;
}
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
@media only screen and (max-width: 480px) {
.col { margin: 1% 0 1% 0%;}
.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
}
@media only screen and (max-width: 650px) {
.col-nav {
display: block;
width: 100%;
}
}
.button{
max-width: 100%;
box-sizing: border-box;
margin: 0;
display: inline-block;
border-radius: 6px;
padding: 0 20px;
line-height: 40px;
color: #ffffff;
font-size: 16px;
background-color: #3371e3;
text-decoration: none;
}
h5 {
font-size: 16px;
line-height: 1.5em;
margin-bottom: 2em;
}
#usersGrid a {
display: inline-block;
background-color: #f9f9f9;
}
#ktpContainer, #distContainer, #kcspContainer, #isvContainer, #servContainer {
position: relative;
width: 100%;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
#isvContainer {
margin-bottom: 80px;
}
#kcspContainer {
margin-bottom: 80px;
}
#distContainer {
margin-bottom: 80px;
}
#ktpContainer {
margin-bottom: 80px;
}
.partner-box {
position: relative;
width: 47%;
max-width: 48%;
min-width: 48%;
margin-bottom: 20px;
padding: 20px;
flex: 1;
display: flex;
justify-content: left;
align-items: flex-start;
}
.partner-box img {
background-color: #f9f9f9;
}
.partner-box > div {
margin-left: 30px;
}
.partner-box a {
color: #3576E3;
}
@media screen and (max-width: 1024px) {
.partner-box {
flex-direction: column;
justify-content: flex-start;
}
.partner-box > div {
margin: 20px 0 0;
}
}
@media screen and (max-width: 568px) {
#ktpContainer, #distContainter, #kcspContainer, #isvContainer, #servContainer {
justify-content: center;
}
.partner-box {
flex-direction: column;
justify-content: flex-start;
width: 100%;
max-width: 100%;
min-width: 100%;
}
.partner-box > div {
margin: 20px 0 0;
}
}
@media screen and (max-width: 568px) {
#ktpContainer, #distContainer, #kcspContainer, #isvContainer, #servContainer {
justify-content: center;
}
.partner-box {
flex-direction: column;
justify-content: flex-start;
width: 100%;
max-width: 100%;
min-width: 100%;
}
.partner-box > div {
margin: 20px 0 0;
}
}

View File

@ -4,6 +4,10 @@ bigheader: Kubernetes 合作伙伴
abstract: 发展 Kubernetes 生态圈
class: gridPage
cid: partners
body_class: partners
menu:
main:
weight: 40
---
<!--
@ -19,7 +23,6 @@ cid: partners
<h5>Kubernetes 与合作伙伴携手打造一个强大、活跃的代码库,支持一系列互补平台。</h5>
<div class="col-container">
<div class="col-nav">
<center>
<h5>
<!-- <b>Kubernetes Certified Service Providers</b> -->
<b>Kubernetes 认证服务提供商</b>
@ -36,7 +39,6 @@ cid: partners
</center>
</div>
<div class="col-nav">
<center>
<h5>
<!-- <b>Certified Kubernetes Distributions, Hosted Platforms, and Installers</b> -->
<b>Kubernetes 认证的发行版本、托管平台以及安装工具</b>
@ -49,10 +51,8 @@ cid: partners
<a href="https://www.cncf.io/certification/software-conformance/">Kubernetes Certified</a>? -->
<br><br>想要成为
<a href="https://www.cncf.io/certification/software-conformance/">Kubernetes 认证的厂商</a>吗?
</center>
</div>
<div class="col-nav">
<center>
<h5>
<!-- <b>Kubernetes Training Partners</b> -->
<b>Kubernetes 培训合作伙伴</b>
@ -66,12 +66,8 @@ cid: partners
<a href="https://www.cncf.io/certification/training/">KTP</a>? -->
<br><br>想要成为
<a href="https://www.cncf.io/certification/training/">KTP</a> 吗?
</center>
</div>
</div>
{{< cncf-landscape helpers=true >}}
</section>
<style>
{{< include "partner-style.css" >}}
</style>