-
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.
changed my cv copy. New cvTypography component. More compact print st…
…yling.
- Loading branch information
vika03
committed
Nov 20, 2024
1 parent
6f4707a
commit 3dfaed8
Showing
9 changed files
with
431 additions
and
296 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import React, { Component } from 'react' | ||
|
||
export const Lead = ({ children }) => ( | ||
<> | ||
<p className="lead">{children}</p> | ||
|
||
{/*language=SCSS*/} | ||
<style jsx> | ||
{` | ||
.lead { | ||
font-size: 18px; | ||
margin-top: 0; | ||
margin-bottom: 0.6em; | ||
} | ||
@media screen and (min-width: 500px) { | ||
.lead { | ||
font-size: 22px; | ||
} | ||
} | ||
@media print { | ||
.lead { | ||
font-size: 16px; | ||
} | ||
} | ||
`} | ||
</style> | ||
</> | ||
) |
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.