Pictures!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. .template {
  2. display: none;
  3. }
  4. #root {
  5. width: 95%;
  6. max-width: 1000px;
  7. margin: auto;
  8. text-align: center;
  9. }
  10. #root.main .slide {
  11. margin: 2%;
  12. width: 45%;
  13. min-width: 300px;
  14. position: relative;
  15. height: 320px;
  16. display: inline-block;
  17. text-align: center;
  18. }
  19. #root.main .slide,
  20. #root.main .slide:visited {
  21. color: #000;
  22. text-decoration: none;
  23. }
  24. #root.main .slide .preview,
  25. #root.main .slide .overlay {
  26. -moz-transform: scale(0.5, 0.5);
  27. -webkit-transform: scale(0.5, 0.5);
  28. -o-transform: scale(0.5, 0.5);
  29. -ms-transform: scale(0.5, 0.5);
  30. transform: scale(0.5, 0.5);
  31. -moz-transform-origin: top left;
  32. -webkit-transform-origin: top left;
  33. -o-transform-origin: top left;
  34. -ms-transform-origin: top left;
  35. transform-origin: top left;
  36. width: 200%;
  37. height: 600px;
  38. border: 2px solid black;
  39. margin-bottom: -300px;
  40. margin-right: -400px;
  41. position: absolute;
  42. top: 24px;
  43. left: 0px;
  44. }
  45. #root.edit #topBar {
  46. text-align: center;
  47. height: 24px;
  48. margin-bottom: 12px;
  49. position: relative;
  50. }
  51. #root.edit #topBar a {
  52. position: absolute;
  53. left: 0px;
  54. display: inline-block;
  55. }
  56. #root.edit #topBar span {
  57. display: inline-block;
  58. margin: auto;
  59. }
  60. #root.edit #fileList {
  61. text-align: left;
  62. position: relative;
  63. }
  64. #root.edit #fileList .file {
  65. line-height: 30px;
  66. border-bottom: 1px solid #ccc;
  67. }
  68. #root.edit #fileList .file:last-child {
  69. border-bottom: none;
  70. }
  71. #root.edit #fileList .file .name {
  72. margin-left: 10px;
  73. }
  74. #root.edit #fileList .file .controls {
  75. position: absolute;
  76. right: 0px;
  77. }
  78. #root.edit #html,
  79. #root.edit #preview,
  80. #root.edit #fileList {
  81. width: 100%;
  82. border: 1px solid #000;
  83. box-sizing: border-box;
  84. }
  85. #root.edit #fileList,
  86. #root.edit #controls,
  87. #root.edit #html {
  88. margin-bottom: 24px;
  89. }
  90. #root.edit #controls > * {
  91. display: inline-block;
  92. margin-left: 4px;
  93. margin-right: 4px;
  94. }
  95. #root.edit #html {
  96. height: 200px;
  97. resize: vertical;
  98. }
  99. #root.edit #preview {
  100. height: 500px;
  101. }
  102. #root.edit #formatTips {
  103. padding: 12px;
  104. text-align: left;
  105. border-bottom: 1px solid #ccc;
  106. border-left: 1px solid #ccc;
  107. position: absolute;
  108. top: 0px;
  109. bottom: 0px;
  110. right: 0px;
  111. max-width: 250px;
  112. }
  113. #root.edit #formatTips .tip {
  114. padding-top: 12px;
  115. padding-bottom: 12px;
  116. border-top: 1px solid #ccc;
  117. }
  118. #root.edit #formatTips .tip:first-child {
  119. border-top: none;
  120. }
  121. @media screen and (max-width: 1580px) {
  122. #root.edit {
  123. margin-left: 0px;
  124. }
  125. }
  126. @media screen and (max-width: 1290px) {
  127. #root.edit #formatTips {
  128. display: none;
  129. }
  130. #root.edit {
  131. margin-left: auto;
  132. }
  133. }