forked from eddiesigner/liebling
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CSS to fix IOTA theme for: featured posts, article headings & …
…other minor details
- Loading branch information
1 parent
51300a2
commit 7cc9664
Showing
11 changed files
with
85 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ node_modules | |
|
||
.DS_Store | ||
.idea | ||
|
||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"arrowParens": "always", | ||
"trailingComma": "none", | ||
"semi": false, | ||
"bracketSpacing": true, | ||
"singleQuote": true, | ||
"printWidth": 130, | ||
"tabWidth": 4 | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,53 @@ | ||
.m-featured-slider { | ||
position: relative; | ||
overflow: hidden !important; | ||
height: 350px; | ||
margin: -40px -#{$mobile-space} 40px; | ||
@include transition(all .25s cubic-bezier(.02,.01,.47,1)); | ||
position: relative; | ||
overflow: hidden !important; | ||
height: 350px; | ||
margin: -40px -#{$mobile-space} 40px; | ||
@include transition(all 0.25s cubic-bezier(0.02, 0.01, 0.47, 1)); | ||
@include bs(var(--article-shadow-normal)); | ||
|
||
&:hover { | ||
@include respond-to('medium') { | ||
@include transform(translateY(-5px)); | ||
@include bs(var(--article-shadow-hover)); | ||
} | ||
} | ||
|
||
&:hover { | ||
@include respond-to('medium') { | ||
@include transform(translateY(-5px)); | ||
@include bs(var(--article-shadow-hover)); | ||
width: 100%; | ||
height: 420px; | ||
margin: -40px 10px 20px 10px; | ||
border-radius: 10px; | ||
} | ||
|
||
@include respond-to('large') { | ||
width: calc(100% - (100% / 3) - 40px); | ||
margin: 0 20px 40px 20px; | ||
overflow: unset; | ||
} | ||
} | ||
|
||
@include respond-to('medium') { | ||
width: 100%; | ||
height: 420px; | ||
margin: -40px 10px 20px 10px; | ||
border-radius: 10px; | ||
} | ||
|
||
@include respond-to('large') { | ||
width: calc(100% - (100% / 3) - 40px); | ||
margin: 0 20px 40px 20px; | ||
overflow: unset; | ||
} | ||
} | ||
|
||
.m-featured-slider:not(:root:root) { | ||
overflow: hidden !important; | ||
overflow: hidden !important; | ||
} | ||
|
||
.m-featured-slider__list { | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
height: 100%; | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
height: 100%; | ||
|
||
@include respond-to('medium') { | ||
border-radius: 10px; | ||
overflow: hidden; | ||
} | ||
@include respond-to('medium') { | ||
border-radius: 10px; | ||
overflow: hidden; | ||
} | ||
} | ||
|
||
.m-featured-slider__list__item { | ||
height: 100%; | ||
overflow: hidden; | ||
height: 100%; | ||
overflow: hidden; | ||
|
||
@include respond-to('medium') { | ||
border-radius: 10px; | ||
} | ||
@include respond-to('medium') { | ||
border-radius: 10px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters