redoc/lib/components/Method/method.css
2015-11-17 00:03:49 +02:00

121 lines
1.5 KiB
CSS

responses-list, params-list {
display: block;
}
h2 {
font-size: 25px;
font-weight: 200;
color: #253137;
}
h3 {
margin: 0;
font-weight: 200;
font-size: 0;
}
h3 > span {
padding-top: 3px;
padding-bottom: 3px;
vertical-align: middle;
font-size: 14px;
}
span.api-url {
color: #999;
margin-left: 10px;
}
span.path {
font-family: monospace;
font-weight: bold;
color: #00329F;
}
.method-tags {
margin-top: 10px;
color: #666;
font-weight: bold;
}
.method-tags a {
color: #666;
font-weight: bold;
display: inline-block;
padding: 0 5px;
font-style: italic;
}
.content, .samples {
display: block;
box-sizing: border-box;
float: left;
}
.content {
width: 60%;
padding: 0 20px;
}
.samples {
color: white;
width: 40%;
padding: 10px 20px;
}
responses-samples {
display: block;
}
.samples header {
font-size: 20px;
margin: 5px 0;
}
.samples schema-sample {
display: block;
padding: 5px;
background-color: rgb(18, 20, 39);
}
.method:after {
content: "";
display: table;
clear:both;
}
.method-description {
padding: 30px 0;
}
.http-method {
color: white;
background-color: #1976D3;
padding: 3px 10px;
text-transform: uppercase;
}
.http-method.delete {
background-color: red;
}
.http-method.post {
background-color: #00329F;
}
.http-method.patch {
background-color: orange;
}
.http-method.put {
background-color: crimson;
}
.http-method.options {
background-color: black;
}
.http-method.head {
background-color: darkkhaki;
}