projects.css 2.0 KB

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