projects.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. /* ============= Device specific fixes ======= */
  27. /* Large screens such as TV */
  28. @media only screen and (min-width: 1824px) {
  29. }
  30. /* Extra large devices (large desktops, 1200px and up) */
  31. @media (max-width: 1400px) {
  32. }
  33. @media (max-width: 1200px) {
  34. }
  35. /* IPad Pro */
  36. @media (max-width: 1024px) {
  37. .projects-section {
  38. padding-left: 0;
  39. padding-right: 0;
  40. width: 100%;
  41. }
  42. .projects-section .container {
  43. max-width: 100%;
  44. }
  45. .projects-section .filtr-projects {
  46. padding: 0;
  47. }
  48. .projects-section .filtr-item {
  49. padding-left: 0.2rem;
  50. padding-right: 0.2rem;
  51. }
  52. }
  53. /* Large devices (desktops, 992px and up) */
  54. @media (max-width: 992px) {
  55. }
  56. /* Medium devices (tablets, 768px and up) */
  57. @media only screen and (max-width: 768px) {
  58. .projects-section {
  59. padding-left: 0;
  60. padding-right: 0;
  61. width: 100%;
  62. }
  63. .projects-section .container {
  64. max-width: 100%;
  65. }
  66. .projects-section .filtr-projects {
  67. padding: 0;
  68. }
  69. .projects-section .filtr-item {
  70. padding-left: 0.2rem;
  71. padding-right: 0.2rem;
  72. flex: 50%;
  73. max-width: calc(100% / 2 - 0.2rem);
  74. }
  75. }
  76. /* Small devices (landscape phones, 576px and up) */
  77. @media only screen and (max-width: 576px) {
  78. .projects-section .btn {
  79. margin-top: 0.3125rem;
  80. }
  81. .projects-section .filtr-item {
  82. flex: 100%;
  83. max-width: 100%;
  84. }
  85. }
  86. /* iPhoneX, iPhone 6,7,8 */
  87. @media only screen and (max-width: 375px) {
  88. }
  89. /* Galaxy S5, Moto G4 */
  90. @media only screen and (max-width: 360px) {
  91. }
  92. /* iPhone 5 or before */
  93. @media only screen and (max-width: 320px) {
  94. }