Skip to content

Commit 17f418f

Browse files
authored
Merge pull request #25087 from sftim/20201117_add_cks_training
Add CKS to training page
2 parents 754db53 + 938d569 commit 17f418f

File tree

3 files changed

+125
-63
lines changed

3 files changed

+125
-63
lines changed

content/en/training/_index.html

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,18 @@
1010
<section class="call-to-action">
1111
<div class="main-section">
1212
<div class="call-to-action" id="cta-certification">
13-
<div class="logo-certification cta-image cta-image-before" id="logo-cka">
13+
<div class="cta-text">
14+
<h2>Build your cloud native career</h2>
15+
<p>Kubernetes is at the core of the cloud native movement. Training and certifications from the Linux Foundation and our training partners lets you invest in your career, learn Kubernetes, and make your cloud native projects successful.</p>
16+
</div>
17+
<div class="logo-certification cta-image" id="logo-cka">
1418
<img src="/images/training/kubernetes-cka-white.svg"/>
1519
</div>
16-
<div class="logo-certification cta-image cta-image-after" id="logo-ckad">
20+
<div class="logo-certification cta-image" id="logo-ckad">
1721
<img src="/images/training/kubernetes-ckad-white.svg"/>
1822
</div>
19-
<div class="cta-text">
20-
<h2>Build your cloud native career</h2>
21-
<p>Kubernetes is at the core of the cloud native movement. Training and certifications from the Linux Foundation and our training partners lets you invest in your career, learn Kubernetes, and make your cloud native projects successful.</p>
23+
<div class="logo-certification cta-image" id="logo-cks">
24+
<img src="/images/training/kubernetes-cks-white.svg"/>
2225
</div>
2326
</div>
2427
</div>
@@ -74,31 +77,36 @@ <h2>Learn with the Linux Foundation</h2>
7477
</div>
7578
</div>
7679

77-
<section>
80+
<section id="get-certified">
7881
<div class="main-section padded">
79-
<center>
80-
<h2>Get Kubernetes Certified</h2>
81-
</center>
82+
<h2>Get Kubernetes Certified</h2>
8283
<div class="col-container">
8384
<div class="col-nav">
84-
<center>
8585
<h5>
8686
<b>Certified Kubernetes Application Developer (CKAD)</b>
8787
</h5>
8888
<p>The Certified Kubernetes Application Developer exam certifies that users can design, build, configure, and expose cloud native applications for Kubernetes.</p>
89+
<p>A CKAD can define application resources and use core primitives to build, monitor, and troubleshoot scalable applications and tools in Kubernetes.</p>
8990
<br>
9091
<a href="https://training.linuxfoundation.org/certification/certified-kubernetes-application-developer-ckad/" target="_blank" class="button">Go to Certification</a>
91-
</center>
9292
</div>
9393
<div class="col-nav">
94-
<center>
9594
<h5>
9695
<b>Certified Kubernetes Administrator (CKA)</b>
9796
</h5>
9897
<p>The Certified Kubernetes Administrator (CKA) program provides assurance that CKAs have the skills, knowledge, and competency to perform the responsibilities of Kubernetes administrators.</p>
98+
<p>A certified Kubernetes administrator has demonstrated the ability to do basic installation as well as configuring and managing production-grade Kubernetes clusters.</p>
9999
<br>
100100
<a href="https://training.linuxfoundation.org/certification/certified-kubernetes-administrator-cka/" target="_blank" class="button">Go to Certification</a>
101-
</center>
101+
</div>
102+
<div class="col-nav">
103+
<h5>
104+
<b>Certified Kubernetes Security Specialist (CKS)</b>
105+
</h5>
106+
<p>The Certified Kubernetes Security Specialist program provides assurance that the holder is comfortable and competent with a broad range of best practices. CKS certification covers skills for securing container-based applications and Kubernetes platforms during build, deployment and runtime.</p>
107+
<p><em>Candidates for CKS must hold a current Certified Kubernetes Administrator (CKA) certification to demonstrate they possess sufficient Kubernetes expertise before sitting for the CKS.</em></p>
108+
<br>
109+
<a href="https://training.linuxfoundation.org/certification/certified-kubernetes-security-specialist/" target="_blank" class="button">Go to Certification</a>
102110
</div>
103111
</div>
104112
</div>

