Skip to content

Commit ad48be5

Browse files
committed
Updated site CSS and cleanup old files
1 parent e904c59 commit ad48be5

File tree

222 files changed

+27910
-447
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+27910
-447
lines changed

404.html

+32-40
Original file line numberDiff line numberDiff line change
@@ -5,55 +5,42 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>Page Not Found :: Red Hat OpenShift Serverless previews</title>
77
<link rel="stylesheet" href="/docs/_/css/site.css">
8+
<link rel="stylesheet" href="/docs/_/css/extra.css">
9+
<link rel="stylesheet" href="/docs/_/font-awesome-4.7.0/css/font-awesome.min.css">
10+
<!--
11+
<link rel="icon" href="/docs/favicon.ico" type="image/x-icon">
12+
-->
813
</head>
914
<body class="status-404">
10-
<header class="header">
15+
<header class="header" role="banner">
1116
<nav class="navbar">
1217
<div class="navbar-brand">
13-
<a class="navbar-item" href="https://openshift-knative.github.io/docs">Red Hat OpenShift Serverless previews</a>
14-
<button class="navbar-burger" data-target="topbar-nav">
15-
<span></span>
16-
<span></span>
17-
<span></span>
18-
</button>
18+
<div class="navbar-item">
19+
<button class="navbar-burger" data-target="topbar-nav">
20+
<span></span>
21+
<span></span>
22+
<span></span>
23+
</button>
24+
<img src="/docs/_/img/serverless-icon.svg" class="navbar-logo" alt="OpenShift Serverless icon">
25+
<a href="">OpenShift Serverless Previews</a>
26+
</div>
1927
</div>
20-
<!--
2128
<div id="topbar-nav" class="navbar-menu">
2229
<div class="navbar-end">
23-
<a class="navbar-item" href="#">Home</a>
24-
<div class="navbar-item has-dropdown is-hoverable">
25-
<a class="navbar-link" href="#">Products</a>
26-
<div class="navbar-dropdown">
27-
<a class="navbar-item" href="#">Product A</a>
28-
<a class="navbar-item" href="#">Product B</a>
29-
<a class="navbar-item" href="#">Product C</a>
30-
</div>
31-
</div>
32-
<div class="navbar-item has-dropdown is-hoverable">
33-
<a class="navbar-link" href="#">Services</a>
34-
<div class="navbar-dropdown">
35-
<a class="navbar-item" href="#">Service A</a>
36-
<a class="navbar-item" href="#">Service B</a>
37-
<a class="navbar-item" href="#">Service C</a>
38-
</div>
39-
</div>
40-
<div class="navbar-item has-dropdown is-hoverable">
41-
<a class="navbar-link" href="#">Resources</a>
42-
<div class="navbar-dropdown">
43-
<a class="navbar-item" href="#">Resource A</a>
44-
<a class="navbar-item" href="#">Resource B</a>
45-
<a class="navbar-item" href="#">Resource C</a>
46-
</div>
47-
</div>
48-
<div class="navbar-item">
49-
<span class="control">
50-
<a class="button is-primary" href="#">Download</a>
51-
</span>
30+
<!-- search broken
31+
<div class="navbar-item hide-for-print">
32+
<script async src="https://cse.google.com/cse.js?cx=002898025167115630151:gnr5edrg2eo"></script>
33+
<div class="gcse-searchbox" enableAutoComplete="true"></div>
5234
</div>
35+
-->
36+
<a class="navbar-item" href="#">Home</a>
37+
<a class="navbar-item" href="">Blog</a>
38+
<a class="navbar-item" href="">Source Code</a>
5339
</div>
54-
-->
5540
</div>
5641
</nav>
42+
<!-- need alt search type-->
43+
<!--<div class="gcse-searchresults"></div>-->
5744
</header>
5845
<div class="main-wrapper">
5946
<div class="navigation-container">
@@ -62,7 +49,7 @@
6249
<div class="navigation-explore is-active" data-panel="explore">
6350
<ul class="components">
6451
<li class="component">
65-
<span class="title">OpenShift Serverless Previews</span>
52+
<span class="title">Documentation</span>
6653
<ul class="versions">
6754
<li class="version is-latest">
6855
<a href="/docs/index.html">master</a>
@@ -97,8 +84,13 @@ <h1>Page Not Found</h1>
9784
</div>
9885
</div>
9986
</div><footer class="footer">
100-
<p>Adapted from Antora default UI, (c) 2019</p>
87+
<div><a href="https://www.eclipse.org" target="_blank">Eclipse Foundation</a> |
88+
<a href="https://www.eclipse.org/legal/privacy.php" target="_blank">Privacy Policy</a> |
89+
<a href="https://www.eclipse.org/legal/termsofuse.php" target="_blank">Terms of Use</a> |
90+
<a href="https://www.eclipse.org/legal/epl-2.0/" target="_blank">Eclipse Public License</a> |
91+
<a href="https://www.eclipse.org/legal" target="_blank">Legal Resources</a></div>
10192
</footer>
93+
10294
<script src="/docs/_/js/site.js"></script>
10395
<script src="/docs/_/js/vendor/highlight.js"></script>
10496
<script>hljs.initHighlighting()</script>

_/css/branding.css

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.navbar {
2+
background: #EE0000;
3+
color: #fff;
4+
}

_/css/extra.css

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
body {
2+
font-family: 'Noto Sans', sans-serif;
3+
}
4+
5+
.doc .admonitionblock .icon {
6+
border-radius: 1rem;
7+
}
8+
9+
i.fa[class^='icon-'],
10+
i.fa[class*=' icon-']::before {
11+
content: "";
12+
height: 1.25rem;
13+
width: 1.25rem;
14+
margin-right: 0.25rem;
15+
margin-left: -0.5rem;
16+
}
17+
18+
i.fa.icon-note::before {
19+
background: no-repeat url("../img/note.svg");
20+
}
21+
22+
i.fa.icon-tip::before {
23+
background: no-repeat url("../img/tip.svg");
24+
}
25+
26+
i.fa.icon-important::before {
27+
background: no-repeat url("../img/important.svg");
28+
}
29+
30+
i.fa.icon-warning::before {
31+
background: no-repeat url("../img/warning.svg");
32+
}
33+
34+
i.fa.icon-caution::before {
35+
background: no-repeat url("../img/caution.svg");
36+
}
37+
38+
/* logo in navigation bar */
39+
.navbar-item img.navbar-logo {
40+
margin-right: 1ex;
41+
height: 90%;
42+
width: auto;
43+
}
44+
45+
/* Burger menu in navigation bar indented less than Antora default */
46+
.navbar-burger {
47+
margin-left: 0;
48+
}
49+
50+
/* Highlight of current item in navigation sidebar */
51+
.nav-list .nav-item.is-current-page {
52+
border-left: 0.5rem solid #c6c6c6;
53+
padding-left: 1rem;
54+
margin-left: -1.5rem;
55+
background-color: #dadada;
56+
}
57+
58+
/* Navigation sidebar on the left slightly wider than Antora default */
59+
.nav-container {
60+
width: 17rem;
61+
}
62+
63+
/* Navigation sidebar on the left slightly darker than Antora default */
64+
.nav-container .nav {
65+
background-color: #eee;
66+
}
67+
68+
/* .Headings made more prominent */
69+
.doc .title {
70+
font-weight: bold;
71+
color: #3a415f;
72+
}
73+
74+
/* Google Search Box fix for empty line below header */
75+
/*
76+
.gsc-control-cse {
77+
padding: 0!important;
78+
border: none!important;
79+
}
80+
*/
81+
82+
/* Nav bar color, update link width */
83+
.navbar {
84+
background-color: black;
85+
}
86+
.navbar-brand .navbar-item:first-child, .navbar-brand .navbar-item:first-child a {
87+
width: 120%;
88+
font-weight: bold;
89+
}

_/font-awesome-4.7.0/HELP-US-OUT.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project,
2+
Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome,
3+
comprehensive icon sets or copy and paste your own.
4+
5+
Please. Check it out.
6+
7+
-Dave Gandy

0 commit comments

Comments
 (0)