_list.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .posts-group {
  2. display: block;
  3. margin-bottom: 1.9em;
  4. line-height: normal;
  5. .post-year {
  6. padding-top: 6px;
  7. margin-right: 1.8em;
  8. font-size: 1.6em;
  9. color: var(--c-txt-alt);
  10. &:hover {
  11. cursor: pointer;
  12. color: $accent;
  13. }
  14. }
  15. .posts-list {
  16. flex-grow: 1;
  17. margin: 0;
  18. padding: 0;
  19. list-style: none;
  20. }
  21. .post-item > a {
  22. display: flex;
  23. justify-content: space-between;
  24. align-items: baseline;
  25. padding: 12px 0;
  26. }
  27. .post-day {
  28. flex-shrink: 0;
  29. margin-left: 1em;
  30. color: var(--c-txt-alt);
  31. }
  32. }
  33. // Gallery Page
  34. //
  35. .album {
  36. margin-top: 2.5em;
  37. margin-bottom: 1em;
  38. }
  39. .album-title {
  40. margin-bottom: 0;
  41. font-weight: normal;
  42. > a {
  43. border: none;
  44. }
  45. }
  46. .album-info {
  47. display: inline-block;
  48. margin-top: .5em;
  49. margin-bottom: .8em;
  50. font-size: .8em;
  51. color: var(--c-txt-alt);
  52. }
  53. .album-row {
  54. display: flex;
  55. flex-wrap: wrap;
  56. gap: .5em;
  57. border: none!important;
  58. // &::after {
  59. // content: '';
  60. // display: block;
  61. // flex-grow: 10;
  62. // }
  63. }
  64. .img-tile {
  65. height: 100px;
  66. // flex: 1;
  67. & > img {
  68. max-height: 100%;
  69. min-width: 100%;
  70. object-fit: cover;
  71. vertical-align: bottom;
  72. }
  73. }