integrated responder framework

This commit is contained in:
2020-04-05 16:00:48 +02:00
parent 4e44425ab3
commit 914e9a1f3d
14 changed files with 609 additions and 81 deletions

33
css/docs.css Normal file
View File

@ -0,0 +1,33 @@
.request {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
font-weight: bold;
border: 1px solid gray;
border-radius: 5px;
padding: 10px;
font-size: 24px;
}
.get {
color: #2b542c;
background-color: #beffbd;
}
.post {
color: #ae5900;
background-color: #ffc79d;
}
.response_formats span {
font-weight: bold;
color: darkred;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
pre {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
ul li {
font-size: 18px;
margin-bottom: 10px;
}

184
css/theme.css Normal file
View File

@ -0,0 +1,184 @@
@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);
body {
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 300;
color: black;
background: white;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 300;
}
p {
font-weight: 300;
}
.font-normal {
font-weight: 400;
}
.font-semi-bold {
font-weight: 600;
}
.font-bold {
font-weight: 700;
}
.starter-template {
margin-top: 25px;
}
.starter-template .content {
margin-left: 10px;
}
.starter-template .content h1 {
margin-top: 10px;
font-size: 60px;
}
.starter-template .content h1 .smaller {
font-size: 40px;
}
.starter-template .content .lead {
font-size: 25px;
}
.starter-template .links {
float: right;
right: 0;
margin-top: 125px;
}
.starter-template .links ul {
display: block;
padding: 0;
margin: 0;
}
.starter-template .links ul li {
list-style: none;
display: inline;
margin: 0 10px;
}
.starter-template .links ul li:first-child {
margin-left: 0;
}
.starter-template .links ul li:last-child {
margin-right: 0;
}
.starter-template .links ul li.current-version {
font-weight: 400;
}
.starter-template .links ul li a, a {
text-decoration: underline;
}
.starter-template .links ul li a:hover, a:hover {
text-decoration: underline;
}
.starter-template .links ul li .icon-muted {
margin-right: 5px;
}
.starter-template .copyright {
margin-top: 10px;
font-size: 0.9em;
text-transform: lowercase;
float: right;
right: 0;
}
@media (max-width: 1199px) {
.starter-template .content h1 {
font-size: 45px;
}
.starter-template .content h1 .smaller {
font-size: 30px;
}
.starter-template .content .lead {
font-size: 20px;
}
}
@media (max-width: 991px) {
.starter-template {
margin-top: 0;
}
.starter-template .logo {
margin: 40px auto;
}
.starter-template .content {
margin-left: 0;
text-align: center;
}
.starter-template .content h1 {
margin-bottom: 20px;
}
.starter-template .links {
float: none;
text-align: center;
margin-top: 60px;
}
.starter-template .copyright {
float: none;
text-align: center;
}
}
@media (max-width: 767px) {
.starter-template .content h1 .smaller {
font-size: 25px;
display: block;
}
.starter-template .content .lead {
font-size: 16px;
}
.starter-template .links {
margin-top: 40px;
}
.starter-template .links ul li {
display: block;
margin: 0;
}
.starter-template .links ul li .icon-muted {
display: none;
}
.starter-template .copyright {
margin-top: 20px;
}
}
.disclaimer {
margin-top: 20px;
font-style: italic;
}