feat: added media queries for 2.5K and 4K screens (#1065)

This commit is contained in:
ahron1 2022-10-19 23:58:59 +05:30 committed by GitHub
parent ae407d3070
commit a42d226c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 3 deletions

View File

@ -203,7 +203,9 @@ module.exports = function (grunt) {
md: 'screen and (min-width: 48em)', // 768px
lg: 'screen and (min-width: 64em)', // 1024px
xl: 'screen and (min-width: 80em)', // 1280px
xxl: 'screen and (min-width: 120em)' // 1920px
xxl: 'screen and (min-width: 120em)', // 1920px
xxxl: 'screen and (min-width: 160em)', // 2560px
x4k: 'screen and (min-width: 240em)' // 3840px
}
}
}

View File

@ -567,6 +567,19 @@ function Grids() {
<td> <b>1920px</b></td>
<td><code>.pure-u-<b>xxl</b>-*</code></td>
</tr>
<tr>
<td className="highlight"><b><code>xxxl</code></b></td>
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 160em)</code></td>
<td> <b>2560px</b></td>
<td><code>.pure-u-<b>xxxl</b>-*</code></td>
</tr>
<tr>
<td className="highlight"><b><code>x4k</code></b></td>
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 240em)</code></td>
<td> <b>3840px</b></td>
<td><code>.pure-u-<b>x4k</b>-*</code></td>
</tr>
</tbody>
</table>
</div>

View File

@ -154,6 +154,18 @@ function Start() {
<td> <b>1920px</b></td>
<td><code>.pure-u-<b>xxl</b>-*</code></td>
</tr>
<tr>
<td className="highlight"><b><code>xxxl</code></b></td>
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 160em)</code></td>
<td> <b>2560px</b></td>
<td><code>.pure-u-<b>xxxl</b>-*</code></td>
</tr>
<tr>
<td className="highlight"><b><code>x4k</code></b></td>
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 240em)</code></td>
<td> <b>3840px</b></td>
<td><code>.pure-u-<b>x4k</b>-*</code></td>
</tr>
</tbody>
</table>
</div>

View File

@ -95,7 +95,9 @@ function Tools() {
md: 'screen and (min-width: 48em)', // 768px
lg: 'screen and (min-width: 64em)', // 1024px
xl: 'screen and (min-width: 80em)', // 1280px
xxl: 'screen and (min-width: 120em)' // 1920px
xxl: 'screen and (min-width: 120em)', // 1920px
xxxl: 'screen and (min-width: 160em)', // 2560px
x4k: 'screen and (min-width: 240em)' // 3840px
}
}
}
@ -130,7 +132,9 @@ function Tools() {
md: 'screen and (min-width: 48em)', // 768px
lg: 'screen and (min-width: 64em)', // 1024px
xl: 'screen and (min-width: 80em)', // 1280px
xxl: 'screen and (min-width: 120em)' // 1920px
xxl: 'screen and (min-width: 120em)', // 1920px
xxxl: 'screen and (min-width: 160em)' // 2560px
x4k: 'screen and (min-width: 240em)' // 3840px
}
})).toString();