Files
filament/web/docs/main.css
Philip Rideout a42dcd2291 JavaScript code re-org (#443)
This removes the old CPP-based web samples in favor of the new JS API.

The `web/samples` folder will be added in a subsequent commit.
2018-11-01 17:05:30 -07:00

122 lines
1.5 KiB
CSS

body {
font-family: 'Open Sans', sans-serif;
font-size: 10.5pt;
color: #222;
}
div.highlight {
padding-left: 5px;
border-left: solid 1px gray;
}
code, div.highlight pre {
font-family: 'Inconsolata', monospace;
}
.verbiage {
max-width: 800px;
padding-bottom: 20px;
border-bottom: solid 1px #ccc;
}
.verbiage a {
color: rgb(0, 137, 235);
}
a {
text-decoration: none;
color: black;
}
a:hover {
color: rgb(0, 157, 255);
}
.active {
color: rgb(0, 137, 235);
}
.disabled, .disabled:hover {
color: #ccc;
cursor: default;
}
h1 {
font-family: 'Tangerine', cursive;
font-weight: 700;
font-size: 50px;
margin: 10px 0 0 0;
}
nav {
padding: 10px;
text-align: center;
font-size: 10px;
}
nav h2 {
font-size: 12px;
margin-bottom: 0;
}
nav ul {
list-style: none;
padding: 0;
margin-top: 0;
}
nav li {
margin: 2px 0;
}
.HolyGrail,
.HolyGrail-body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.HolyGrail-nav {
order: -1;
}
@media (min-width: 500px) {
.HolyGrail-body {
flex-direction: row;
flex: 1;
}
.HolyGrail-content {
flex: 1;
}
.HolyGrail-nav {
/* 12em is the width of the columns */
flex: 0 0 12em;
}
article {
padding: 10px;
border-left: solid 1px #ccc;
}
nav {
text-align: right;
}
}
div.demo_frame {
width: 100%;
height: 200px;
border: none;
}
iframe {
width: 100%;
height: 100%;
border: none;
}
div.demo_frame > a {
position: relative;
float: right;
right: 10px;
bottom: 35px;
}