style.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. * {
  2. box-sizing: border-box;
  3. text-align: center;
  4. font-family: Helvetica;
  5. color: seashell;
  6. background-color: black;
  7. }
  8. body {
  9. position: fixed;
  10. top: 0px;
  11. bottom: 0px;
  12. left: 0px;
  13. right: 0px;
  14. opacity: 0.9;
  15. font-size: 22px;
  16. }
  17. .front {
  18. position: fixed;
  19. width: 100%;
  20. height: 100%;
  21. top: 0; bottom: 0; left: 0; right: 0;
  22. display: flex;
  23. flex-direction: column;
  24. justify-content: space-between;
  25. }
  26. header {
  27. display: flex;
  28. justify-content: space-between;
  29. align-items: center;
  30. height: 69px;
  31. border-bottom: 1px solid seashell;
  32. flex-shrink: 0;
  33. }
  34. header * {
  35. margin: 0 10px;
  36. }
  37. header a:last-of-type {
  38. margin-right: 0;
  39. }
  40. header img {
  41. height: 50px;
  42. }
  43. header ul {
  44. list-style: none;
  45. display: inline-flex;
  46. padding: 0;
  47. }
  48. main {
  49. overflow: auto;
  50. margin: 0 20px;
  51. }
  52. main section {
  53. margin: 20px auto;
  54. }
  55. main section:first-of-type {
  56. margin-top: 0px;
  57. }
  58. #first {
  59. background-image: url("/resources/img/img-mission-background.jpg");
  60. height: 700px;
  61. width: 1200px;
  62. overflow: hidden;
  63. flex-shrink: 1;
  64. display: flex;
  65. flex-direction: column;
  66. justify-content: center;
  67. }
  68. #first * {
  69. margin: 0;
  70. padding: 10px;
  71. }
  72. #second {
  73. width: 1000px;
  74. }
  75. #second * {
  76. margin: 0;
  77. padding: 5px;
  78. }
  79. #second img {
  80. height: 200px;
  81. width: 300px;
  82. }
  83. #second .cards {
  84. display: flex;
  85. flex-wrap: wrap;
  86. flex-direction: row;
  87. justify-content: center;
  88. }
  89. #third {
  90. height: 500px;
  91. background-image: url("/resources/img/img-locations-background.jpg");
  92. display: flex;
  93. flex-direction: column;
  94. justify-content: center;
  95. max-width: 1200px;
  96. }
  97. #third h3,.cards {
  98. background-color: transparent;
  99. }
  100. #third .cards {
  101. display: flex;
  102. justify-content: center;
  103. }
  104. #third .card {
  105. width: 300px;
  106. margin: 0 20px;
  107. opacity: 1;
  108. }
  109. #fourth {
  110. height: 200px;
  111. }
  112. footer {
  113. text-align: left;
  114. }