forked from stackrox/kube-linter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
140 lines (121 loc) · 2.99 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/* Coverpage animated heart */
.heart {
animation: heartbeat 1s infinite;
background-color: red;
display: inline-block;
height: 10px;
margin: 0 10px;
top: 0;
transform: rotate(-45deg);
left: 45%; top: 45%;
width: 10px;
}
.heart:hover {
animation: heartbeat 1s infinite;
}
.heart:before,
.heart:after {
content: "";
background-color: red;
border-radius: 50%;
height: 10px;
position: absolute;
width: 10px;
}
.heart:before {
top: -5px;
left: 0;
}
.heart:after {
left: 5px;
top: 0;
}
@keyframes heartbeat
{
0%
{
transform: scale( 1 )
rotate(-45deg);
}
20%
{
transform: scale( 1.25 )
rotate(-45deg);
}
40%
{
transform: scale( 1.5 )
rotate(-45deg);
}
}
/* GitHub Stars */
.app-nav img {
height: 25px;
}
/* Icons for Kubernetes and Helm tabs */
[data-tab="kubernetes"]:before {
content: url('https://api.iconify.design/cib:kubernetes.svg?height=16');
margin-right: 0.5em;
vertical-align: middle;
}
[data-tab="helm"]:before {
content: url('https://api.iconify.design/simple-icons:helm.svg?height=16');
margin-right: 0.5em;
vertical-align: middle;
}
/* Dark background from code blocks */
.markdown-section pre,
.markdown-section pre > code {
background-color: #2E2E46;
color: rgba(255,255,255,0.75);
font-size: 1em;
line-height: 1.5;
}
/* Code font */
:root {
--code-font-family: Inconsolata, Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
--code-tab-size : 4;
}
/* main font */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}
/* Animated sidebar toggle button */
body .sidebar-toggle {
background: none;
bottom: 0;
left: 0;
cursor: pointer;
padding: 1rem;
}
body .sidebar-toggle-button {
position: relative;
width: 1.5rem;
height: 1.5rem;
}
body .sidebar-toggle span {
transition: all 0.3s linear;
height: 0.25rem;
width: 1.5rem;
position: absolute;
left: 0;
margin: 0;
transform-origin: 0;
}
body.close .sidebar-toggle span {
transform-origin: center;
}
body .sidebar-toggle span:nth-child(1) { top:0; }
body .sidebar-toggle span:nth-child(2) { top:0.65rem; }
body .sidebar-toggle span:nth-child(3) { top:1.25rem; }
.sidebar-toggle .sidebar-toggle-button:hover { opacity: 1; }
.sidebar-toggle:hover span:nth-child(1) { transform: rotate(45deg); width: 1.75rem; }
.sidebar-toggle:hover span:nth-child(2) { opacity: 0; }
.sidebar-toggle:hover span:nth-child(3) { transform: rotate(-45deg); width: 1.75rem; }
.close .sidebar-toggle:hover span:nth-child(1) { transform:rotate(0); width:1.5rem; top:0.65rem; }
.close .sidebar-toggle:hover span:nth-child(2) { opacity: 1; transform:rotate(90deg); }
.close .sidebar-toggle:hover span:nth-child(3) { transform:rotate(0); width:1.5rem; top:0.65rem; }
/* Sidebar icon size */
.app-name-link > img {
width: 50%;
}