index.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. html,
  2. body {
  3. height: 100%;
  4. width: 100%;
  5. }
  6. * {
  7. -webkit-box-sizing: border-box;
  8. -moz-box-sizing: border-box;
  9. box-sizing: border-box;
  10. }
  11. body {
  12. -webkit-font-smoothing: antialiased;
  13. -moz-osx-font-smoothing: grayscale;
  14. 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;
  15. font-weight: 400;
  16. margin: 0;
  17. }
  18. a {
  19. -webkit-transition: all 0.35s;
  20. -moz-transition: all 0.35s;
  21. transition: all 0.35s;
  22. color: #474157;
  23. }
  24. a:hover,
  25. a:focus {
  26. color: #474157;
  27. }
  28. hr {
  29. max-width: 100px;
  30. margin: 25px auto 0;
  31. border-width: 1px;
  32. border-color: rgba(34, 34, 34, 0.1);
  33. }
  34. hr.light {
  35. border-color: white;
  36. }
  37. h1,
  38. h2,
  39. h3,
  40. h4,
  41. h5,
  42. h6 {
  43. font-weight: 200;
  44. letter-spacing: 1px;
  45. }
  46. p {
  47. font-size: 16px;
  48. line-height: 1.5;
  49. margin-bottom: 20px;
  50. }
  51. #mainbody {
  52. position: relative;
  53. width: 100%;
  54. min-height: auto;
  55. overflow-y: hidden;
  56. background: #f1f6fd;
  57. color: #474157;
  58. height: calc(100vh - 61px);
  59. }
  60. #mainbody > .container > .text-center {
  61. text-align: center;
  62. padding: 350px 0 50px;
  63. position: relative;
  64. height: 100vh;
  65. }
  66. #mainbody > .container > .text-center h1 {
  67. font-size: 50px;
  68. font-weight: bold;
  69. color: #171347
  70. }
  71. #mainbody > .container > .text-center > a {
  72. background: #fdcc52;
  73. background: -webkit-linear-gradient(#fdcc52, #fdc539);
  74. background: linear-gradient(#fdcc52, #fdc539);
  75. text-transform: uppercase;
  76. letter-spacing: 2px;
  77. border-radius: 300px;
  78. margin-top: 20px;
  79. padding: 10px 45px;
  80. font-size: 14px;
  81. text-decoration: none;
  82. }
  83. @media (max-height: 500px) {
  84. #mainbody {
  85. height: inherit;
  86. }
  87. }
  88. @media (min-width: 768px) {
  89. .navbar-default {
  90. background-color: transparent;
  91. border-color: transparent;
  92. }
  93. #mainbody .index-text {
  94. text-align: left;
  95. }
  96. }
  97. @media (max-width: 767px) {
  98. #mainbody > .container > .text-center {
  99. padding: 130px 0 0 0;
  100. height: calc(100vh - 261px);
  101. }
  102. #mainbody > .container > .text-center > h1 {
  103. font-size: 50px;
  104. margin-bottom: 20px;
  105. }
  106. }
  107. .footer {
  108. background-color: #222222;
  109. padding: 20px 0;
  110. color: rgba(255, 255, 255, 0.3);
  111. text-align: center;
  112. }
  113. .footer p {
  114. font-size: 14px;
  115. margin: 0;
  116. }