/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ .showcase { width: 730px; margin: 0 auto; } .showcase > header { position: fixed; top: 0; background-color: #fbfbfb; z-index: 1000; width: 100%; padding-bottom: 1em; } .showcase > header > h1, .showcase > section > h1 { font-size: 2em; font-weight: bold; margin: .5em 0; } .showcase-menu > a { margin-right: .5em; padding: .4rem; } .showcase > section { position: relative; padding-top: 10em; clear: both; } .showcase > section > h1 { border-bottom: 1px solid #aaa; } .showcase > section .comp { margin: 0 auto; /* width is usually set programmatically */ } .showcase > section .comp.dashed { border: 1px dashed #ccc; } .showcase > section > .example { margin-bottom: 6em; } .showcase > section .example > h3 { font-size: 1.2em; font-weight: bold; border-bottom: 1px dashed #aaa; margin: .5em 0; } .showcase p.note { margin: 0; padding: 0; color: #666; font-style: italic; } .showcase p.note > strong { font-weight: bold; } /* Images as fake videos for conversation view */ .conversation .media.nested .remote, .conversation .media.nested .local { background-size: contain; } .conversation .media.nested .remote { background-image: url("sample-img/video-screen-remote.png"); background-repeat: no-repeat; } .conversation .media.nested .local { background-image: url("sample-img/video-screen-local.png"); }