experiences.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. .experiences-section {
  2. padding-bottom: 1rem;
  3. .timeline {
  4. margin-top: 1.5rem !important;
  5. }
  6. h1 > span{
  7. margin-top: -55px; /* Size of fixed header */
  8. padding-bottom:55px;
  9. display: block;
  10. }
  11. ul {
  12. padding-left: 1rem;
  13. }
  14. ul > li {
  15. margin-left: 0;
  16. color: #3c4858;
  17. }
  18. .designation {
  19. font-weight: 600;
  20. }
  21. .circle {
  22. padding: 13px 20px;
  23. border-radius: 50%;
  24. background-color: #248aaa;
  25. color: #f9fafc;
  26. max-height: 50px;
  27. z-index: 2;
  28. }
  29. .timeline .vertical-line {
  30. align-self: stretch;
  31. }
  32. .timeline .vertical-line::after {
  33. content: "";
  34. position: absolute;
  35. border-left: 3px solid #248aaa;
  36. z-index: 1;
  37. height: 100%;
  38. left: 50%;
  39. }
  40. .timeline .vertical-line:nth-child(even)::after {
  41. left: calc(50% - 3px) !important;
  42. }
  43. .timeline .horizontal-line div {
  44. padding: 0;
  45. height: 40px;
  46. }
  47. .timeline .horizontal-line hr {
  48. border-top: 3px solid #248aaa;
  49. margin: 0;
  50. top: 17px;
  51. position: relative;
  52. }
  53. .timeline .horizontal-line .timeline-side-div {
  54. display: flex;
  55. overflow: hidden;
  56. }
  57. .timeline .horizontal-line .corner {
  58. border: 3px solid #248aaa;
  59. width: 100%;
  60. position: relative;
  61. border-radius: 15px;
  62. }
  63. .timeline .row:nth-child(2n) div:nth-child(1) .corner {
  64. left: 50%;
  65. top: -50%;
  66. }
  67. .timeline .row:nth-child(2n) div:nth-child(3) .corner {
  68. left: -50%;
  69. top: calc(50% - 3px);
  70. }
  71. .timeline .row:nth-child(4n) div:nth-child(1) .corner {
  72. left: 50%;
  73. top: calc(50% - 3px);
  74. }
  75. .timeline .row:nth-child(4n) div:nth-child(3) .corner {
  76. left: -50%;
  77. top: -50%;
  78. }
  79. /* ============= Device specific fixes ======= */
  80. /* Large screens such as TV */
  81. @media only screen and (min-width: 1824px) {
  82. }
  83. /* Extra large devices (large desktops, 1200px and up) */
  84. @media (max-width: 1400px) {
  85. }
  86. @media (max-width: 1200px) {
  87. }
  88. /* IPad Pro */
  89. @media (max-width: 1024px) {
  90. }
  91. /* Large devices (desktops, 992px and up) */
  92. @media (max-width: 992px) {
  93. }
  94. /* Medium devices (tablets, 768px and up) */
  95. @media only screen and (max-width: 768px) {
  96. .container {
  97. max-width: 100%;
  98. }
  99. }
  100. /* Small devices (landscape phones, 576px and up) */
  101. @media only screen and (max-width: 576px) {
  102. }
  103. /* iPhoneX, iPhone 6,7,8 */
  104. @media only screen and (max-width: 375px) {
  105. .timeline .row:nth-child(4n) div:nth-child(3) .corner {
  106. left: -55%;
  107. top: -50%;
  108. }
  109. .timeline .row:nth-child(2n) div:nth-child(1) .corner {
  110. left: 55%;
  111. top: -50%;
  112. }
  113. }
  114. /* Galaxy S5, Moto G4 */
  115. @media only screen and (max-width: 360px) {
  116. .timeline .row:nth-child(4n) div:nth-child(3) .corner {
  117. left: -60%;
  118. top: -50%;
  119. }
  120. .timeline .row:nth-child(2n) div:nth-child(1) .corner {
  121. left: 60%;
  122. top: -50%;
  123. }
  124. }
  125. /* iPhone 5 or before */
  126. @media only screen and (max-width: 320px) {
  127. .timeline .row:nth-child(4n) div:nth-child(3) .corner {
  128. left: -64%;
  129. top: -50%;
  130. }
  131. .timeline .row:nth-child(2n) div:nth-child(1) .corner {
  132. left: 64%;
  133. top: -50%;
  134. }
  135. }
  136. }