main.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. ---
  2. ---
  3. @charset "utf-8";
  4. @import "base";
  5. body, html {
  6. -webkit-font-smoothing: antialiased;
  7. }
  8. strong {
  9. font-weight: 500;
  10. }
  11. pre {
  12. border: rem-calc(1) solid #CCC;
  13. border-radius: rem-calc(5);
  14. background-color: #F7F7F7;
  15. padding: rem-calc(8) rem-calc(12);
  16. code {
  17. color: #222;
  18. background-color: transparent;
  19. border: none;
  20. margin: 0;
  21. padding: 0;
  22. }
  23. }
  24. #header {
  25. width: 100%;
  26. height: rem-calc(340);
  27. text-align: center;
  28. background-color: #444444;
  29. @include background-image(linear-gradient(90deg, #00C7B5 0, #0056C7 100%));
  30. #logo {
  31. color: transparent;
  32. text-indent: -99999px;
  33. width: rem-calc(534);
  34. height: rem-calc(128);
  35. margin-top: rem-calc(90);
  36. @include retina-image(/img/logo, rem-calc(534) rem-calc(128));
  37. background-size: 100% 100%;
  38. display: inline-block;
  39. }
  40. #nav {
  41. margin-top: rem-calc(10);
  42. ul {
  43. list-style: none;
  44. margin: 0;
  45. padding: 0;
  46. li {
  47. display: inline-block;
  48. margin: 0 rem-calc(5);
  49. padding: rem-calc(6) rem-calc(24);
  50. border: rem-calc(1) solid white;
  51. border-radius: rem-calc(5);
  52. min-width: rem-calc(80);
  53. a {
  54. color: white;
  55. text-decoration: none;
  56. text-transform: uppercase;
  57. &:hover {
  58. color: white;
  59. }
  60. }
  61. }
  62. }
  63. }
  64. }
  65. #content-wrapper {
  66. margin: rem-calc(40);
  67. #content {
  68. width: 100%;
  69. max-width: rem-calc(960);
  70. margin: 0 auto;
  71. }
  72. }
  73. #page-home {
  74. #top {
  75. @include clearfix;
  76. #info {
  77. width: rem-calc(460);
  78. margin-right: rem-calc(40);
  79. float: left;
  80. h2 {
  81. font-weight: 300;
  82. }
  83. ul {
  84. margin: rem-calc(20) 0;
  85. li {
  86. margin-bottom: rem-calc(20);
  87. }
  88. }
  89. }
  90. #example {
  91. width: rem-calc(460);
  92. float: left;
  93. h6 {
  94. margin: rem-calc(10) 0;
  95. text-align: center;
  96. font-size: rem-calc(11);
  97. text-transform: uppercase;
  98. font-weight: 300;
  99. }
  100. .box {
  101. border: rem-calc(1) dashed black;
  102. border-radius: rem-calc(5);
  103. position: relative;
  104. height: rem-calc(200);
  105. span {
  106. position: absolute;
  107. display: block;
  108. top: 1px;
  109. left: 1px;
  110. border-radius: rem-calc(5);
  111. padding: rem-calc(3) rem-calc(7);
  112. background-color: #EEE;
  113. font-size: rem-calc(11);
  114. line-height: rem-calc(11);
  115. }
  116. .box {
  117. width: 50px;
  118. height: 50px;
  119. border-color: red;
  120. position: absolute;
  121. left: 50%;
  122. top: 50%;
  123. margin-left: -25px;
  124. margin-top: -25px;
  125. }
  126. }
  127. }
  128. }
  129. #get-started-btn {
  130. margin: 0 auto;
  131. margin-top: rem-calc(80);
  132. padding: rem-calc(12) rem-calc(24);
  133. display: block;
  134. font-size: rem-calc(20);
  135. font-weight: 300;
  136. background: none;
  137. border: 1px solid #444;
  138. border-radius: rem-calc(5);
  139. a {
  140. text-decoration: none;
  141. color: #444;
  142. }
  143. }
  144. }