achievements.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. .achievements-section {
  2. .container {
  3. padding-top: 0.5rem;
  4. }
  5. h1 > span{
  6. margin-top: -55px; /* Size of fixed header */
  7. padding-bottom:55px;
  8. display: block;
  9. }
  10. #gallery .achievement-entry {
  11. cursor: pointer;
  12. margin-top: 5px;
  13. margin-bottom: 5px;
  14. margin-left: 7px;
  15. margin-right: 7px;
  16. z-index: 1;
  17. background-color: #e5e9f2;
  18. background-size: cover;
  19. background-repeat: no-repeat;
  20. background-position: center;
  21. position: relative;
  22. overflow: hidden;
  23. transition: all 0.3s ease-out;
  24. }
  25. #gallery .achievement-entry:hover {
  26. cursor: pointer;
  27. z-index: 1;
  28. transform: scale(1.1);
  29. transition: all 0.3s ease-out;
  30. z-index: 20000;
  31. }
  32. #gallery .achievement-details {
  33. cursor: pointer;
  34. z-index: 1;
  35. opacity: 1 !important;
  36. transition: none !important;
  37. transform: none !important;
  38. }
  39. #gallery .img-type-1 {
  40. height: 300px;
  41. }
  42. #gallery .img-type-2 {
  43. height: 146px;
  44. margin-bottom: 8px;
  45. }
  46. #gallery .svg-inline--fa {
  47. color: #8392a5;
  48. background-color: rgba(0, 0, 0, 0.7);
  49. padding: 10px;
  50. font-size: 0rem;
  51. opacity: 0;
  52. }
  53. #gallery .achievement-entry:hover .svg-inline--fa {
  54. opacity: 1;
  55. font-size: 1rem;
  56. transition: all 0.3s ease-out;
  57. }
  58. #gallery .img-type-1 .svg-inline--fa {
  59. margin-top: 135px;
  60. }
  61. #gallery .img-type-2 .svg-inline--fa {
  62. margin-top: 50px;
  63. }
  64. #gallery .achievement-details.img-type-1 .svg-inline--fa,
  65. .achievement-details.img-type-2 .svg-inline--fa {
  66. margin-top: 0px !important;
  67. transition: none !important;
  68. float: right;
  69. }
  70. #gallery .achievement-entry .title {
  71. color: #e5e9f2;
  72. background-color: rgba(0, 0, 0, 0.7);
  73. opacity: 0;
  74. padding: 5px;
  75. position: absolute;
  76. bottom: 0px;
  77. width: 100%;
  78. margin-bottom: 0px;
  79. bottom: -5px;
  80. }
  81. #gallery .achievement-entry:hover .title {
  82. opacity: 1;
  83. bottom: 0px;
  84. transition: bottom 0.3s ease-out;
  85. }
  86. #gallery .caption {
  87. background-color: rgba(0, 0, 0, 0.7);
  88. bottom: 1rem;
  89. left: 1rem;
  90. color: #e5e9f2;
  91. padding: 15px;
  92. position: absolute;
  93. transition: all 0.3s ease-out;
  94. }
  95. #gallery .caption h4 {
  96. color: #e5e9f2;
  97. }
  98. #gallery .caption p {
  99. font-size: 16px;
  100. font-weight: 300;
  101. color: #e5e9f2;
  102. }
  103. .hidden {
  104. display: none !important;
  105. }
  106. #gallery .achievement-details {
  107. height: 75vh !important;
  108. }
  109. /* ============= Device specific fixes ======= */
  110. /* Large screens such as TV */
  111. @media only screen and (min-width: 1824px) {
  112. }
  113. /* Extra large devices (large desktops, 1200px and up) */
  114. @media (max-width: 1400px) {
  115. }
  116. @media (max-width: 1200px) {
  117. }
  118. /* IPad Pro */
  119. @media (max-width: 1024px) {
  120. }
  121. /* Large devices (desktops, 992px and up) */
  122. @media (max-width: 992px) {
  123. }
  124. /* Medium devices (tablets, 768px and up) */
  125. @media only screen and (max-width: 768px) {
  126. .container {
  127. max-width: 100%;
  128. }
  129. .col-md-6 {
  130. flex: 50%;
  131. width: 50%;
  132. }
  133. }
  134. /* Small devices (landscape phones, 576px and up) */
  135. @media only screen and (max-width: 576px) {
  136. #gallery .achievement-entry:hover {
  137. transform: scale(1.05);
  138. }
  139. }
  140. /* iPhoneX, iPhone 6,7,8 */
  141. @media only screen and (max-width: 375px) {
  142. }
  143. /* Galaxy S5, Moto G4 */
  144. @media only screen and (max-width: 360px) {
  145. }
  146. /* iPhone 5 or before */
  147. @media only screen and (max-width: 320px) {
  148. }
  149. }