This commit is contained in:
Anna Bodnia
2016-02-23 21:08:44 +02:00
parent f9b8567d29
commit 3b246024d7
5 changed files with 19 additions and 11 deletions

View File

@@ -124,11 +124,11 @@
display: block;
overflow-x: auto;
padding: 0.5em;
background: #f0f0f0;
background: #F0F0F0;
}
.swagger-section .hljs,
.swagger-section .hljs-subst {
color: #444444;
color: #444;
}
.swagger-section .hljs-keyword,
.swagger-section .hljs-attribute,
@@ -143,7 +143,7 @@
.swagger-section .hljs-bullet,
.swagger-section .hljs-code,
.swagger-section .hljs-addition {
color: #1f811f;
color: #1F811F;
}
.swagger-section .hljs-regexp,
.swagger-section .hljs-symbol,
@@ -152,7 +152,7 @@
.swagger-section .hljs-link,
.swagger-section .hljs-selector-attr,
.swagger-section .hljs-selector-pseudo {
color: #bc6060;
color: #BC6060;
}
.swagger-section .hljs-type,
.swagger-section .hljs-string,
@@ -173,7 +173,7 @@
color: #888888;
}
.swagger-section .hljs-meta {
color: #2b6ea1;
color: #2B6EA1;
}
.swagger-section .hljs-emphasis {
font-style: italic;

View File

@@ -124,11 +124,11 @@
display: block;
overflow-x: auto;
padding: 0.5em;
background: #f0f0f0;
background: #F0F0F0;
}
.swagger-section .hljs,
.swagger-section .hljs-subst {
color: #444444;
color: #444;
}
.swagger-section .hljs-keyword,
.swagger-section .hljs-attribute,
@@ -143,7 +143,7 @@
.swagger-section .hljs-bullet,
.swagger-section .hljs-code,
.swagger-section .hljs-addition {
color: #1f811f;
color: #1F811F;
}
.swagger-section .hljs-regexp,
.swagger-section .hljs-symbol,
@@ -152,7 +152,7 @@
.swagger-section .hljs-link,
.swagger-section .hljs-selector-attr,
.swagger-section .hljs-selector-pseudo {
color: #bc6060;
color: #BC6060;
}
.swagger-section .hljs-type,
.swagger-section .hljs-string,
@@ -173,7 +173,7 @@
color: #888888;
}
.swagger-section .hljs-meta {
color: #2b6ea1;
color: #2B6EA1;
}
.swagger-section .hljs-emphasis {
font-style: italic;

View File

@@ -36,7 +36,7 @@
if (url && url.length > 1) {
url = decodeURIComponent(url[1]);
} else {
url = "http://localhost:3001/swagger.json";
url = "http://petstore.swagger.io/v2/swagger.json";
}
hljs.configure({