experiences.css 2.5 KB

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