static/css/training.css

Lines changed: 71 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,86 @@
1-
#hero {
1+
body.cid-training body.cid-training #hero {
22
text-align: left;
33
padding-bottom: 20px;
44
}
55

6-
.section {
6+
body.cid-training body.cid-training .section {
77
clear: both;
88
padding: 0px;
99
margin-bottom: 2em;
1010
width: 100%;
1111
}
1212

13-
section.call-to-action {
13+
body.cid-training section.call-to-action {
1414
color: #ffffff;
1515
background-color: #3371e3;
1616
}
1717

18-
section.call-to-action .main-section {
18+
body.cid-training section.call-to-action .main-section {
1919
max-width: initial;
2020
}
2121

22-
section.call-to-action .main-section > div.call-to-action {
22+
body.cid-training section.call-to-action .main-section > div.call-to-action {
2323
display: flex;
2424
flex-direction: row;
2525
flex-wrap: wrap;
26-
flex-basis: auto;
2726
justify-content: center;
2827
align-items: center;
2928
margin: initial;
3029
padding-top: 5rem;
3130
padding-bottom: 5rem;
3231
}
3332

34-
section.call-to-action .main-section > div.call-to-action > div {
35-
order: 1;
33+
body.cid-training section.call-to-action .main-section > div.call-to-action > div {
3634
padding: 20px;
3735
}
3836

39-
section.call-to-action .main-section .cta-text {
40-
text-align: center;
41-
flex: 1 1 auto;
42-
max-width: 50vw;
37+
body.cid-training section.call-to-action .main-section .cta-text {
38+
width: 100%;
39+
flex-basis: 100%;
4340
}
4441

45-
/* if max() and min() are available, use them */
46-
section.call-to-action .main-section .cta-text {
42+
body.cid-training section.call-to-action .main-section .cta-text > * {
43+
margin-left: auto;
44+
margin-right: auto;
45+
text-align: center;
46+
/* if max() and min() are available, use them */
4747
min-width: min(20em, 50vw);
4848
max-width: min(1000px, 50vw);
4949
}
5050

51-
section.call-to-action .main-section .cta-image.cta-image-before {
52-
order: 0
53-
}
54-
55-
section.call-to-action .main-section .cta-image.cta-image-after {
56-
order: 2
51+
body.cid-training section.call-to-action .main-section .cta-image {
52+
max-width: max(20vw,150px);
53+
flex-basis: auto;
5754
}
58-
59-
section.call-to-action .main-section .cta-image > img {
55+
body.cid-training section.call-to-action .main-section .cta-image > img {
6056
display: block;
6157
width: 150px;
6258
margin: auto;
6359
}
6460

65-
.col {
61+
body.cid-training #logo-cks {
62+
order: 2; /* central */
63+
}
64+
65+
66+
67+
body.cid-training .col {
6668
display: flex;
6769
flex-direction: row;
6870
float: left;
6971
margin: 1% 0 1% 1.6%;
7072
}
7173

72-
.col:first-child { margin-left: 0; }
74+
body.cid-training .col:first-child { margin-left: 0; }
7375

74-
.col-container {
76+
body.cid-training .col-container {
7577
display: flex; /* Make the container element behave like a table */
7678
flex-direction: row;
7779
width: 100%; /* Set full-width to expand the whole page */
7880
padding-bottom: 30px;
7981
}
8082

81-
.col-nav {
83+
body.cid-training .col-nav {
8284
display: flex;
8385
flex-grow: 1;
8486
width: 18%;
@@ -87,44 +89,62 @@ section.call-to-action .main-section .cta-image > img {
8789
border: 5px solid white;
8890
}
8991

92+
body.cid-training #get-certified .col-nav {
93+
flex-flow: column nowrap;
94+
justify-content: space-between;
95+
}
96+
97+
body.cid-training #get-certified .col-nav > * {
98+
flex-grow: 0;
99+
flex-shrink: 0;
100+
flex-basis: auto;
101+
}
102+
103+
body.cid-training #get-certified .col-nav > br {
104+
flex-grow: 1;
105+
display: block;
106+
min-height: 2em;
107+
}
108+
109+
body.cid-training #get-certified .col-nav a.button {
110+
flex: initial;
111+
width: auto;
112+
margin-left: auto;
113+
margin-right: auto;
114+
}
115+
90116

91117
@media only screen and (max-width: 840px) {
92-
section.call-to-action .main-section .cta-image.cta-image-before, section.call-to-action .main-section .cta-image.cta-image-after {
93-
order: 0;
94-
}
95-
section.call-to-action .main-section .cta-image > img {
118+
body.cid-training section.call-to-action .main-section .cta-image > img {
96119
margin: 0;
97120
}
98-
section.call-to-action .main-section .cta-image > img {
121+
body.cid-training section.call-to-action .main-section .cta-image > img {
99122
width: 7rem;
100123
}
101-
section.call-to-action .main-section > div.call-to-action > div {
124+
body.cid-training section.call-to-action .main-section > div.call-to-action > div {
102125
padding: 0 2rem 0 2rem;
103126
}
104-
section.call-to-action .main-section .cta-text {
105-
flex: 2 0 75vw;
106-
max-width: initial;
107-
padding: 5vw 0 0 0;
108-
}
109127
}
110128

111129

130+
112131
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
113132

114133
@media only screen and (max-width: 480px) {
115-
.col { margin: 1% 0 1% 0%;}
116-
.col-container { flex-direction: column; }
134+
body.cid-training .col { margin: 1% 0 1% 0%;}
135+
body.cid-training .col-container { flex-direction: column; }
136+
body.cid-training #logo-cks { order: initial; }
117137
}
118138

119139
@media only screen and (max-width: 650px) {
120-
.col-nav {
140+
body.cid-training .col-nav {
121141
display: block;
122142
width: 100%;
123143
}
124-
.col-container { flex-direction: column; }
144+
body.cid-training .col-container { flex-direction: column; }
125145
}
126146

127-
.button{
147+
body.cid-training .button {
128148
max-width: 100%;
129149
box-sizing: border-box;
130150
margin: 1em 0;
@@ -136,47 +156,48 @@ section.call-to-action .main-section .cta-image > img {
136156
font-size: 16px;
137157
background-color: #3371e3;
138158
text-decoration: none;
159+
text-align: center;
139160
}
140161

141-
h5 {
162+
body.cid-training h5 {
142163
font-size: 16px;
143164
font-weight: 500;
144165
line-height: 1.5em;
145166
margin-bottom: 2em;
146167
}
147168

148-
.white-text {
169+
body.cid-training .white-text {
149170
color: #fff;
150171
}
151172

152-
.padded {
173+
body.cid-training .padded {
153174
padding-top: 100px;
154175
padding-bottom: 100px;
155176
}
156177

157-
.blue-bg {
178+
body.cid-training .blue-bg {
158179
background-color: #3371e3;
159180
}
160181

161-
.lighter-gray-bg {
182+
body.cid-training .lighter-gray-bg {
162183
background-color: #f4f4f4;
163184
}
164185

165-
.two-thirds-centered {
186+
body.cid-training .two-thirds-centered {
166187
width: 66%;
167188
max-width: 950px;
168189
margin-left: auto;
169190
margin-right: auto;
170191
}
171192

172-
.landscape-section {
193+
body.cid-training .landscape-section {
173194
margin-left: auto;
174195
margin-right: auto;
175196
max-width: 1200px;
176197
width: 100%;
177198
}
178199

179-
#landscape {
200+
body.cid-training #landscape {
180201
opacity: 1;
181202
visibility: visible;
182203
overflow: hidden;

0 commit comments

Comments
 (0)