redoc/demo/main.css
2015-12-26 19:44:39 +02:00

70 lines
995 B
CSS

body {
font-family: Verdana, Geneva, sans-serif;
font-size: 14px;
color: #333;
margin: 0;
line-height: 1.5;
padding-top: 50px;
}
p {
margin: 0;
}
nav input, nav button {
font-size: 16px;
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 {
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;
}
redoc {
display: block;
box-sizing: border-box;
}
pre {
white-space: pre-wrap;
background-color: #f2f2f2;
padding: 10px;
overflow-x: auto;
line-height: normal;
}
code {
background-color: #f2f2f2;
}