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; cursor: pointer;
&:hover { &:hover {
color: #fff;
background-color: tint($accent-color, 20%); background-color: tint($accent-color, 20%);
color: #fff;
} }
&:focus { &:focus {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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