Нет описания

workProcedure.css 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. .workProcedure {
  2. padding: 0 5%;
  3. font-size: 16px;
  4. font-family: "Noto Sans", sans-serif;
  5. color: #eee9dc;
  6. }
  7. .workProcedure h2 {
  8. margin: 3em 0 0 0;
  9. font-size: 1.5em;
  10. letter-spacing: 2px;
  11. text-transform: uppercase;
  12. }
  13. /* -------------------------------------
  14. * timeline
  15. * ------------------------------------- */
  16. #timeline {
  17. list-style: none;
  18. margin: 50px 0 30px 120px;
  19. padding-left: 30px;
  20. border-left: 3px solid #00f6ff;
  21. font-weight: 600;
  22. }
  23. #timeline li {
  24. margin: 40px 0;
  25. position: relative;
  26. }
  27. #timeline p {
  28. position: absolute;
  29. top: 15px;
  30. margin: 0 0 15px;
  31. }
  32. .date {
  33. margin-top: -10px;
  34. top: 50%;
  35. left: -200px;
  36. font-size: 0.95em;
  37. line-height: 20px;
  38. position: absolute;
  39. }
  40. .circle {
  41. margin-top: -10px;
  42. top: 50%;
  43. left: -38px;
  44. width: 9px;
  45. height: 9px;
  46. background: #fff;
  47. border: 2px solid #00f6ff;
  48. border-radius: 50%;
  49. display: block;
  50. position: absolute;
  51. }
  52. .content {
  53. padding: 50px 20px 0;
  54. }
  55. /* label {
  56. font-size: 1.3em;
  57. position: absolute;
  58. z-index: 100;
  59. top: 20px;
  60. } */
  61. .radio {
  62. display: none;
  63. }
  64. /* .radio:checked + .relative .circle {
  65. background: #f98262;
  66. } */
  67. .radio:checked ~ .content {
  68. max-height: 180px;
  69. border-color: #eee9dc;
  70. margin-right: 20px;
  71. }
  72. .work{
  73. }
  74. /* -------------------------------------
  75. * mobile phones (vertical version only)
  76. * ------------------------------------- */
  77. @media screen and (max-width: 767px) {
  78. #timeline {
  79. margin-left: 0;
  80. padding-left: 0;
  81. border-left: none;
  82. }
  83. #timeline li {
  84. margin: 50px 0;
  85. }
  86. /* label {
  87. width: 85%;
  88. font-size: 1.1em;
  89. white-space: nowrap;
  90. text-overflow: ellipsis;
  91. overflow: hidden;
  92. display: block;
  93. transform: translateX(18px);
  94. } */
  95. .content {
  96. padding-top: 45px;
  97. border-color: #eee9dc;
  98. }
  99. .content:before, .content:after {
  100. border: solid transparent;
  101. bottom: 100%;
  102. }
  103. .content:before {
  104. border-bottom-color: inherit;
  105. border-width: 17px;
  106. top: -16px;
  107. left: 50px;
  108. margin-left: -17px;
  109. }
  110. .content:after {
  111. border-bottom-color: #48b379;
  112. border-width: 20px;
  113. top: -20px;
  114. left: 50px;
  115. margin-left: -20px;
  116. }
  117. .content p {
  118. font-size: 0.9em;
  119. line-height: 1.4;
  120. }
  121. .circle, .date {
  122. display: none;
  123. }
  124. }