mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 14:29:36 +01:00
added blockquote styling
This commit is contained in:
parent
c752310aa0
commit
8bddd82ba5
@ -5,7 +5,6 @@ This is the repository for my personal blog/website [rickvanlieshout.com](https:
|
|||||||
## Todo
|
## Todo
|
||||||
|
|
||||||
- "time to read" (https://www.gatsbyjs.com/plugins/gatsby-remark-reading-time/)
|
- "time to read" (https://www.gatsbyjs.com/plugins/gatsby-remark-reading-time/)
|
||||||
- quote needs a visual indicator (like a line or quote mark) in front to show it's a quote
|
|
||||||
|
|
||||||
<!-- migrations -->
|
<!-- migrations -->
|
||||||
|
|
||||||
@ -17,4 +16,3 @@ This is the repository for my personal blog/website [rickvanlieshout.com](https:
|
|||||||
|
|
||||||
- release to sftp or gh-pages
|
- release to sftp or gh-pages
|
||||||
- lighthouse doesn't like the blue... :)
|
- lighthouse doesn't like the blue... :)
|
||||||
- url, id, title disqus
|
|
||||||
|
@ -78,15 +78,13 @@ img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
background-image: linear-gradient(
|
background-image: linear-gradient(to bottom,
|
||||||
to bottom,
|
transparent 1px,
|
||||||
transparent 1px,
|
transparent 11px,
|
||||||
transparent 11px,
|
$color-base 11px,
|
||||||
$color-base 11px,
|
$color-base 15px,
|
||||||
$color-base 15px,
|
transparent 15px,
|
||||||
transparent 15px,
|
transparent 26px);
|
||||||
transparent 26px
|
|
||||||
);
|
|
||||||
background-size: 100% 26px;
|
background-size: 100% 26px;
|
||||||
border: 0;
|
border: 0;
|
||||||
color: $color-base;
|
color: $color-base;
|
||||||
@ -128,11 +126,32 @@ p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
|
border-color: #d9d9d9;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 2px 0;
|
||||||
|
display: block;
|
||||||
|
// border-color: #eee;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
padding: 0;
|
margin: 1.5em 0;
|
||||||
|
padding: 1.5em 0 0.5em;
|
||||||
|
position: relative;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blockquote:before {
|
||||||
|
background: $color-bg;
|
||||||
|
color: $color-gray;
|
||||||
|
content: "\201C";
|
||||||
|
font: 4em/1.08em ubuntu;
|
||||||
|
height: 2rem;
|
||||||
|
left: 50%;
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
top: 0em;
|
||||||
|
transform: translate(-50%, -75%);
|
||||||
|
width: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
display: block;
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
@ -150,6 +169,7 @@ figcaption {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint-sm {
|
@include breakpoint-sm {
|
||||||
|
|
||||||
figure.float-left,
|
figure.float-left,
|
||||||
figure.float-right {
|
figure.float-right {
|
||||||
max-width: 310px;
|
max-width: 310px;
|
||||||
|
Loading…
Reference in New Issue
Block a user