Update vw to vmin

This commit is contained in:
John O'Nolan 2020-07-07 00:20:18 +07:00
parent 2756fc7b04
commit 92e0362927
8 changed files with 17 additions and 17 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,7 @@
.gh-canvas { .gh-canvas {
grid-template-columns: grid-template-columns:
[full-start] [full-start]
4vw 4vmin
[wide-start] [wide-start]
auto auto
[main-start] [main-start]
@ -32,7 +32,7 @@
[main-end] [main-end]
auto auto
[wide-end] [wide-end]
4vw 4vmin
[full-end] [full-end]
; ;
} }
@ -42,7 +42,7 @@
.gh-canvas { .gh-canvas {
grid-template-columns: grid-template-columns:
[full-start] [full-start]
4vw 4vmin
[wide-start] [wide-start]
0 0
[main-start] [main-start]
@ -50,7 +50,7 @@
[main-end] [main-end]
0 0
[wide-end] [wide-end]
4vw 4vmin
[full-end] [full-end]
; ;
} }
@ -143,7 +143,7 @@
} }
.gh-content blockquote::before { .gh-content blockquote::before {
left: -4vw; left: -4vmin;
} }
} }

View File

@ -5,7 +5,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 8vmin 4vw; padding: 8vmin 4vmin;
} }
.gh-foot .gh-container { .gh-foot .gh-container {

View File

@ -2,7 +2,7 @@
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.gh-head { .gh-head {
padding: 3vw 4vw; padding: 3vmin 4vmin;
font-size: 1.6rem; font-size: 1.6rem;
line-height: 1.3em; line-height: 1.3em;
background: inherit; background: inherit;
@ -62,7 +62,7 @@
} }
.gh-head-menu .nav li { .gh-head-menu .nav li {
margin: 0 1.5vw 0 0; margin: 0 1.5vmin 0 0;
padding: 0; padding: 0;
} }
@ -96,7 +96,7 @@
.gh-head-actions-list a:not([class]) { .gh-head-actions-list a:not([class]) {
display: inline-block; display: inline-block;
margin: 0 0 0 1.5vw; margin: 0 0 0 1.5vmin;
padding: 5px 0; padding: 5px 0;
} }
@ -204,7 +204,7 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
margin-left: 40px; margin-left: 40px;
} }
.gh-head-brandnav .gh-head-menu .nav li { .gh-head-brandnav .gh-head-menu .nav li {
margin: 0 0 0 1.5vw; margin: 0 0 0 1.5vmin;
padding: 0; padding: 0;
} }

View File

@ -80,10 +80,10 @@ form[data-members-form].success .message-success,
form[data-members-form].error .message-error { form[data-members-form].error .message-error {
position: fixed; position: fixed;
top: 20px; top: 20px;
left: 4vw; left: 4vmin;
right: 4vw; right: 4vmin;
z-index: 9999; z-index: 9999;
max-width: calc(1400px - 8vw); max-width: calc(1400px - 8vmin);
margin: 0 auto; margin: 0 auto;
padding: 10px 0; padding: 10px 0;
color: #fff; color: #fff;

View File

@ -2,7 +2,7 @@
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.gh-readmore { .gh-readmore {
padding: 8vmin 4vw; padding: 8vmin 4vmin;
font-size: 2.6rem; font-size: 2.6rem;
} }

View File

@ -43,7 +43,7 @@ html,
} }
.gh-page { .gh-page {
padding: 0 4vw; padding: 0 4vmin;
} }
.gh-article { .gh-article {