redoc/demo/main.css
2015-11-17 01:12:42 +02:00

72 lines
1.0 KiB
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;
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;
}
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;
}