Browse Source

fixed blockquote

dependabot/npm_and_yarn/acorn-5.7.4
rdrew 6 years ago
parent
commit
8f841fe208
  1. 19
      css/style.css
  2. 2
      css/style.css.map
  3. 23
      src/scss/_typography.scss

19
css/style.css

@ -1,3 +1,4 @@
@charset "UTF-8";
/* /*
* @file * @file
* Overall specifications for Magazine+. * Overall specifications for Magazine+.
@ -232,18 +233,18 @@ blockquote p {
p + blockquote { p + blockquote {
margin-top: 30px; } margin-top: 30px; }
blockquote:before {
content: '';
width: 170px;
height: 5px;
background-color: #f4f4f4;
position: absolute;
top: 0;
left: 0; }
blockquote p:first-child:before { blockquote p:first-child:before {
content: '- '; } content: '- '; }
blockquote p:first-child:before {
content: '“';
font-size: 3em;
/* line-height: 0em; */
vertical-align: baseline;
position: relative;
top: 0.4em;
color: #999; }
blockquote footer { blockquote footer {
font-style: normal; font-style: normal;
color: #2d2d2d; } color: #2d2d2d; }

2
css/style.css.map

File diff suppressed because one or more lines are too long

23
src/scss/_typography.scss

@ -239,17 +239,26 @@ p + blockquote {
margin-top: 30px; margin-top: 30px;
} }
blockquote:before { blockquote:before {
content: ''; //content: '';
width: 170px; //width: 170px;
height: 5px; //height: 5px;
background-color: #f4f4f4; //background-color: #f4f4f4;
position: absolute; //position: absolute;
top: 0; //top: 0;
left: 0; //left: 0;
} }
blockquote p:first-child:before { blockquote p:first-child:before {
content: '- '; content: '- ';
} }
blockquote p:first-child:before {
content: '';
font-size: 3em;
/* line-height: 0em; */
vertical-align: baseline;
position: relative;
top: 0.4em;
color: #999;
}
blockquote footer { blockquote footer {
font-style: normal; font-style: normal;
color: #2d2d2d; color: #2d2d2d;

Loading…
Cancel
Save