achievements.css 3.0 KB

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