Skip to content

Commit 47a4a11

Browse files
DorthuGitHub Enterprise
authored andcommitted
Merge pull request #5 from jsager/html-and-css
new: creating index.html and css file
2 parents b1c7178 + 7c7ee27 commit 47a4a11

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Linode API Documentation</title>
5+
<!-- needed for adaptive design -->
6+
<meta charset="utf-8"/>
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
9+
<link href="openapi.css" rel="stylesheet">
10+
11+
<!--
12+
ReDoc doesn't change outer page styles
13+
-->
14+
<style>
15+
body {
16+
margin: 0;
17+
padding: 0;
18+
}
19+
</style>
20+
</head>
21+
<body>
22+
<redoc spec-url='openapi.yaml'></redoc>
23+
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
24+
</body>
25+
</html>

openapi.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.dNauuw { padding: 20px 20px 0px 20px; }
2+
3+
p.endpoint {
4+
font-family: Courier, monospace;
5+
font-size: 14px;
6+
word-break: break-all;
7+
word-wrap: break-word;
8+
white-space: pre-wrap;
9+
background: rgb(235,240,255);
10+
padding: 1em;
11+
}

0 commit comments

Comments
 (0)