xssbook/public/css/api.css

128 lines
1.9 KiB
CSS
Raw Normal View History

2023-02-02 21:15:19 +00:00
body {
margin: 0;
padding: 0;
background-color: #181818;
overflow-x: hidden;
font-family: sfpro;
}
#docs {
margin-top: 5.5em;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
#docs>div {
display: block;
max-width: 100%;
width: 100em;
background-color: #242424;
border-radius: .5em;
padding: 1em;
box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 8px 16px rgba(0, 0, 0, .05);
margin-bottom: 2em;
}
.endpoint {
width: 100%;
height: 3em;
display: flex;
align-items: center;
flex-direction: row;
}
.method {
font-family: sfprobold;
font-size: 1em;
color: #e2ded6;
display: flex;
justify-content: center;
align-items: center;
border-radius: 3px;
width: 5em;
height: 2em;
margin-left: .5em;
}
.uri {
margin-left: 1em;
font-size: 1.25em;
display: inline-block;
font-family: sfprobold;
}
.auth {
flex: 1;
text-align: right;
padding-right: 20px;
font-size: 1.25em;
}
.desc {
margin-left: 2em;
}
.info {
width: 100%;
font-family: sfpro;
display: flex;
flex-direction: column;
}
h2 {
border-bottom: 1px solid #e2ded6;
margin-top: 0;
padding: 10px;
font-size: 20px;
}
.info div {
width: calc(100% - 4em);
margin-left: 2em;
padding-bottom: .5em;
}
.ptype {
font-size: 1.25em;
width: 20em;
display: inline-block;
}
.auth span, .ptype span, .pdesc span {
color: orange;
}
.bigger {
width: 100%;
margin-left: 2em;
}
.pdesc {
font-size: 1em;
display: inline-block;
}
.body {
padding: 20px !important;
width: calc(100% - 4em - 40px) !important;
display: block;
background-color: #181818;
}
.post {
background-color: #853fe0ff;
}
.patch {
background-color: #e0773f;
}
.put {
background-color: #bfa354;
}
.key {
margin-left: 40px;
}