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