arnweb-api/css/styles.scss

84 lines
2.1 KiB
SCSS
Raw Normal View History

2019-12-31 15:52:52 +01:00
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
div:first-of-type {
font-family: 'Courier New', Courier, monospace;
text-align: center;
h1 {
font-size: 64px;
font-weight: lighter;
margin: 10px;
}
}
span.apiReference {
color: #3b4151;
max-width: 750px;
margin: 1em auto;
position: relative;
display: block;
padding: 5px;
border-radius: 3px;
code {
font-size: 1.1em;
color: black;
}
a {
color: unset;
text-decoration: underline;
}
span.requestType {
color: white;
display: inline-block;
padding: 5px 15px 5px 15px;
margin: 6px;
border-radius: 3px;
font-weight: 600;
text-align: center;
}
span.requestType.get {
background-color: #61affe;
}
span.requestType.post {
background-color: #49cc90;
}
span.requestType.delete {
background-color: #f93e3e;
}
span.requestType.put {
background-color: #fca130;
}
span.requestType.patch {
background-color: #50e3c2;
}
span.requestType.socket {
background-color: #403d58;
}
div {
margin-left: 5px;
}
}
span.apiReference.get {
border: 1px solid #61affe;
background-color: rgba(97,175,254,.1);
}
span.apiReference.post {
border: 1px solid #49cc90;
background-color: rgba(73,204,144,.1);
}
span.apiReference.patch {
border: 1px solid #50e3c2;
background-color: rgba(80,227,194,.1);
}
span.apiReference.delete {
border: 1px solid #f93e3e;
background-color: rgba(249,62,62,.1);
}
span.apiReference.put {
border: 1px solid #fca130;
background-color: rgba(252,161,48,.1);
}
span.apiReference.socket {
border: 1px solid #403d58;
background-color: rgba(64, 61, 88, .1);
}
}