Browse Source

layout prototype for api sections with wide window

pull/20/head
Sami Vaarala 11 years ago
parent
commit
53b6f85979
  1. 25
      website/style-api.css

25
website/style-api.css

@ -1,3 +1,28 @@
/* /*
* API specific CSS rules * API specific CSS rules
*/ */
@media screen and (min-width:801px) {
/* On wide screens, slide API entry section headings to the side
* to make the entries more compact.
*
* Specificity must override normal section heading rules.
*/
/* FIXME: layout is pretty inconsistent now */
h2.api-proto,
h2.api-stack,
h2.api-summary,
h2.api-example,
h2.api-seealso {
position: absolute;
left: 10px;
margin: 0;
padding: 5px 0 0 0;
width: 200px;
text-align: right;
height: 0;
overflow: visible;
color: #ccccdd;
font-size: 100%;
}
}

Loading…
Cancel
Save