projects.css 2.3 KB

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