achievements.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. .achievements .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. }