user.css 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /* user-override.css */
  2. #header {
  3. height: 240px;
  4. display: inline-grid;
  5. justify-content:space-between;
  6. }
  7. #header, #outer_lightgallery {
  8. background-color: rgba(0, 0, 0, 0.2);
  9. background-position: center center;
  10. background-repeat: no-repeat;
  11. background-size: 100% auto;
  12. border-radius: 12px;
  13. box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.6);
  14. left: 5%;
  15. max-height: 100%;
  16. position: relative;
  17. top: 0;
  18. width: 90%;
  19. z-index: 10;
  20. }
  21. #outer_lightgallery {
  22. display: block;
  23. margin-top: 1em;
  24. min-height:2em;
  25. /* new */
  26. text-align: center;
  27. /* display: flex */
  28. /* justify-content: center; */
  29. }
  30. #lightgallery, #filter-results, #results {
  31. padding: 1em;
  32. }
  33. #lightgallery img, #results img {
  34. width: 205px;
  35. height: 205px;
  36. object-fit: cover;
  37. z-index: 9;
  38. padding: 0 3px 3px 0;
  39. }
  40. #header h1, #nav, #zip {
  41. display: inline-block;
  42. /* background-color: #ddd; */
  43. /* color: #fff; */
  44. background-color:rgba(255, 255, 255, 0.5);
  45. padding: 0.5em;
  46. height: 2em;
  47. border-radius: 0 0 12px 12px;
  48. border-radius: 12px;
  49. }
  50. #header {
  51. background-image: url("header/header.jpg");
  52. }
  53. #nav {
  54. height: 2.5em;
  55. }
  56. #zip {
  57. position: absolute;
  58. right: 1em;
  59. bottom: 1em;
  60. height: 4em;
  61. }
  62. .lg-zoom-in-out {
  63. .lg-item {
  64. // By default all slides should be hidden
  65. opacity: 0;
  66. will-change: transform, opacity;
  67. // For the zoom in transition, set scale3d to 2
  68. &.lg-prev-slide {
  69. transform: scale3d(2, 2, 2);
  70. }
  71. // For the zoom out transition, set scale3d to 0
  72. &.lg-next-slide {
  73. transform: scale3d(0, 0, 0);
  74. }
  75. // Reset opacity and transition
  76. &.lg-current {
  77. transform: scale3d(1, 1, 1);
  78. opacity: 1;
  79. }
  80. // Add CSS transition for opacity and transform
  81. &.lg-prev-slide,
  82. &.lg-next-slide,
  83. &.lg-current {
  84. transition: transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 1s
  85. ease 0s;
  86. }
  87. }
  88. }