projects.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. .projects-section {
  2. .card .card-header {
  3. background-color: #f9fafc;
  4. padding: 0.7rem;
  5. padding-bottom: 0rem;
  6. text-decoration: none;
  7. }
  8. .card .card-img-xs {
  9. margin-right: 0.5rem;
  10. }
  11. .card .card-header .sub-title span:nth-child(1) {
  12. float: left;
  13. }
  14. .card .card-header .sub-title span:nth-child(2) {
  15. float: right;
  16. }
  17. .card .card-body {
  18. padding: 0.7rem;
  19. }
  20. .card .card-header .sub-title {
  21. color: #8392a5;
  22. margin-top: 0.4rem;
  23. }
  24. .filtr-projects {
  25. padding: 1rem !important;
  26. }
  27. .project-card-footer {
  28. display: flex;
  29. }
  30. .project-tags-holder {
  31. width: 70%;
  32. }
  33. .project-btn-holder {
  34. width: 30%;
  35. display: flex;
  36. justify-content: flex-end;
  37. flex-direction: column;
  38. }
  39. .project-btn-holder span {
  40. justify-content: flex-end;
  41. display: flex;
  42. }
  43. /* ============= Device specific fixes ======= */
  44. /* Large screens such as TV */
  45. @media only screen and (min-width: 1824px) {
  46. }
  47. /* Extra large devices (large desktops, 1200px and up) */
  48. @media (max-width: 1400px) {
  49. }
  50. @media (max-width: 1200px) {
  51. }
  52. /* IPad Pro */
  53. @media (max-width: 1024px) {
  54. padding-left: 0;
  55. padding-right: 0;
  56. width: 100%;
  57. .container {
  58. max-width: 100%;
  59. }
  60. .filtr-projects {
  61. padding: 0;
  62. }
  63. .filtr-item {
  64. padding-left: 0.2rem;
  65. padding-right: 0.2rem;
  66. }
  67. }
  68. /* Large devices (desktops, 992px and up) */
  69. @media (max-width: 992px) {
  70. }
  71. /* Medium devices (tablets, 768px and up) */
  72. @media only screen and (max-width: 768px) {
  73. padding-left: 0;
  74. padding-right: 0;
  75. width: 100%;
  76. .container {
  77. max-width: 100%;
  78. }
  79. .filtr-projects {
  80. padding: 0;
  81. }
  82. .filtr-item {
  83. padding-left: 0.2rem;
  84. padding-right: 0.2rem;
  85. flex: 50%;
  86. max-width: calc(100% / 2 - 0.2rem);
  87. }
  88. }
  89. /* Small devices (landscape phones, 576px and up) */
  90. @media only screen and (max-width: 576px) {
  91. .btn {
  92. margin-top: 0.3125rem;
  93. }
  94. .filtr-item {
  95. flex: 100%;
  96. max-width: 100%;
  97. }
  98. }
  99. /* iPhoneX, iPhone 6,7,8 */
  100. @media only screen and (max-width: 375px) {
  101. }
  102. /* Galaxy S5, Moto G4 */
  103. @media only screen and (max-width: 360px) {
  104. }
  105. /* iPhone 5 or before */
  106. @media only screen and (max-width: 320px) {
  107. }
  108. }