experiences.css 2.4 KB

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