mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 09:13:19 +01:00
stylelint updates
This commit is contained in:
parent
b86afe15c8
commit
3cb9319a93
@ -9,6 +9,5 @@ insert_final_newline = true
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[{*.svg, *.scss, *.css}]
|
||||
[*.scss]
|
||||
indent_size = 4
|
||||
|
||||
|
@ -6,9 +6,6 @@
|
||||
"syntax": "scss",
|
||||
"rules": {
|
||||
"indentation": 4,
|
||||
"number-leading-zero": "never",
|
||||
"declaration-colon-space-after": "always-single-line",
|
||||
"declaration-colon-newline-after": "always-multi-line",
|
||||
"value-list-comma-newline-after": "always-multi-line"
|
||||
"number-leading-zero": "never"
|
||||
}
|
||||
}
|
||||
|
@ -5,8 +5,7 @@
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
display: block;
|
||||
box-shadow:
|
||||
0 3px 5px rgba($brand-main, .15),
|
||||
box-shadow: 0 3px 5px rgba($brand-main, .15),
|
||||
0 5px 16px rgba($brand-main, .15);
|
||||
|
||||
@media (min-width: $projectImageMaxWidth) {
|
||||
@ -16,8 +15,7 @@
|
||||
}
|
||||
|
||||
.dark & {
|
||||
box-shadow:
|
||||
0 3px 5px rgba(darken($brand-main, 20%), .15),
|
||||
box-shadow: 0 3px 5px rgba(darken($brand-main, 20%), .15),
|
||||
0 5px 16px rgba(darken($brand-main, 20%), .15);
|
||||
}
|
||||
}
|
||||
|
@ -40,8 +40,7 @@
|
||||
&:hover,
|
||||
&:focus {
|
||||
transform: translate3d(0, -.1rem, 0);
|
||||
box-shadow:
|
||||
0 6px 10px rgba($brand-main, .1),
|
||||
box-shadow: 0 6px 10px rgba($brand-main, .1),
|
||||
0 10px 25px rgba($brand-main, .1);
|
||||
}
|
||||
|
||||
|
@ -11,13 +11,11 @@ $breakpoint-project-nav: 45rem;
|
||||
|
||||
.project__nav__image {
|
||||
margin: 0;
|
||||
box-shadow:
|
||||
0 3px 5px rgba($brand-main, .15),
|
||||
box-shadow: 0 3px 5px rgba($brand-main, .15),
|
||||
0 5px 16px rgba($brand-main, .15);
|
||||
|
||||
.dark & {
|
||||
box-shadow:
|
||||
0 3px 5px rgba(darken($brand-main, 20%), .15),
|
||||
box-shadow: 0 3px 5px rgba(darken($brand-main, 20%), .15),
|
||||
0 5px 16px rgba(darken($brand-main, 20%), .15);
|
||||
}
|
||||
}
|
||||
@ -37,7 +35,8 @@ $breakpoint-project-nav: 45rem;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child { // stylelint-disable-line
|
||||
&:last-child {
|
||||
// stylelint-disable-line
|
||||
margin-left: $spacer / 2;
|
||||
|
||||
&:hover,
|
||||
|
@ -8,7 +8,8 @@
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
height: 300px;
|
||||
box-shadow: 0 3px 5px rgba($brand-main, .15), 0 5px 16px rgba($brand-main, .15);
|
||||
box-shadow: 0 3px 5px rgba($brand-main, .15),
|
||||
0 5px 16px rgba($brand-main, .15);
|
||||
margin-top: $spacer / 4;
|
||||
margin-bottom: $spacer / 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user