|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
-
- .template {
- display: none;
- }
-
- #root {
- width: 95%;
- max-width: 1000px;
- margin: auto;
- text-align: center;
- }
-
- #root.main .slide {
- margin: 2%;
- width: 45%;
- min-width: 300px;
- position: relative;
- height: 320px;
- display: inline-block;
- text-align: center;
- }
- #root.main .slide,
- #root.main .slide:visited {
- color: #000;
- text-decoration: none;
- }
-
- #root.main .slide .preview,
- #root.main .slide .overlay {
- -moz-transform: scale(0.5, 0.5);
- -webkit-transform: scale(0.5, 0.5);
- -o-transform: scale(0.5, 0.5);
- -ms-transform: scale(0.5, 0.5);
- transform: scale(0.5, 0.5);
- -moz-transform-origin: top left;
- -webkit-transform-origin: top left;
- -o-transform-origin: top left;
- -ms-transform-origin: top left;
- transform-origin: top left;
-
- width: 200%;
- height: 600px;
-
- border: 2px solid black;
-
- margin-bottom: -300px;
- margin-right: -400px;
-
- position: absolute;
- top: 24px;
- left: 0px;
- }
-
- #root.edit #topBar {
- text-align: center;
- height: 24px;
- margin-bottom: 12px;
- position: relative;
- }
- #root.edit #topBar a {
- position: absolute;
- left: 0px;
- display: inline-block;
- }
- #root.edit #topBar span {
- display: inline-block;
- margin: auto;
- }
-
- #root.edit #fileList {
- text-align: left;
- position: relative;
- }
- #root.edit #fileList .file {
- line-height: 30px;
- border-bottom: 1px solid #ccc;
- }
- #root.edit #fileList .file:last-child {
- border-bottom: none;
- }
- #root.edit #fileList .file .name {
- margin-left: 10px;
- }
- #root.edit #fileList .file .controls {
- position: absolute;
- right: 0px;
- }
-
- #root.edit #html,
- #root.edit #preview,
- #root.edit #fileList {
- width: 100%;
- border: 1px solid #000;
- box-sizing: border-box;
- }
-
- #root.edit #fileList,
- #root.edit #controls,
- #root.edit #html {
- margin-bottom: 24px;
- }
-
- #root.edit #controls > * {
- display: inline-block;
- margin-left: 4px;
- margin-right: 4px;
- }
-
- #root.edit #html {
- height: 200px;
- resize: vertical;
- }
- #root.edit #preview {
- height: 500px;
- }
-
- #root.edit #formatTips {
- padding: 12px;
- text-align: left;
- border-bottom: 1px solid #ccc;
- border-left: 1px solid #ccc;
- position: absolute;
- top: 0px;
- bottom: 0px;
- right: 0px;
- max-width: 250px;
- }
-
- #root.edit #formatTips .tip {
- padding-top: 12px;
- padding-bottom: 12px;
- border-top: 1px solid #ccc;
- }
- #root.edit #formatTips .tip:first-child {
- border-top: none;
- }
-
- @media screen and (max-width: 1580px) {
- #root.edit {
- margin-left: 0px;
- }
- }
-
- @media screen and (max-width: 1290px) {
- #root.edit #formatTips {
- display: none;
- }
- #root.edit {
- margin-left: auto;
- }
- }
|