dashboard.css
202 lines
| 1 | .gblocks-sub-navigation { |
| 2 | display: flex; |
| 3 | justify-content: center; |
| 4 | margin-top: 10px; |
| 5 | } |
| 6 | |
| 7 | .gblocks-sub-navigation a.button { |
| 8 | margin: 4px; |
| 9 | } |
| 10 | |
| 11 | .gblocks-dashboard-intro-content { |
| 12 | padding: 60px; |
| 13 | font-size: 30px; |
| 14 | line-height: 1.8; |
| 15 | text-align: center; |
| 16 | margin: 0 auto; |
| 17 | max-width: 700px; |
| 18 | } |
| 19 | |
| 20 | .gblocks-dashboard-intro-image { |
| 21 | width: 50%; |
| 22 | text-align: center; |
| 23 | } |
| 24 | |
| 25 | .gblocks-dashboard-blocks { |
| 26 | display: flex; |
| 27 | flex-wrap: wrap; |
| 28 | justify-content: center; |
| 29 | max-width: 1300px; |
| 30 | margin-left: auto; |
| 31 | margin-right: auto; |
| 32 | } |
| 33 | |
| 34 | .gblocks-block { |
| 35 | padding: 40px; |
| 36 | background: #fff; |
| 37 | background-image: linear-gradient(180deg, #fff 50%, rgba(0,0,0,0.02)); |
| 38 | display: flex; |
| 39 | flex-direction: column; |
| 40 | width: 21%; |
| 41 | box-sizing: border-box; |
| 42 | margin: 0 2% 4%; |
| 43 | border-bottom: 2px solid #ddd; |
| 44 | border-right: 2px solid #ddd; |
| 45 | } |
| 46 | |
| 47 | .gblocks-block svg { |
| 48 | width: 75px; |
| 49 | height: 75px; |
| 50 | color: #006eb7; |
| 51 | } |
| 52 | |
| 53 | .gblocks-block > *:last-child { |
| 54 | margin-bottom: 0; |
| 55 | } |
| 56 | |
| 57 | .gblocks-block h3 { |
| 58 | margin-top: 30px; |
| 59 | font-size: 20px; |
| 60 | } |
| 61 | |
| 62 | .gblocks-block p { |
| 63 | font-size: 15px; |
| 64 | margin: 0 0 1em; |
| 65 | } |
| 66 | |
| 67 | .gblocks-button { |
| 68 | margin-top: auto; |
| 69 | background: #fff; |
| 70 | border: 1px solid; |
| 71 | flex-grow: 0; |
| 72 | padding: 15px 20px; |
| 73 | text-decoration: none; |
| 74 | color: #000; |
| 75 | font-size: 20px; |
| 76 | align-self: flex-start; |
| 77 | transition: color 500ms ease; |
| 78 | } |
| 79 | |
| 80 | .gblocks-generatepress { |
| 81 | background: #fff; |
| 82 | padding: 60px; |
| 83 | } |
| 84 | |
| 85 | .gblocks-inside-generatepress { |
| 86 | display: flex; |
| 87 | max-width: 1200px; |
| 88 | margin: 0 auto; |
| 89 | align-items: center; |
| 90 | } |
| 91 | |
| 92 | .gblocks-generatepress-content { |
| 93 | width: 50%; |
| 94 | } |
| 95 | |
| 96 | .gblocks-generatepress-content h2 { |
| 97 | font-size: 40px; |
| 98 | line-height: 1.5em; |
| 99 | font-weight: 300; |
| 100 | margin-top: 0; |
| 101 | } |
| 102 | |
| 103 | .gblocks-generatepress-content p { |
| 104 | font-size: 17px; |
| 105 | line-height: 1.8; |
| 106 | } |
| 107 | |
| 108 | .gblocks-generatepress-content .stats { |
| 109 | display: flex; |
| 110 | font-size: 15px; |
| 111 | line-height: 1.6; |
| 112 | margin-top: 20px; |
| 113 | margin-bottom: 20px; |
| 114 | } |
| 115 | |
| 116 | .gblocks-generatepress-content .stats > * { |
| 117 | padding-right: 30px; |
| 118 | } |
| 119 | |
| 120 | .gblocks-generatepress-content .stats strong { |
| 121 | font-size: 20px; |
| 122 | } |
| 123 | |
| 124 | .gblocks-generatepress-image { |
| 125 | width: 50%; |
| 126 | display: flex; |
| 127 | align-items: center; |
| 128 | justify-content: center; |
| 129 | } |
| 130 | |
| 131 | .gblocks-generatepress-content .gblocks-button { |
| 132 | color: #006eb7; |
| 133 | display: inline-block; |
| 134 | margin-top: 10px; |
| 135 | } |
| 136 | |
| 137 | .gblocks-generatepress-content .gblocks-button:hover { |
| 138 | color: #000; |
| 139 | } |
| 140 | |
| 141 | .gblocks-getting-started { |
| 142 | padding: 0 60px 60px; |
| 143 | text-align: center; |
| 144 | } |
| 145 | |
| 146 | .gblocks-getting-started img { |
| 147 | display: block; |
| 148 | margin: 0 auto; |
| 149 | } |
| 150 | |
| 151 | .gblocks-getting-started p { |
| 152 | font-size: 20px; |
| 153 | max-width: 450px; |
| 154 | margin: 0 auto; |
| 155 | } |
| 156 | |
| 157 | .gblocks-getting-started p:first-child:before { |
| 158 | content: ""; |
| 159 | display: block; |
| 160 | height: 1px; |
| 161 | width: 150px; |
| 162 | background: #d8e2e4; |
| 163 | margin: 0 auto 40px; |
| 164 | } |
| 165 | |
| 166 | @media (max-width: 1180px){ |
| 167 | .gblocks-inside-generatepress { |
| 168 | flex-wrap: wrap; |
| 169 | } |
| 170 | |
| 171 | .gblocks-generatepress-content { |
| 172 | width: 100%; |
| 173 | } |
| 174 | |
| 175 | .gblocks-generatepress-image { |
| 176 | width: 100%; |
| 177 | order: -1; |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | @media (max-width: 1000px) { |
| 182 | .gblocks-block { |
| 183 | width: 46%; |
| 184 | margin: 0 2% 4%; |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | @media (max-width: 520px) { |
| 189 | .gblocks-block { |
| 190 | width: 96%; |
| 191 | margin: 1% 2%; |
| 192 | } |
| 193 | |
| 194 | .gblocks-getting-started img { |
| 195 | max-width: 100%; |
| 196 | } |
| 197 | |
| 198 | .gblocks-generatepress-content .stats { |
| 199 | flex-wrap: wrap; |
| 200 | } |
| 201 | } |
| 202 |