Skip to content

Commit 89aebb8

Browse files
committed
Cleanup SCSS Lint warnings
1 parent 06a91e4 commit 89aebb8

File tree

11 files changed

+38
-45
lines changed

11 files changed

+38
-45
lines changed

_sass/basically-basic/_buttons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
cursor: pointer;
1616

1717
&:hover {
18-
color: #fff;
1918
background-color: tint($accent-color, 20%);
19+
color: #fff;
2020
}
2121

2222
&:focus {

_sass/basically-basic/_icons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
(linkedin, #0077b5),
2828
(pinterest, #bd081c),
2929
(rss, #ffa500),
30-
(soundcloud, #ff3300),
30+
(soundcloud, #f30),
3131
(stackoverflow, #fe7a16),
3232
(tumblr, #36465d),
3333
(twitter, #1da1f2),

_sass/basically-basic/_layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ main {
7878
.entry-content {
7979

8080
@include breakpoint($medium) {
81-
flex: 1;
8281
-ms-flex: 1;
82+
flex: 1;
8383
}
8484
}
8585

_sass/basically-basic/_navicons.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828

2929
.navicon::before,
3030
.navicon::after {
31-
transition: $navicon-duration/2;
31+
transition-duration: $navicon-duration / 2;
3232
}
3333

3434
&:hover {
35-
transition: $navicon-duration;
35+
transition-duration: $navicon-duration;
3636

3737
.navicon::before,
3838
.navicon::after {
39-
transition: $navicon-duration / 2;
39+
transition-duration: $navicon-duration / 2;
4040
}
4141

4242
.navicon::before { top: (2.5 * $navicon-height); }
@@ -48,7 +48,7 @@
4848
position: relative;
4949
width: $navicon-width;
5050
height: $navicon-height;
51-
transition: $navicon-duration;
51+
transition-duration: $navicon-duration;
5252
border-radius: $navicon-width;
5353
background: $navicon-content-bg;
5454

@@ -58,7 +58,7 @@
5858
position: absolute;
5959
width: $navicon-width;
6060
height: $navicon-height;
61-
transition: $navicon-duration $navicon-duration / 2;
61+
transition-duration: $navicon-duration $navicon-duration / 2;
6262
border-radius: $navicon-width;
6363
background: $navicon-content-bg;
6464
content: '';
@@ -76,7 +76,7 @@
7676

7777
.open .navicon::before,
7878
.open .navicon::after {
79-
transition: $navicon-duration;
79+
transition-duration: $navicon-duration;
8080
}
8181

8282
/* Minus */

_sass/basically-basic/_navigation.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
> li {
2828
-ms-flex: 1;
2929
flex: 1;
30-
-ms-flex-pack: justify;
3130
justify-content: space-between;
31+
-ms-flex-pack: justify;
3232
}
3333

3434
li + li {

_sass/basically-basic/_sidebar.scss

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
-ms-transform: translateX(0);
7373
transform: translateX(0);
7474

75-
&:after {
75+
&::after {
7676
opacity: 1;
7777
pointer-events: auto;
7878
}
@@ -112,9 +112,9 @@
112112
}
113113

114114
@include breakpoint($large) {
115+
max-width: (1.5 * $sidebar-width);
115116
-ms-transform: translateX(-1.5 * $sidebar-width);
116117
transform: translateX(-1.5 * $sidebar-width);
117-
max-width: (1.5 * $sidebar-width);
118118
}
119119
}
120120

@@ -145,15 +145,10 @@
145145
}
146146
}
147147

148-
149-
li {
150-
151-
}
152-
153148
.contact-list {
149+
@include fluid-type($min-vw, $max-vw, 18px, 24px);
154150
margin-top: 0.5rem;
155151
padding-top: 0.5rem;
156-
@include fluid-type($min-vw, $max-vw, 18px, 24px);
157152

158153
li:not(:last-child) {
159154
margin-bottom: 0.5rem;

_sass/basically-basic/_syntax-highlighting.scss

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
background-color: $code-background-color;
88

99
pre {
10-
margin: 0;
1110
width: 100%;
11+
margin: 0;
1212
}
1313

1414
table {
@@ -89,7 +89,7 @@
8989
.m { color: #2aa198; } /* Literal.Number */
9090
.s { color: #2aa198; } /* Literal.String */
9191
.na { color: #586e75; } /* Name.Attribute */
92-
.nb { color: #B58900; } /* Name.Builtin */
92+
.nb { color: #b58900; } /* Name.Builtin */
9393
.nc { color: #22b3eb; } /* Name.Class */
9494
.no { color: #cb4b16; } /* Name.Constant */
9595
.nd { color: #22b3eb; } /* Name.Decorator */
@@ -105,23 +105,23 @@
105105
.ow { color: #859900; } /* Operator.Word */
106106
.w { color: #586e75; } /* Text.Whitespace */
107107
.mf { color: #2aa198; } /* Literal.Number.Float */
108-
.mh { color: #2aa198 } /* Literal.Number.Hex */
109-
.mi { color: #2aa198 } /* Literal.Number.Integer */
110-
.mo { color: #2aa198 } /* Literal.Number.Oct */
111-
.sb { color: #93a1a1 } /* Literal.String.Backtick */
112-
.sc { color: #2aa198 } /* Literal.String.Char */
113-
.sd { color: #586e75 } /* Literal.String.Doc */
114-
.s2 { color: #2aa198 } /* Literal.String.Double */
115-
.se { color: #cb4b16 } /* Literal.String.Escape */
116-
.sh { color: #586e75 } /* Literal.String.Heredoc */
117-
.si { color: #2aa198 } /* Literal.String.Interpol */
118-
.sx { color: #2aa198 } /* Literal.String.Other */
119-
.sr { color: #dc322f } /* Literal.String.Regex */
120-
.s1 { color: #2aa198 } /* Literal.String.Single */
121-
.ss { color: #2aa198 } /* Literal.String.Symbol */
122-
.bp { color: #22b3eb } /* Name.Builtin.Pseudo */
123-
.vc { color: #22b3eb } /* Name.Variable.Class */
124-
.vg { color: #22b3eb } /* Name.Variable.Global */
125-
.vi { color: #22b3eb } /* Name.Variable.Instance */
126-
.il { color: #2aa198 } /* Literal.Number.Integer.Long */
108+
.mh { color: #2aa198; } /* Literal.Number.Hex */
109+
.mi { color: #2aa198; } /* Literal.Number.Integer */
110+
.mo { color: #2aa198; } /* Literal.Number.Oct */
111+
.sb { color: #93a1a1; } /* Literal.String.Backtick */
112+
.sc { color: #2aa198; } /* Literal.String.Char */
113+
.sd { color: #586e75; } /* Literal.String.Doc */
114+
.s2 { color: #2aa198; } /* Literal.String.Double */
115+
.se { color: #cb4b16; } /* Literal.String.Escape */
116+
.sh { color: #586e75; } /* Literal.String.Heredoc */
117+
.si { color: #2aa198; } /* Literal.String.Interpol */
118+
.sx { color: #2aa198; } /* Literal.String.Other */
119+
.sr { color: #dc322f; } /* Literal.String.Regex */
120+
.s1 { color: #2aa198; } /* Literal.String.Single */
121+
.ss { color: #2aa198; } /* Literal.String.Symbol */
122+
.bp { color: #22b3eb; } /* Name.Builtin.Pseudo */
123+
.vc { color: #22b3eb; } /* Name.Variable.Class */
124+
.vg { color: #22b3eb; } /* Name.Variable.Global */
125+
.vi { color: #22b3eb; } /* Name.Variable.Instance */
126+
.il { color: #2aa198; } /* Literal.Number.Integer.Long */
127127
}

_sass/basically-basic/themes/_default.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Default theme skin
33
========================================================================== */
44

5-
// Intentionally left blank
5+
// Intentionally left blank

_sass/basically-basic/themes/_steel.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
$base-color: #3a4750 !default;
77
$text-color: #303841 !default;
88
$accent-color: #d72323 !default;
9-
$background-color: #eeeeee !default;
9+
$background-color: #eee !default;
1010
$code-background-color: #fff !default;
1111
$border-color: rgba($text-color, 0.25) !default;
1212
$overlay-color: #fff !default;

_sass/basically-basic/utilities/_accessibility.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
}
4545

4646
.screen-reader-text:focus,
47-
.screen-reader-shortcut:focus,
48-
.genesis-nav-menu .search input[type="submit"]:focus,
49-
.widget_search input[type="submit"]:focus {
47+
.screen-reader-shortcut:focus {
5048
width: auto;
5149
height: auto;
5250
clip: auto !important;

0 commit comments

Comments
 (0)