-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from ChtiJS/fix/articleAndContent
fix(css modules): switching to css modules on contentBlock and article
- Loading branch information
Showing
5 changed files
with
29 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.root { | ||
padding: var(--vRythm) 0; | ||
} | ||
.root:not(:last-child) { | ||
border-bottom: var(--border) solid var(--dark); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@import "../layouts/variables.scss"; | ||
|
||
.root { | ||
background-color: var(--light); | ||
padding: calc(var(--vRythm) * 2) var(--gutter); | ||
} | ||
|
||
@media screen and (min-width: $CSS_BREAKPOINT_START_L) { | ||
.root { | ||
padding: calc(var(--vRythm) * 2) calc(var(--gutter) * 2); | ||
} | ||
} | ||
|
||
@media screen and (min-width: $CSS_BREAKPOINT_START_XL) { | ||
.root { | ||
padding: calc(var(--vRythm) * 3) calc(var(--gutter) * 8); | ||
} | ||
} |
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