diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2023-02-02 16:15:19 -0500 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2023-02-02 16:15:19 -0500 |
commit | ecb815043a2dc4cb453f620eb30598223de74d9a (patch) | |
tree | 50a5bccc85056389fca1f8df79ab151e0259bc77 /public/css | |
parent | dont show load posts button if no posts (diff) | |
download | xssbook-ecb815043a2dc4cb453f620eb30598223de74d9a.tar.gz xssbook-ecb815043a2dc4cb453f620eb30598223de74d9a.tar.bz2 xssbook-ecb815043a2dc4cb453f620eb30598223de74d9a.zip |
api docs
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/api.css | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/public/css/api.css b/public/css/api.css new file mode 100644 index 0000000..8358538 --- /dev/null +++ b/public/css/api.css @@ -0,0 +1,128 @@ +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; +}
\ No newline at end of file |