index.css 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. body {
  2. background: #fff;
  3. font-family: 'Raleway', sans-serif;
  4. font-size: 42px;
  5. font-weight: 300;
  6. }
  7. form {
  8. text-align: center;
  9. }
  10. #bar {
  11. width: 652px;
  12. margin: 0 auto;
  13. position: relative;
  14. }
  15. #url {
  16. font-family: 'Raleway', sans-serif;
  17. font-size: 32px;
  18. font-weight: 300;
  19. width: 600px;
  20. padding: 25px;
  21. color: #999;
  22. border-radius: 4px;
  23. border: 1px solid #ccc;
  24. outline: none;
  25. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  26. }
  27. #url:focus {
  28. border: 1px solid #09f;
  29. }
  30. #url::-webkit-input-placeholder {
  31. color: #ddd;
  32. }
  33. #url::-moz-placeholder {
  34. color: #ddd;
  35. }
  36. #cmp {
  37. padding: 25px;
  38. width: 560px;
  39. margin: 0 auto;
  40. text-align: left;
  41. font-size: 21px;
  42. transition: transform 200ms ease-in-out;
  43. transform: scaleY(0);
  44. transform-origin: top center;
  45. border-bottom-left-radius: 4px;
  46. border-bottom-right-radius: 4px;
  47. border: 1px solid #ccc;
  48. }
  49. #cmp.link {
  50. background-color: #f6f6f6;
  51. }
  52. #cmp.fuck {
  53. background-color: #fee;
  54. color: #999;
  55. }
  56. #cmp > a {
  57. color: #09f;
  58. text-decoration: none;
  59. }
  60. #cmp > .hnt {
  61. float: right;
  62. color: #ddd;
  63. text-shadow: 1px 1px 0 #fff;
  64. }
  65. #cls {
  66. position: absolute;
  67. top: 0;
  68. right: 0;
  69. bottom: 0;
  70. width: 64px;
  71. background-image: url("/s/close.svg");
  72. background-position: center center;
  73. background-repeat: no-repeat;
  74. background-size: 48px 48px;
  75. cursor: pointer;
  76. opacity: 0.3;
  77. display: none;
  78. }
  79. #cls:hover {
  80. opacity: 0.6;
  81. }