Skip to content

Commit a6e4dd6

Browse files
committed
feat(keps): update index page type and add KEP styles
Signed-off-by: bupd <bupdprasanth@gmail.com>
1 parent 99e8246 commit a6e4dd6

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

assets/scss/_styles_project.scss

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
11
.navbar-brand__name {
22
text-transform: uppercase;
33
}
4+
5+
/* KEP page styles */
6+
.kep-page {
7+
.kep-stage-badge {
8+
margin-bottom: 1rem;
9+
10+
.badge {
11+
font-size: 0.9rem;
12+
padding: 0.5em 1em;
13+
border-radius: 4px;
14+
}
15+
}
16+
17+
.kep-stage-alpha .badge {
18+
background-color: #ffc107;
19+
color: #000;
20+
}
21+
22+
.kep-stage-beta .badge {
23+
background-color: #17a2b8;
24+
color: #fff;
25+
}
26+
27+
.kep-stage-stable .badge {
28+
background-color: #28a745;
29+
color: #fff;
30+
}
31+
32+
.kep-stage-deprecated .badge {
33+
background-color: #6c757d;
34+
color: #fff;
35+
}
36+
37+
h2 {
38+
font-size: 1.3rem;
39+
border-bottom: 1px solid #dee2e6;
40+
padding-bottom: 0.5rem;
41+
margin-top: 1.5rem;
42+
}
43+
44+
.table {
45+
max-width: 600px;
46+
}
47+
}

content/en/resources/keps/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ linktitle: Enhancements
33
title: Kubernetes Enhancement Proposals (KEPs)
44
description: |
55
List of Kubernetes enhancements
6-
type: docs
6+
type: keps
77
---
88

99
These data come from the [kubernetes/enhancements]

0 commit comments

Comments
 (0)