style.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. .flex-container-1-2-3-4 {
  2. display: flex;
  3. flex-direction: row;
  4. justify-content: space-between;
  5. }
  6. .flex-container-1-2 {
  7. display: flex;
  8. flex-direction: row;
  9. justify-content: space-between;
  10. width: 50%;
  11. }
  12. .flex-block-1-2 {
  13. background: #DCDCDC;
  14. padding: 15px;
  15. width: 48%;
  16. font-size: 20px;
  17. }
  18. .flex-container-3-4 {
  19. display: flex;
  20. flex-direction: row;
  21. justify-content: space-between;
  22. width: 50%;
  23. }
  24. .flex-block-3-4 {
  25. background: #DCDCDC;
  26. padding: 15px;
  27. width: 48%;
  28. font-size: 20px;
  29. }
  30. .flex-container-5-6 {
  31. display: flex;
  32. flex-direction: row;
  33. justify-content: space-between;
  34. margin-top: 15px;
  35. }
  36. .flex-block-5-6 {
  37. background: #DCDCDC;
  38. padding: 15px;
  39. font-size: 20px;
  40. width: 48%;
  41. }
  42. article {
  43. margin: 15px;
  44. box-sizing: border-box;
  45. }
  46. @media screen and (max-width: 1280px ) {
  47. .flex-container-1-2 {
  48. flex-direction: column-reverse;
  49. align-content: space-between;
  50. margin-right: 20px;
  51. }
  52. .flex-block-1-2 {
  53. width: 100%;
  54. }
  55. /*article.flex-block-1-2:first-child {
  56. order: 5;
  57. }*/
  58. .flex-container-5-6 {
  59. flex-direction: column;
  60. align-content: space-between;
  61. }
  62. .flex-block-5-6 {
  63. width: 100%;
  64. }
  65. }
  66. @media screen and (max-width: 375px) {
  67. .flex-container-1-2-3-4 {
  68. flex-direction: column;
  69. align-content: space-between;
  70. }
  71. .flex-container-1-2 {
  72. flex-direction: column;
  73. align-content: space-between;
  74. width: 100%;
  75. }
  76. article.flex-block-1-2:first-child {
  77. order: 0;
  78. }
  79. .flex-container-3-4 {
  80. flex-direction: column;
  81. align-content: space-between;
  82. width: 100%;
  83. }
  84. .flex-block-3-4 {
  85. width: 100%;
  86. }
  87. .flex-container-5-6 {
  88. flex-direction: column;
  89. align-content: space-between;
  90. }
  91. .flex-block-5-6 {
  92. width: 100%;
  93. }
  94. }