_main.scss 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. // banner
  2. .banner {
  3. min-height: 50vh;
  4. padding: 100px 0 100px;
  5. background: linear-gradient(105deg, rgba(255, 255, 255, 0.438) 0%, rgba(255, 255, 255, 0.5) 100%, transparent 100%), url('https://images.unsplash.com/photo-1526628953301-3e589a6a8b74?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=2947&q=80');
  6. background-size: cover;
  7. &__p {
  8. color: $body-color;
  9. text-shadow: 1px 1px grey;
  10. font-weight: 400;
  11. }
  12. }
  13. .feature-card {
  14. border-radius: 10px;
  15. padding: 20px;
  16. transition: .2s ease;
  17. background-color: $white;
  18. &:hover {
  19. @extend .shadow;
  20. }
  21. i {
  22. font-size: 30px;
  23. color: $primary-color;
  24. display: inline-block;
  25. }
  26. }
  27. .footer-list a {
  28. display: block;
  29. padding: 5px 0;
  30. font-size: 16px;
  31. color: $text-color;
  32. margin: 8px 0;
  33. &:hover {
  34. color: $primary-color;
  35. }
  36. }
  37. .social-icons a {
  38. color: $primary-color;
  39. text-align: center;
  40. height: 35px;
  41. width: 35px;
  42. line-height: 35px;
  43. border: 1px solid $primary-color;
  44. border-radius: 50%;
  45. display: block;
  46. &:hover {
  47. color: $white;
  48. background-color: $primary-color;
  49. }
  50. }
  51. // blog post
  52. a.post-title {
  53. color: $text-color-dark;
  54. display: block;
  55. &:hover {
  56. color: $primary-color;
  57. }
  58. }
  59. .content {
  60. * {
  61. word-break: break-word;
  62. overflow-wrap: break-word;
  63. margin-bottom: 20px;
  64. }
  65. img {
  66. max-width: 100%;
  67. }
  68. h1,
  69. h2,
  70. h3,
  71. h4,
  72. h5,
  73. h6 {
  74. margin-bottom: 15px;
  75. }
  76. strong {
  77. font-weight: 600;
  78. }
  79. a {
  80. color: $text-color;
  81. border-bottom: 1px dotted $border-color;
  82. &:hover {
  83. color: $primary-color;
  84. }
  85. }
  86. ol,
  87. ul {
  88. padding-left: 20px;
  89. li {
  90. margin-bottom: 10px;
  91. }
  92. }
  93. ul {
  94. padding-left: 0;
  95. margin-bottom: 20px;
  96. list-style-type: none;
  97. li {
  98. padding-left: 20px;
  99. position: relative;
  100. &::before {
  101. position: absolute;
  102. content: '';
  103. height: 8px;
  104. width: 8px;
  105. border-radius: 50%;
  106. background: $primary-color;
  107. left: 3px;
  108. top: 5px;
  109. }
  110. }
  111. }
  112. table {
  113. width: 100%;
  114. max-width: 100%;
  115. margin-bottom: 1rem;
  116. border: 1px solid $border-color;
  117. }
  118. table td,
  119. table th {
  120. padding: .75rem;
  121. vertical-align: top;
  122. margin-bottom: 0;
  123. }
  124. th,
  125. td {
  126. &:not(:last-of-type) {
  127. border-right: 1px solid $border-color;
  128. }
  129. }
  130. th {
  131. font-weight: 500;
  132. }
  133. thead {
  134. background: $white;
  135. margin-bottom: 0;
  136. tr {
  137. border-bottom: 1px solid $border-color;
  138. }
  139. }
  140. tbody {
  141. background-color: transparent;
  142. margin-bottom: 0;
  143. }
  144. .notices {
  145. margin: 2rem 0;
  146. position: relative;
  147. overflow: hidden;
  148. }
  149. .notices p {
  150. padding: 10px;
  151. margin-bottom: 0;
  152. }
  153. .notices p::before {
  154. position: absolute;
  155. top: 2px;
  156. color: $white;
  157. font-family: "themify";
  158. font-weight: 900;
  159. content: "\e717";
  160. left: 10px;
  161. }
  162. .notices.note p {
  163. border-top: 30px solid #6ab0de;
  164. background: $white;
  165. }
  166. .notices.note p::after {
  167. content: 'Note';
  168. position: absolute;
  169. top: 2px;
  170. color: $white;
  171. left: 2rem;
  172. }
  173. .notices.tip p {
  174. border-top: 30px solid #78C578;
  175. background: $white;
  176. }
  177. .notices.tip p::after {
  178. content: 'Tip';
  179. position: absolute;
  180. top: 2px;
  181. color: $white;
  182. left: 2rem;
  183. }
  184. .notices.info p {
  185. border-top: 30px solid #F0B37E;
  186. background: $white;
  187. }
  188. .notices.info p::after {
  189. content: 'Info';
  190. position: absolute;
  191. top: 2px;
  192. color: $white;
  193. left: 2rem;
  194. }
  195. .notices.warning p {
  196. border-top: 30px solid #E06F6C;
  197. background: $white;
  198. }
  199. .notices.warning p::after {
  200. content: 'Warning';
  201. position: absolute;
  202. top: 2px;
  203. color: #fff;
  204. left: 2rem;
  205. }
  206. blockquote {
  207. font-size: 20px !important;
  208. color: $text-color;
  209. padding: 20px 40px;
  210. border-left: 2px solid $primary-color;
  211. margin: 40px 0;
  212. font-weight: bold;
  213. background: $white;
  214. p {
  215. margin-bottom: 0 !important;
  216. }
  217. }
  218. pre {
  219. display: block;
  220. padding: 9.5px;
  221. margin: 10px 0px 10px;
  222. white-space: pre-wrap;
  223. }
  224. code {
  225. margin-bottom: 0 !important;
  226. font-size: 100%;
  227. }
  228. }
  229. // pagination
  230. .pagination {
  231. margin-top: 30px;
  232. justify-content: center;
  233. .page-item {
  234. .page-link {
  235. display: inline-block;
  236. width: 40px;
  237. height: 40px;
  238. line-height: 40px;
  239. border-radius: 5px;
  240. background: $light;
  241. text-align: center;
  242. padding: 0;
  243. margin-right: 10px;
  244. border: 0;
  245. color: $text-color;
  246. &:hover {
  247. background: $primary-color;
  248. color: $white;
  249. }
  250. &:focus {
  251. box-shadow: none;
  252. }
  253. }
  254. &:first-child,
  255. &:last-child {
  256. .page-link {
  257. border-radius: 5px;
  258. }
  259. }
  260. &.active {
  261. .page-link {
  262. background: $primary-color;
  263. color: $white;
  264. }
  265. }
  266. }
  267. }
  268. .slick-dots {
  269. text-align: center;
  270. margin-top: 20px;
  271. li {
  272. display: inline-block;
  273. margin: 0 5px;
  274. &.slick-active {
  275. button {
  276. background-color: $primary-color;
  277. }
  278. }
  279. button {
  280. height: 10px;
  281. width: 10px;
  282. border-radius: 50%;
  283. display: block;
  284. color: transparent;
  285. padding: 0;
  286. border: 1px solid $primary-color;
  287. background-color: transparent;
  288. transition: .2s ease;
  289. }
  290. }
  291. }
  292. // pricing table
  293. .col-recommended {
  294. margin: -2rem -1.5rem;
  295. z-index: 1;
  296. @include desktop {
  297. margin: 0;
  298. margin-bottom: 40px;
  299. }
  300. }
  301. .price{
  302. font-size: 50px;
  303. color: $text-color-dark;
  304. }
  305. .banner {
  306. h1 {
  307. font-family: 'Poppins', sans-serif;
  308. font-size: 3.5rem;
  309. }
  310. }
  311. .section {
  312. animation-duration: 2.5s;
  313. animation-name: fadein;
  314. animation-iteration-count: 1;
  315. &-title {
  316. font-size: 3.1rem;
  317. font-family: 'Poppins', sans-serif;
  318. font-weight: 700;
  319. text-shadow: 0 10px 20px rgba(grey, 0.3);
  320. animation-duration: 3s;
  321. animation-name: lighting;
  322. animation-iteration-count: infinite;
  323. }
  324. &__footer {
  325. animation: none;
  326. }
  327. }
  328. .sec-video {
  329. padding-top: 20vh;
  330. height: 70vh;
  331. background: linear-gradient(105deg, rgba(255, 255, 255, 0.438) 0%, rgba(255, 255, 255, 0.5) 100%, transparent 100%), url('https://i.imgur.com/skmbkUy.jpg');
  332. background-position: center;
  333. @media screen and(max-width: 576px) {
  334. padding-top: 10vh;
  335. }
  336. .container {
  337. animation-duration: 2.5s;
  338. animation-name: fadein;
  339. animation-iteration-count: 1;
  340. }
  341. .subtitle {
  342. color: white;
  343. }
  344. }
  345. .section-title.action-title {
  346. font-size: 2rem;
  347. }
  348. .img-shadow {
  349. box-shadow: 0 15px 25px 0 rgba(grey, 0.4);
  350. transition: all .3s;
  351. }
  352. .img-shadow:hover {
  353. transform: translateY(-.125em);
  354. box-shadow: 0 5px 10px 0 rgba(grey, 0.3);
  355. }
  356. @keyframes fadein {
  357. 0% {
  358. opacity: 0;
  359. transform: translateY(20%);
  360. }
  361. 100% {
  362. opacity: 1;
  363. transform: translateY(0%);
  364. }
  365. }
  366. @keyframes lighting {
  367. 0% {
  368. transform: translateY(-0.05em);
  369. }
  370. 100% {
  371. transform: translateY(0);
  372. }
  373. }