mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-15 10:07:33 +02:00
CSS revamp - Improve typography and overall styling (#757)
* Improve CSS code * Fix blog layout * Fix * Refactor onPageNav * More fixes * Fix docs nav * Use alternative hack * Tweak clearfix
This commit is contained in:
parent
169a5e6ded
commit
1094dbd352
18 changed files with 1474 additions and 1114 deletions
|
@ -45,7 +45,7 @@ class BlogPost extends React.Component {
|
|||
const post = this.props.post;
|
||||
const className =
|
||||
'authorPhoto' +
|
||||
(post.author && post.authorTitle ? ' authorPhoto-big' : '');
|
||||
(post.author && post.authorTitle ? ' authorPhotoBig' : '');
|
||||
if (post.authorFBID) {
|
||||
return (
|
||||
<div className={className}>
|
||||
|
@ -77,7 +77,7 @@ class BlogPost extends React.Component {
|
|||
renderTitle() {
|
||||
const post = this.props.post;
|
||||
return (
|
||||
<h1>
|
||||
<h1 className="postHeaderTitle">
|
||||
<a
|
||||
href={
|
||||
this.props.config.baseUrl +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue