minor styling

This commit is contained in:
Roman Gotsiy 2015-10-30 12:03:13 +02:00
parent 1aebffd06a
commit 0e2b8aa6f5
6 changed files with 25 additions and 6 deletions

View File

@ -3,6 +3,7 @@ body {
font-size: 14px; font-size: 14px;
color: #333; color: #333;
margin: 0; margin: 0;
line-height: 1.5;
} }
side-menu, redoc { side-menu, redoc {
@ -33,4 +34,9 @@ pre {
background-color: #f2f2f2; background-color: #f2f2f2;
padding: 10px; padding: 10px;
overflow-x: auto; overflow-x: auto;
line-height: normal;
}
code {
background-color: #f2f2f2;
} }

View File

@ -18,6 +18,11 @@ h3 > span {
vertical-align: middle; vertical-align: middle;
} }
span.path {
font-family: monospace;
font-weight: bold;
}
.method-tags { .method-tags {
margin-top: 10px; margin-top: 10px;
color: #666; color: #666;
@ -78,6 +83,8 @@ responses-samples {
font-size: 13px; font-size: 13px;
color: white; color: white;
background-color: #1976D3; background-color: #1976D3;
border-radius: 0 10px 10px 0;
font-weight: bold;
} }
.http-method.delete { .http-method.delete {

View File

@ -6,15 +6,20 @@ method {
.tag-info { .tag-info {
padding: 0 20px; padding: 0 20px;
width: 60%;
box-sizing: border-box; box-sizing: border-box;
background-color: white;
}
.tag-info:after, .tag-info:before {
content: "";
display: table;
} }
.tag-info h1 { .tag-info h1 {
color: rgb(102, 102, 102); color: rgb(102, 102, 102);
text-transform: capitalize; text-transform: capitalize;
padding-left: 10px; padding-left: 10px;
border-left: 5px solid green; border-left: 5px solid darkgreen;
} }
.methods { .methods {

View File

@ -7,7 +7,7 @@ h4 {
table { table {
width: 100%; width: 100%;
border-spacing: 0; border-spacing: 0;
border: 2px solid #1976D3; border: 2px solid #053361;
} }
td.param-name { td.param-name {
@ -19,7 +19,7 @@ td.param-description {
} }
thead tr:first-child { thead tr:first-child {
background: #1976D3; background: #053361;
color: #fff; color: #fff;
border: none; border: none;
} }

View File

@ -5,7 +5,7 @@ small {
table { table {
width: 100%; width: 100%;
border-spacing: 0; border-spacing: 0;
border: 2px solid green; border: 2px solid darkgreen;
} }
th.response-code { th.response-code {
@ -17,7 +17,7 @@ th.response-description {
} }
thead tr:first-child { thead tr:first-child {
background: green; background: darkgreen;
color: #fff; color: #fff;
border: none; border: none;
} }

View File

@ -3,6 +3,7 @@ label {
font-size: 15px; font-size: 15px;
cursor: pointer; cursor: pointer;
color: #666; color: #666;
text-transform: capitalize;
} }
ul { ul {