projects.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. }
  34. .project-tags-holder {
  35. width: 70%;
  36. }
  37. .project-btn-holder {
  38. width: 30%;
  39. display: flex;
  40. justify-content: flex-end;
  41. flex-direction: column;
  42. span {
  43. display: flex;
  44. justify-content: flex-end;
  45. }
  46. }
  47. @include media('<=large') {
  48. padding-left: 0;
  49. padding-right: 0;
  50. width: 100%;
  51. .container {
  52. max-width: 100%;
  53. }
  54. .filtr-projects {
  55. padding: 0;
  56. }
  57. .filtr-item {
  58. flex: 50%;
  59. padding-left: 0.2rem;
  60. padding-right: 0.2rem;
  61. max-width: calc(100% / 2 - 0.2rem);
  62. }
  63. }
  64. @include media('<=small') {
  65. .btn {
  66. margin-top: 0.3125rem;
  67. }
  68. .filtr-item {
  69. max-width: 100%;
  70. }
  71. }
  72. }
  73. html[data-theme='dark'] {
  74. .projects-section {
  75. .card {
  76. .card-header {
  77. background-color: get-dark-color('bg-card');
  78. .sub-title {
  79. color: get-dark-color('muted-text-color');
  80. }
  81. }
  82. }
  83. }
  84. }