Cleanup SCSS Lint warnings

This commit is contained in:
Michael Rose 2017-03-16 15:13:21 -04:00
parent 06a91e44b2
commit 89aebb82ec
11 changed files with 38 additions and 45 deletions

View File

@ -15,8 +15,8 @@
cursor: pointer;
&:hover {
color: #fff;
background-color: tint($accent-color, 20%);
color: #fff;
}
&:focus {

View File

@ -27,7 +27,7 @@
(linkedin, #0077b5),
(pinterest, #bd081c),
(rss, #ffa500),
(soundcloud, #ff3300),
(soundcloud, #f30),
(stackoverflow, #fe7a16),
(tumblr, #36465d),
(twitter, #1da1f2),

View File

@ -78,8 +78,8 @@ main {
.entry-content {
@include breakpoint($medium) {
flex: 1;
-ms-flex: 1;
flex: 1;
}
}

View File

@ -28,15 +28,15 @@
.navicon::before,
.navicon::after {
transition: $navicon-duration/2;
transition-duration: $navicon-duration / 2;
}
&:hover {
transition: $navicon-duration;
transition-duration: $navicon-duration;
.navicon::before,
.navicon::after {
transition: $navicon-duration / 2;
transition-duration: $navicon-duration / 2;
}
.navicon::before { top: (2.5 * $navicon-height); }
@ -48,7 +48,7 @@
position: relative;
width: $navicon-width;
height: $navicon-height;
transition: $navicon-duration;
transition-duration: $navicon-duration;
border-radius: $navicon-width;
background: $navicon-content-bg;
@ -58,7 +58,7 @@
position: absolute;
width: $navicon-width;
height: $navicon-height;
transition: $navicon-duration $navicon-duration / 2;
transition-duration: $navicon-duration $navicon-duration / 2;
border-radius: $navicon-width;
background: $navicon-content-bg;
content: '';
@ -76,7 +76,7 @@
.open .navicon::before,
.open .navicon::after {
transition: $navicon-duration;
transition-duration: $navicon-duration;
}
/* Minus */

View File

@ -27,8 +27,8 @@
> li {
-ms-flex: 1;
flex: 1;
-ms-flex-pack: justify;
justify-content: space-between;
-ms-flex-pack: justify;
}
li + li {

View File

@ -72,7 +72,7 @@
-ms-transform: translateX(0);
transform: translateX(0);
&:after {
&::after {
opacity: 1;
pointer-events: auto;
}
@ -112,9 +112,9 @@
}
@include breakpoint($large) {
max-width: (1.5 * $sidebar-width);
-ms-transform: translateX(-1.5 * $sidebar-width);
transform: translateX(-1.5 * $sidebar-width);
max-width: (1.5 * $sidebar-width);
}
}
@ -145,15 +145,10 @@
}
}
li {
}
.contact-list {
@include fluid-type($min-vw, $max-vw, 18px, 24px);
margin-top: 0.5rem;
padding-top: 0.5rem;
@include fluid-type($min-vw, $max-vw, 18px, 24px);
li:not(:last-child) {
margin-bottom: 0.5rem;

View File

@ -7,8 +7,8 @@
background-color: $code-background-color;
pre {
margin: 0;
width: 100%;
margin: 0;
}
table {
@ -89,7 +89,7 @@
.m { color: #2aa198; } /* Literal.Number */
.s { color: #2aa198; } /* Literal.String */
.na { color: #586e75; } /* Name.Attribute */
.nb { color: #B58900; } /* Name.Builtin */
.nb { color: #b58900; } /* Name.Builtin */
.nc { color: #22b3eb; } /* Name.Class */
.no { color: #cb4b16; } /* Name.Constant */
.nd { color: #22b3eb; } /* Name.Decorator */
@ -105,23 +105,23 @@
.ow { color: #859900; } /* Operator.Word */
.w { color: #586e75; } /* Text.Whitespace */
.mf { color: #2aa198; } /* Literal.Number.Float */
.mh { color: #2aa198 } /* Literal.Number.Hex */
.mi { color: #2aa198 } /* Literal.Number.Integer */
.mo { color: #2aa198 } /* Literal.Number.Oct */
.sb { color: #93a1a1 } /* Literal.String.Backtick */
.sc { color: #2aa198 } /* Literal.String.Char */
.sd { color: #586e75 } /* Literal.String.Doc */
.s2 { color: #2aa198 } /* Literal.String.Double */
.se { color: #cb4b16 } /* Literal.String.Escape */
.sh { color: #586e75 } /* Literal.String.Heredoc */
.si { color: #2aa198 } /* Literal.String.Interpol */
.sx { color: #2aa198 } /* Literal.String.Other */
.sr { color: #dc322f } /* Literal.String.Regex */
.s1 { color: #2aa198 } /* Literal.String.Single */
.ss { color: #2aa198 } /* Literal.String.Symbol */
.bp { color: #22b3eb } /* Name.Builtin.Pseudo */
.vc { color: #22b3eb } /* Name.Variable.Class */
.vg { color: #22b3eb } /* Name.Variable.Global */
.vi { color: #22b3eb } /* Name.Variable.Instance */
.il { color: #2aa198 } /* Literal.Number.Integer.Long */
.mh { color: #2aa198; } /* Literal.Number.Hex */
.mi { color: #2aa198; } /* Literal.Number.Integer */
.mo { color: #2aa198; } /* Literal.Number.Oct */
.sb { color: #93a1a1; } /* Literal.String.Backtick */
.sc { color: #2aa198; } /* Literal.String.Char */
.sd { color: #586e75; } /* Literal.String.Doc */
.s2 { color: #2aa198; } /* Literal.String.Double */
.se { color: #cb4b16; } /* Literal.String.Escape */
.sh { color: #586e75; } /* Literal.String.Heredoc */
.si { color: #2aa198; } /* Literal.String.Interpol */
.sx { color: #2aa198; } /* Literal.String.Other */
.sr { color: #dc322f; } /* Literal.String.Regex */
.s1 { color: #2aa198; } /* Literal.String.Single */
.ss { color: #2aa198; } /* Literal.String.Symbol */
.bp { color: #22b3eb; } /* Name.Builtin.Pseudo */
.vc { color: #22b3eb; } /* Name.Variable.Class */
.vg { color: #22b3eb; } /* Name.Variable.Global */
.vi { color: #22b3eb; } /* Name.Variable.Instance */
.il { color: #2aa198; } /* Literal.Number.Integer.Long */
}

View File

@ -2,4 +2,4 @@
Default theme skin
========================================================================== */
// Intentionally left blank
// Intentionally left blank

View File

@ -6,7 +6,7 @@
$base-color: #3a4750 !default;
$text-color: #303841 !default;
$accent-color: #d72323 !default;
$background-color: #eeeeee !default;
$background-color: #eee !default;
$code-background-color: #fff !default;
$border-color: rgba($text-color, 0.25) !default;
$overlay-color: #fff !default;

View File

@ -44,9 +44,7 @@
}
.screen-reader-text:focus,
.screen-reader-shortcut:focus,
.genesis-nav-menu .search input[type="submit"]:focus,
.widget_search input[type="submit"]:focus {
.screen-reader-shortcut:focus {
width: auto;
height: auto;
clip: auto !important;

View File

@ -43,8 +43,8 @@ a img.align-right {
.align-left,
a img.align-left {
margin-bottom: 1rem;
margin-right: 1rem;
margin-bottom: 1rem;
float: left;
}