Files
filament/docs/webgl/main.css
Philip Rideout 0faf7bbcb6 Publish Hugo site and web tutorials.
This performs the steps described in site/README in order to publish
the Hugo site to GitHub Pages:

    https://google.github.io/filament
2018-11-13 11:24:41 -08: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;
}