index.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. html,
  2. body {
  3. height: 100%;
  4. width: 100%;
  5. }
  6. body {
  7. -webkit-font-smoothing: antialiased;
  8. -moz-osx-font-smoothing: grayscale;
  9. font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  10. font-weight: 400;
  11. }
  12. a {
  13. -webkit-transition: all 0.35s;
  14. -moz-transition: all 0.35s;
  15. transition: all 0.35s;
  16. color: #474157;
  17. }
  18. a:hover,
  19. a:focus {
  20. color: #474157;
  21. }
  22. hr {
  23. max-width: 100px;
  24. margin: 25px auto 0;
  25. border-width: 1px;
  26. border-color: rgba(34, 34, 34, 0.1);
  27. }
  28. hr.light {
  29. border-color: white;
  30. }
  31. h1,
  32. h2,
  33. h3,
  34. h4,
  35. h5,
  36. h6 {
  37. font-weight: 200;
  38. letter-spacing: 1px;
  39. }
  40. p {
  41. font-size: 16px;
  42. line-height: 1.5;
  43. margin-bottom: 20px;
  44. }
  45. .navbar-default {
  46. font-weight: 200;
  47. letter-spacing: 1px;
  48. }
  49. .navbar-default .navbar-header .navbar-brand {
  50. font-weight: 200;
  51. letter-spacing: 1px;
  52. color: #474157;
  53. }
  54. .navbar-default .navbar-header .navbar-brand:hover,
  55. .navbar-default .navbar-header .navbar-brand:focus {
  56. color: #474157;
  57. }
  58. .navbar-default .navbar-header .navbar-toggle {
  59. font-size: 12px;
  60. color: #474157;
  61. padding: 8px 10px;
  62. }
  63. .navbar-default .nav > li > a {
  64. text-transform: uppercase;
  65. letter-spacing: 2px;
  66. font-size: 14px;
  67. color: #7a798c;
  68. }
  69. .navbar-default .nav > li > a:hover,
  70. .navbar-default .nav > li > a:focus:hover {
  71. color: #474157;
  72. }
  73. .navbar-default .nav > li.active > a,
  74. .navbar-default .nav > li.active > a:focus {
  75. color: #474157 !important;
  76. background-color: transparent;
  77. }
  78. .navbar-default .nav > li.active > a:hover,
  79. .navbar-default .nav > li.active > a:focus:hover {
  80. background-color: transparent;
  81. }
  82. #mainbody {
  83. position: relative;
  84. width: 100%;
  85. min-height: auto;
  86. overflow-y: hidden;
  87. background: #f1f6fd;
  88. color: #474157;
  89. height: calc(100vh - 61px);
  90. }
  91. #mainbody .index-text {
  92. text-align: center;
  93. padding: 250px 0 50px;
  94. position: relative;
  95. height: 100vh;
  96. }
  97. #mainbody .index-text h1 {
  98. font-size: 50px;
  99. font-weight: bold;
  100. color: #171347
  101. }
  102. #mainbody .index-gallery {
  103. text-align: center;
  104. padding: 200px 0 50px;
  105. position: relative;
  106. }
  107. @media (max-height: 500px) {
  108. #mainbody {
  109. height: inherit;
  110. }
  111. }
  112. @media (min-width: 768px) {
  113. .navbar-default {
  114. background-color: transparent;
  115. border-color: transparent;
  116. }
  117. #mainbody .index-text {
  118. text-align: left;
  119. }
  120. }
  121. @media (max-width: 767px) {
  122. .navbar-default {
  123. background-color: #f1f6fd;
  124. border-color: #f1f6fd;
  125. }
  126. .navbar-default .navbar-collapse {
  127. background: #f1f6fd;
  128. box-shadow: 5px 9px 5px rgba(0, 0, 0, 0.07);
  129. }
  130. #mainbody {
  131. height: unset;
  132. }
  133. #mainbody .index-text {
  134. padding: 130px 0 0 0;
  135. height: calc(100vh - 261px);
  136. }
  137. #mainbody .index-gallery {
  138. padding: 30px 0 50px 0;
  139. }
  140. #mainbody .index-text h1 {
  141. font-size: 50px;
  142. margin-bottom: 20px;
  143. }
  144. }
  145. footer {
  146. background-color: #222222;
  147. padding: 20px 0;
  148. color: rgba(255, 255, 255, 0.3);
  149. text-align: center;
  150. }
  151. footer p {
  152. font-size: 14px;
  153. margin: 0;
  154. }
  155. .bg-primary {
  156. background: #fdcc52;
  157. background: -webkit-linear-gradient(#fdcc52, #fdc539);
  158. background: linear-gradient(#fdcc52, #fdc539);
  159. }
  160. .btn {
  161. text-transform: uppercase;
  162. letter-spacing: 2px;
  163. border-radius: 300px;
  164. }
  165. .btn-xl {
  166. margin-top: 20px;
  167. padding: 10px 45px;
  168. font-size: 14px;
  169. }