achievements.css 3.3 KB

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