redoc/demo/main.css

74 lines
1.1 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;
}
2015-11-17 02:12:42 +03:00
p {
margin: 0;
}
2015-11-04 22:31:10 +03:00
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
}
2015-11-16 02:15:06 +03:00
redoc {
2015-10-15 20:06:33 +03:00
display: block;
box-sizing: border-box;
height: 100%;
overflow: auto;
2015-10-15 20:06:33 +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
}