Guest User

Untitled

a guest
Nov 18th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. // Communities SCSS.
  2. // Make sure to use SASS pre-processor when adding to Jetpack Edit CSS.
  3.  
  4. #front-page-5 {
  5. h3.widgettitle {
  6. color: #eabc25;
  7. font-size: 6rem;
  8. font-weight: 300;
  9. margin: 0 auto;
  10. max-width: 1200px;
  11. padding: 50px 30px 0;
  12. text-transform: none;
  13. }
  14. .community-subheader {
  15. margin: 0 auto 10px;
  16. max-width: 1200px;
  17. padding: 1em 30px 50px;
  18. }
  19. }
  20.  
  21. .community-row {
  22. display: flex;
  23. .community-half {
  24. padding: 5% 6%;
  25. width: 50%;
  26. h2 {
  27. font-size: 3.6rem;
  28. font-weight: 400;
  29. margin: 0 0 60px 0;
  30. position: relative;
  31. a {
  32. color: #000;
  33. text-decoration: none;
  34. }
  35. }
  36. h2::after {
  37. background-color: #eabc25;
  38. content: '';
  39. display: block;
  40. height: 2px;
  41. position: relative;
  42. top: 30px;
  43. width: 90px;
  44. }
  45. p {
  46. font-size: 1.6rem;
  47. text-align: justify;
  48. a {
  49. display: block;
  50. font-weight: 600;
  51. text-decoration: none;
  52. }
  53. }
  54. }
  55. .community-half.no-padding {
  56. background-position: center center !important;
  57. background-size: cover !important;
  58. padding: 0;
  59. a {
  60. display: block;
  61. height: 100%;
  62. width: 100%;
  63. }
  64. }
  65. }
  66.  
  67. @media (max-width: 767px) {
  68. .community-row:nth-child(even) {
  69. .community-half.no-padding {
  70. order: 1;
  71. }
  72. .community-half {
  73. order: 2;
  74. }
  75. }
  76. .community-row {
  77. flex-wrap: wrap;
  78. .community-half {
  79. display: block;
  80. width: 100%;
  81. }
  82. .community-half.no-padding {
  83. position: relative;
  84. }
  85. .community-half.no-padding::after {
  86. content: '';
  87. display: block;
  88. padding-top: 68%;
  89. }
  90. }
  91. }
Add Comment
Please, Sign In to add comment