-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed compiled paragraph in blockquote
Update scss folder struc Renamed custom blockquote to quote Fixed more theme issues
- Loading branch information
Marvin Heilemann
committed
Jan 13, 2020
1 parent
d1943e8
commit 703e381
Showing
25 changed files
with
195 additions
and
86 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
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,13 +1,13 @@ | ||
import React from 'react' | ||
// import Img from 'gatsby-image' | ||
|
||
const Blockquote = ({ children, user }) => { | ||
const Quote = ({ children, user }) => { | ||
return ( | ||
<blockquote> | ||
<div className="quote"> | ||
<p>{children}</p> | ||
<footer>{user.name}</footer> | ||
</blockquote> | ||
</div> | ||
) | ||
} | ||
|
||
export default Blockquote | ||
export default Quote |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,41 @@ | ||
.quote { | ||
position: relative; | ||
margin: 0 0 var(--content-margin) 0; | ||
padding: var(--spacing-xxl) var(--spacing-xxl) calc(var(--spacing-xxl) - 5px); | ||
background: var(--color-10); | ||
font-family: var(--font-serif); | ||
z-index: 0; | ||
text-align: center; | ||
|
||
&::before { | ||
content: '"'; | ||
position: absolute; | ||
top: 0px; | ||
left: 20px; | ||
font-size: 200px; | ||
font-weight: var(--font-black); | ||
font-family: var(--font-serif); | ||
line-height: 1; | ||
z-index: -1; | ||
opacity: 0.1; | ||
} | ||
|
||
p { | ||
margin-bottom: 0; | ||
} | ||
|
||
footer { | ||
margin-top: var(--spacing-lg); | ||
text-transform: uppercase; | ||
letter-spacing: 1px; | ||
font-size: var(--text-sm); | ||
font-weight: var(--font-semi-bold); | ||
font-family: var(--font-sans); | ||
} | ||
} | ||
|
||
[theme='light'] { | ||
.quote { | ||
background: var(--color-02); | ||
} | ||
} |
File renamed without changes.
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 |
---|---|---|
|
@@ -27,3 +27,7 @@ | |
.cursor-help { | ||
cursor: help; | ||
} | ||
|
||
.text-center { | ||
text-align: center; | ||
} |
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
Oops, something went wrong.