Advertisement
makispaiktis

Codecademy - 3rd Exercise - Forms (CSS)

Aug 26th, 2019 (edited)
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.77 KB | None | 0 0
  1. body {
  2.   background-color: rgb(255, 199, 64);
  3.   font-family: "Open Sans", Arial;
  4. }
  5.  
  6. form {
  7.   line-height: 27px;
  8. }
  9.  
  10. h2 {
  11.   font-size: 20px;
  12. }
  13.  
  14. input[type="text"], input[type="number"] {
  15.   min-height: 15px;
  16.   border-radius: 5px;
  17.   border:1px solid #cccccc;
  18. }
  19.  
  20. input[type="radio"] {
  21.   margin-left: 12px;
  22. }
  23.  
  24. #main {
  25.   background-color: rgba(255,255,255,0.8);
  26.   text-align: center;
  27.   height: 80vh;
  28.   border-radius: 15px;
  29.   margin: 2% 10%;
  30.   overflow: auto;
  31. }
  32.  
  33. #story {
  34.   padding: 0 3%;
  35. }
  36.  
  37. #top {
  38.   background-color: rgb(255, 255, 255);
  39.   margin: 2% 10%;
  40.   border-radius: 15px;
  41. }
  42.  
  43. #top img {
  44.   display: block;
  45.   width: 35%;
  46.   margin: 0 auto;
  47. }
  48.  
  49. .italics {
  50.   font-style: italic;
  51. }
  52.  
  53. .word {
  54.   font-weight: bold;
  55.   text-decoration: underline;
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement