_top-designer.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. $main-font-family:'Microsoft JhengHei', Helvetica,Noto Sans TC,Roboto,Arial,sans-serif;
  2. // top-designer
  3. .top-designer{
  4. margin-top: 5rem;
  5. .top-designer-box{
  6. position: relative;
  7. .top-designer-btn{
  8. cursor: pointer;
  9. color: #aaa;
  10. position: absolute;
  11. right: 3%;
  12. top: 10%;
  13. }
  14. .hide-btn{
  15. position: relative;
  16. color: #FFF;
  17. font-size: 12px;
  18. text-align: center;
  19. line-height: 4;
  20. content: '';
  21. width: 40px;
  22. height: 40px;
  23. border-radius: 50%;
  24. background-color: #9b9b9b;
  25. display: inline-block;
  26. &::before{
  27. position: absolute;
  28. left: 35%;
  29. content: "\f106";
  30. color: #FFF;
  31. font-weight: normal;
  32. font-style: normal;
  33. font-size: 1.5em;
  34. font-family: FontAwesome;
  35. line-height: 22px;
  36. }
  37. }
  38. }
  39. .top-designer-wrapper{
  40. margin-left: auto;
  41. margin-right: auto;
  42. width: 90%;
  43. img{
  44. width: 100%;
  45. &:hover{
  46. cursor: pointer;
  47. }
  48. }
  49. }
  50. }