preview.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. font-family: "微软雅黑";
  5. }
  6. body, html {
  7. height: 100%;
  8. background: #f2f2f2;
  9. overflow: hidden
  10. }
  11. #preview {
  12. display: block;
  13. margin: 0 auto;
  14. width: 640px;
  15. height: 100%;
  16. border: 1px solid #ddd;
  17. }
  18. .qrcode-container {
  19. height: 180px;
  20. width: 160px;
  21. border: 1px solid #e4e4e4;
  22. border-radius: 5px;
  23. margin-bottom: 20px;
  24. background-color: #fff;
  25. padding: 10px;
  26. text-align: center;
  27. position: fixed;
  28. left: 48%;
  29. top: 100px;
  30. margin-left: 388px;
  31. }
  32. .qrcode-container p {
  33. font-size: 14px;
  34. color: #666;
  35. line-height: 26px;
  36. }
  37. .qrcode-container .qrcode-image {
  38. height: 160px;
  39. width: 160px;
  40. }
  41. .qrcode-container canvas {
  42. height: 158px;
  43. width: 158px;
  44. border: 1px solid #ddd;
  45. }
  46. .back-container {
  47. width: 180px;
  48. height: 32px;
  49. border: 1px solid #e4e4e4;
  50. border-radius: 5px;
  51. margin-bottom: 20px;
  52. background-color: #fff;
  53. text-align: center;
  54. position: fixed;
  55. left: 48%;
  56. top: 310px;
  57. margin-left: 388px;
  58. line-height: 32px;
  59. font-size: 14px;
  60. color: #666;
  61. cursor: pointer;
  62. text-decoration: none;
  63. }
  64. .iframe {
  65. display: block;
  66. margin: 0 auto;
  67. width: 640px;
  68. height: 100%;
  69. border: 1px solid #ddd;
  70. }