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

View File

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

View File

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

View File

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

View File

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

View File

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