daniel7

style.css

May 9th, 2016
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. body {
  2. background: tomato;
  3. font-size: 16px;
  4. margin-top: 1%;
  5. }
  6.  
  7. form {
  8. background: white;
  9. box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
  10. font-family: lato;
  11. position: relative;
  12. color: #333;
  13. border-radius: 10px;
  14. }
  15. form header {
  16. background: #FF3838;
  17. padding: 30px 20px;
  18. color: white;
  19. font-size: 1.2em;
  20. font-weight: 600;
  21. border-radius: 10px 10px 0 0;
  22. }
  23. form label {
  24. margin-left: 20px;
  25. display: inline-block;
  26. margin-top: 30px;
  27. margin-bottom: 5px;
  28. position: relative;
  29. }
  30. form label span {
  31. color: #FF3838;
  32. font-size: 2em;
  33. position: absolute;
  34. left: 2.3em;
  35. top: -10px;
  36. }
  37. form input {
  38. display: block;
  39. width: 78%;
  40. margin-left: 20px;
  41. padding: 5px 20px;
  42. font-size: 1em;
  43. border-radius: 3px;
  44. outline: none;
  45. border: 1px solid #ccc;
  46. }
  47. form .help {
  48. margin-left: 20px;
  49. font-size: 0.8em;
  50. color: #777;
  51. }
  52. form #saveButton {
  53. position: relative;
  54. margin-top: 30px;
  55. margin-bottom: 30px;
  56. left: 50%;
  57. transform: translate(-50%, 0);
  58. font-family: inherit;
  59. color: white;
  60. background: #FF3838;
  61. outline: none;
  62. border: none;
  63. padding: 5px 15px;
  64. font-size: 1.3em;
  65. font-weight: 400;
  66. border-radius: 3px;
  67. box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
  68. cursor: pointer;
  69. transition: all 0.15s ease-in-out;
  70. }
  71. form #saveButton:hover {
  72. background: #ff5252;
  73. }
  74. form #button {
  75. position: relative;
  76. margin-top: 30px;
  77. margin-bottom: 30px;
  78. left: 50%;
  79. transform: translate(-50%, 0);
  80. font-family: inherit;
  81. color: white;
  82. background: #FF3838;
  83. outline: none;
  84. border: none;
  85. padding: 5px 15px;
  86. font-size: 1.3em;
  87. font-weight: 400;
  88. border-radius: 3px;
  89. box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
  90. cursor: pointer;
  91. transition: all 0.15s ease-in-out;
  92. }
  93. form #button:hover {
  94. background: #ff5252;
  95. }
Add Comment
Please, Sign In to add comment