a83c222362
In 3eb809dd03
the max width of the page
was set to 900px, but the REST API example boxes were still set with
a fixed width of 100em which caused them to extend out to the right
of the page.
Remove the fixed width of the box, and set "overflow: auto". This
makes the boxes fit within the page width, with a horizontal scroll
bar on the ones that have wider content.
Change-Id: I6f64c314e4eb484d9c5120fd0fd5589fcaa8b77e
55 lines
721 B
CSS
55 lines
721 B
CSS
body {
|
|
margin: 1em auto;
|
|
width: 900px;
|
|
}
|
|
|
|
#toctitle {
|
|
margin-top: 0.5em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, #toctitle {
|
|
color: #527bbd;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
border-bottom: 2px solid silver;
|
|
}
|
|
|
|
p {
|
|
margin: 0.5em 0 0.5em 0;
|
|
}
|
|
li p {
|
|
margin: 0.2em 0 0.2em 0;
|
|
}
|
|
|
|
.listingblock > .content {
|
|
border: 2px solid silver;
|
|
background: #ebebeb;
|
|
margin-left: 2em;
|
|
color: darkgreen;
|
|
padding: 2px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.listingblock > .content pre {
|
|
background: none;
|
|
border: 0 solid silver;
|
|
padding: 0 0 0 0;
|
|
}
|
|
|
|
dl dt {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
table.tableblock {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
table.tableblock,
|
|
th.tableblock,
|
|
td.tableblock {
|
|
border: 1px solid #EEE;
|
|
}
|