markdown blockquote styling

This commit is contained in:
Roman Hotsiy 2016-01-23 14:53:10 +02:00
parent 78e8618466
commit 19b19041eb
3 changed files with 21 additions and 1 deletions

View File

@ -29,7 +29,7 @@
},{
"name": "JSONP",
"x-traitTag": true,
"description": "If you're writing an AJAX application, and you'd like to wrap our response with a callback, all you have to do is specify a callback parameter with any API call:\n```\n https://api.instagram.com/v1/tags/coffee/media/recent?access_token=fb2e77d.47a0479900504cb3ab4a1f626d174d2d&callback=callbackFunction\n```\nWould respond with:\n```js\ncallbackFunction({\n ...\n});\n```",
"description": "If you're writing an AJAX application, and you'd like to wrap our response with a callback, all you have to do is specify a callback parameter with any API call:\n```\n https://api.instagram.com/v1/tags/coffee/media/recent?access_token=fb2e77d.47a0479900504cb3ab4a1f626d174d2d&callback=callbackFunction\n```\nWould respond with:\n```js\ncallbackFunction({\n ...\n});\n``` \n > Example of markdown blockquote",
"externalDocs": {
"description": "Find out more",
"url": "http://swagger.io"

View File

@ -103,6 +103,7 @@ responses-samples {
.method-description {
padding: 30px 0;
margin: 0;
}
.http-method {

View File

@ -91,6 +91,12 @@ footer {
}
}
/* global redoc styles */
:host p {
margin: 0;
margin-bottom: 1em;
}
/* markdown elements */
@ -128,6 +134,19 @@ footer {
p {
margin: 0;
margin-bottom: 1em;
}
p:last-of-type {
margin-bottom: 0;
}
blockquote {
margin: 0;
margin-bottom: 1em;
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
table {