achievements.css 3.2 KB

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