style.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. body {
  2. background-color: #FFF;
  3. margin: 0 auto;
  4. }
  5. header {
  6. background-color: #466995;
  7. border-bottom: 1px solid #466995;
  8. position: fixed;
  9. width: 100%;
  10. }
  11. ul {
  12. margin: 30px auto;
  13. padding: 0 20px;
  14. text-align: center;
  15. }
  16. li {
  17. color: #FFF;
  18. font-family: 'Oswald', sans-serif;
  19. font-size: 16px;
  20. font-weight: 300;
  21. text-transform: uppercase;
  22. }
  23. li:hover {
  24. color: #DBE9EE;
  25. }
  26. h1 {
  27. color: #466995;
  28. font-family: 'Oswald', sans-serif;
  29. font-size: 32px;
  30. font-weight: 300;
  31. text-transform: uppercase;
  32. }
  33. h2 {
  34. color: #333;
  35. font-family: 'Varela Round', sans-serif;
  36. font-size: 26px;
  37. font-weight: 100;
  38. margin: 0 auto 20px auto;
  39. }
  40. h3 {
  41. color: #466995;
  42. font-family: 'Oswald', sans-serif;
  43. font-size: 18px;
  44. text-align: center;
  45. font-weight: 700;
  46. text-transform: uppercase;
  47. padding: 30px;
  48. }
  49. h4 {
  50. color: #466995;
  51. font-family: 'Oswald', sans-serif;
  52. font-size: 18px;
  53. font-weight: 300;
  54. letter-spacing: 2px;
  55. text-align: center;
  56. text-transform: uppercase
  57. }
  58. p {
  59. color: #333;
  60. font-family: 'Varela Round', sans-serif;
  61. font-size: 18px;
  62. }
  63. footer {
  64. background-color: #DBE9EE;
  65. text-align: center;
  66. }
  67. .welcome {
  68. background-color: #DBE9EE;
  69. box-sizing: border-box;
  70. padding: 40px;
  71. text-align: center;
  72. width: 100%;
  73. position: relative;
  74. top: 200px;
  75. }
  76. .question {
  77. text-align: center;
  78. position: sticky;
  79. top: 40px;
  80. border: 15px solid #DBE9EE;
  81. background-color: white;
  82. }
  83. .answer {
  84. border: 1px solid #466995;
  85. margin: 20px;
  86. }
  87. .answer:hover {
  88. background: #C0D6DF;
  89. color: #FFF;
  90. }