mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-13 04:16:34 +03:00
86 lines
1.2 KiB
CSS
86 lines
1.2 KiB
CSS
body {
|
|
font-family: Verdana, Geneva, sans-serif;
|
|
font-size: 14px;
|
|
color: #333;
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
padding-top: 50px;
|
|
}
|
|
|
|
nav input, nav button {
|
|
font-size: 16px;
|
|
line-height: 28px;
|
|
height: 28px;
|
|
box-sizing: border-box;
|
|
vertical-align: middle;
|
|
line-height: 1;
|
|
outline: none;
|
|
}
|
|
nav header {
|
|
float: left;
|
|
margin-left: 20px;
|
|
font-size: 25px;
|
|
color: white;
|
|
position: absolute;
|
|
}
|
|
nav input {
|
|
width: 50%;
|
|
box-sizing: border-box;
|
|
max-width: 500px;
|
|
}
|
|
|
|
nav button {
|
|
background-color: white;
|
|
border: 1px solid #FFFFFF;
|
|
cursor: pointer;
|
|
color: white;
|
|
background-color: #21476D;
|
|
padding: 2px 10px;
|
|
}
|
|
|
|
nav {
|
|
width: 100%;
|
|
height: 50px;
|
|
line-height: 50px;
|
|
text-align: center;
|
|
background-color: #053361;
|
|
position: fixed;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
side-menu, redoc {
|
|
display: block;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
api-info, side-menu {
|
|
display: block;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
side-menu {
|
|
position: fixed;
|
|
width: 260px;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;;
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
redoc {
|
|
margin-left: 260px;
|
|
}
|
|
|
|
pre {
|
|
white-space: pre-wrap;
|
|
background-color: #f2f2f2;
|
|
padding: 10px;
|
|
overflow-x: auto;
|
|
line-height: normal;
|
|
}
|
|
|
|
code {
|
|
background-color: #f2f2f2;
|
|
}
|