redoc/demo/main.css

86 lines
1.2 KiB
CSS
Raw Normal View History

2015-10-10 15:34:46 +03:00
body {
font-family: Verdana, Geneva, sans-serif;
font-size: 14px;
color: #333;
2015-10-15 20:06:33 +03:00
margin: 0;
2015-10-30 13:03:13 +03:00
line-height: 1.5;
2015-11-04 22:31:10 +03:00
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;
}
2015-11-06 00:25:22 +03:00
nav header {
float: left;
margin-left: 20px;
font-size: 25px;
color: white;
position: absolute;
}
2015-11-04 22:31:10 +03:00
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;
2015-10-15 20:06:33 +03:00
}
side-menu, redoc {
display: block;
box-sizing: border-box;
}
2015-10-21 14:07:22 +03:00
api-info, side-menu {
display: block;
padding: 10px 20px;
}
2015-10-15 20:06:33 +03:00
side-menu {
position: fixed;
width: 260px;
height: 100%;
overflow-y: auto;
2015-10-18 19:46:21 +03:00
overflow-x: hidden;;
2015-10-18 20:16:40 +03:00
background-color: #f2f2f2;
2015-10-15 20:06:33 +03:00
}
redoc {
margin-left: 260px;
2015-10-10 15:34:46 +03:00
}
2015-10-30 11:27:02 +03:00
pre {
white-space: pre-wrap;
background-color: #f2f2f2;
padding: 10px;
overflow-x: auto;
2015-10-30 13:03:13 +03:00
line-height: normal;
}
code {
background-color: #f2f2f2;
2015-10-30 11:27:02 +03:00
}