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 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. #root {
  2. width: 95%;
  3. max-width: 1000px;
  4. margin: auto;
  5. text-align: center;
  6. }
  7. #root.main .slide {
  8. margin: 2%;
  9. width: 45%;
  10. min-width: 300px;
  11. position: relative;
  12. height: 320px;
  13. display: inline-block;
  14. text-align: center;
  15. }
  16. #root.main .slide,
  17. #root.main .slide:visited {
  18. color: #000;
  19. text-decoration: none;
  20. }
  21. #root.main .slide .preview,
  22. #root.main .slide .overlay {
  23. -moz-transform: scale(0.5, 0.5);
  24. -webkit-transform: scale(0.5, 0.5);
  25. -o-transform: scale(0.5, 0.5);
  26. -ms-transform: scale(0.5, 0.5);
  27. transform: scale(0.5, 0.5);
  28. -moz-transform-origin: top left;
  29. -webkit-transform-origin: top left;
  30. -o-transform-origin: top left;
  31. -ms-transform-origin: top left;
  32. transform-origin: top left;
  33. width: 200%;
  34. height: 600px;
  35. border: 2px solid black;
  36. margin-bottom: -300px;
  37. margin-right: -400px;
  38. position: absolute;
  39. top: 24px;
  40. left: 0px;
  41. }
  42. #root.edit #topBar {
  43. text-align: center;
  44. height: 24px;
  45. margin-bottom: 12px;
  46. position: relative;
  47. }
  48. #root.edit #topBar a {
  49. position: absolute;
  50. left: 0px;
  51. display: inline-block;
  52. }
  53. #root.edit #topBar span {
  54. display: inline-block;
  55. margin: auto;
  56. }
  57. #root.edit #fileList {
  58. text-align: left;
  59. position: relative;
  60. }
  61. #root.edit #fileList .file {
  62. line-height: 30px;
  63. border-bottom: 1px solid #ccc;
  64. }
  65. #root.edit #fileList .file:last-child {
  66. border-bottom: none;
  67. }
  68. #root.edit #fileList .file .name {
  69. margin-left: 10px;
  70. }
  71. #root.edit #fileList .file .controls {
  72. position: absolute;
  73. right: 0px;
  74. }
  75. #root.edit #html,
  76. #root.edit #preview,
  77. #root.edit #fileList {
  78. width: 100%;
  79. border: 1px solid #000;
  80. box-sizing: border-box;
  81. }
  82. #root.edit #fileList,
  83. #root.edit #controls,
  84. #root.edit #html {
  85. margin-bottom: 24px;
  86. }
  87. #root.edit #controls > * {
  88. display: inline-block;
  89. margin-left: 4px;
  90. margin-right: 4px;
  91. }
  92. #root.edit #html {
  93. height: 200px;
  94. resize: vertical;
  95. }
  96. #root.edit #preview {
  97. height: 500px;
  98. }