1
0
Fork 0

fix styles

This commit is contained in:
Tommy Vedvik 2019-02-27 11:45:00 +01:00
parent 49f797a671
commit 648a1a59aa
3 changed files with 3 additions and 6 deletions

View file

@ -25,14 +25,12 @@ body {
} }
// Dark styles // Override variables for Dark style
.is-dark,
body[data-theme="dark"] { body[data-theme="dark"] {
--bg-color: #0D2538; --bg-color: #0D2538;
--bg-highlight-color: #0f2d44; --bg-highlight-color: #0f2d44;
--bg-code: rgba(0,0,0,.3); --bg-code: rgba(0,0,0,.3);
--border-color: rgba(255,255,255,.1);; --border-color: rgba(255,255,255,.1);;
--body-color: #ced8de; --body-color: #ced8de;
--title-color: #fff; --title-color: #fff;
} }

View file

@ -8,7 +8,7 @@
</h1> </h1>
<p class="author__intro"> <p class="author__intro">
A minimalistic and simple blog starter for Gridsome that uses Markdown for content. A hackable, minimalistic and simple blog starter for Gridsome that uses Markdown for content.
</p> </p>
<p class="author__links"> <p class="author__links">
@ -28,7 +28,7 @@ export default {
<style lang="scss"> <style lang="scss">
.author { .author {
margin: 0 auto; margin: 0 auto;
max-width: 400px; max-width: 500px;
text-align: center; text-align: center;
padding: calc(var(--space) / 2) 0; padding: calc(var(--space) / 2) 0;

View file

@ -16,6 +16,5 @@ export default {
<style lang="scss"> <style lang="scss">
.post-meta { .post-meta {
font-size: .8em; font-size: .8em;
opacity: .7;
} }
</style> </style>