projects.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. .projects-section {
  2. .card {
  3. .card-header {
  4. background-color: get-light-color('bg-card');
  5. padding: 0.7rem;
  6. padding-bottom: 0rem;
  7. text-decoration: none;
  8. .card-img-xs {
  9. margin-right: 0.5rem;
  10. }
  11. .sub-title {
  12. color: get-light-color('muted-text-color');
  13. margin-top: 0.4rem;
  14. span {
  15. &:nth-child(1) {
  16. float: left;
  17. }
  18. &:nth-child(2) {
  19. float: right;
  20. }
  21. }
  22. }
  23. }
  24. .card-body {
  25. padding: 0.7rem;
  26. }
  27. }
  28. .filtr-projects {
  29. padding: 1rem !important;
  30. }
  31. .project-card-footer {
  32. display: flex;
  33. .badge {
  34. margin-left: 0.1em;
  35. margin-right: 0.1em;
  36. }
  37. }
  38. .project-tags-holder {
  39. width: 70%;
  40. }
  41. .project-btn-holder {
  42. width: 30%;
  43. display: flex;
  44. justify-content: flex-end;
  45. flex-direction: column;
  46. span {
  47. display: flex;
  48. justify-content: flex-end;
  49. }
  50. }
  51. @include media('<=large') {
  52. padding-left: 0;
  53. padding-right: 0;
  54. width: 100%;
  55. .container {
  56. max-width: 100%;
  57. }
  58. .filtr-projects {
  59. padding: 0;
  60. }
  61. .filtr-item {
  62. flex: 50%;
  63. padding-left: 0.2rem;
  64. padding-right: 0.2rem;
  65. max-width: calc(100% / 2 - 0.2rem);
  66. }
  67. }
  68. @include media('<=small') {
  69. .btn {
  70. margin-top: 0.3125rem;
  71. }
  72. .filtr-item {
  73. max-width: 100%;
  74. }
  75. }
  76. }
  77. html[data-theme='dark'] {
  78. .projects-section {
  79. .card {
  80. .card-header {
  81. background-color: get-dark-color('bg-card');
  82. .sub-title {
  83. color: get-dark-color('muted-text-color');
  84. }
  85. }
  86. }
  87. }
  88. }