File cleanup

This commit is contained in:
Yves Gatesoupe 2020-07-16 23:34:37 +02:00
parent 86aaa72217
commit 87322c58f4
10 changed files with 9 additions and 51 deletions

View File

@ -103,15 +103,11 @@ module.exports = function(config) {
}
});
// Watch sass
// config.addWatchTarget("./src/scss/");
return {
dir: {
input: 'src',
output: 'dist'
},
passthroughFileCopy: true,
// pathPrefix: '/preprod' //TODO remove when prod
};
};

View File

@ -1,5 +1,3 @@
/* Form */
.home .form-container {
svg > path:first-child {
fill: #f1f0f6;
@ -64,7 +62,6 @@ textarea {
select {
background-image: url("data:image/svg+xml,%3Csvg width='32' height='48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 32l-7.794-12h15.588L23 32z' fill='%23333'/%3E%3C/svg%3E");
background-repeat: no-repeat;
/* arrow icon position (1em from the right, 50% vertical) , then gradient position*/
background-position: right 1.5rem top 50%;
background-size: 2rem 3rem;
-moz-appearance: none;
@ -103,7 +100,6 @@ legend {
}
.field-list__field-group {
// margin-bottom: 2rem;
transition: transform 150ms;
&__description {
@ -125,10 +121,6 @@ legend {
list-style: none;
margin: 0;
label {
// font-weight: normal;
}
.field-list__field-group__description {
margin: 0 0 0 1.35rem;
}

View File

@ -25,6 +25,10 @@
font-size: 2.5rem;
display: inline-block;
&::after {
display: none;
}
&--compact {
max-width: 20ex;
}

View File

@ -6,6 +6,10 @@
h1 {
font-size: 2rem;
&::after {
display: none;
}
}
.position {

View File

@ -1,8 +1,6 @@
.nav {
&__list {
overflow-x: auto;
// Add padding and neg margin to allow focus style visibility
padding: .5rem;
margin: -.5rem;
-webkit-overflow-scrolling: touch;

View File

@ -1,29 +0,0 @@
.pagination {
flex-wrap: wrap;
a {
color: var(--color-theme-primary);
&:not(:hover) {
text-decoration: none;
}
// Flip content if direction is backwards
&[data-direction='backwards'] {
flex-direction: row-reverse;
svg {
transform: rotate(-180deg);
}
}
// If only child and forwards, push out to the right
&[data-direction='forwards']:only-child {
margin-left: auto;
}
}
svg {
pointer-events: none;
}
}

View File

@ -73,8 +73,6 @@
video {
width: 100%;
max-width: map-get($metrics, 'wrap-max-width');
// margin-left: 50%; /*changing this value to 47% removes the horizontal scrollbar once the viewport is < 930px */
// transform: translateX (-50%); /* changing this value to 49% allows for the suggestion above to also eliminate the horizontal scroll. */
position: relative;
}

View File

@ -30,6 +30,7 @@
.footer-link {
color: var(--color-white);
font-weight: 600;
}
a {
@ -41,8 +42,4 @@
outline-color: var(--color-white);
}
}
&__credit {
// text-align: center;
}
}

View File

@ -1,4 +1,3 @@
// Hide skip link visually by default
.skip-link:not(:focus) {
@extend %visually-hidden;
}

View File

@ -16,7 +16,6 @@
height: 100%;
}
// If its bleeding out in a post, it needs more padding
.post & {
padding-top: 63%;
}