Skip to content

Commit

Permalink
Merge pull request #2 from christopherkade/redesign
Browse files Browse the repository at this point in the history
Major design overhaul
  • Loading branch information
christopherkade committed Feb 6, 2019
2 parents 024114a + f306ce8 commit 136fe2b
Show file tree
Hide file tree
Showing 42 changed files with 439 additions and 1,589 deletions.
35 changes: 13 additions & 22 deletions assets/main.scss
@@ -1,33 +1,24 @@
@import '~bulma/sass/utilities/_all.sass';
$text-light: #282c34;
$text-dark: #f8f8f8;

/* $primary: #39393a; */
$primary: #3a445d;
$secondary: #ebf2fa;
$info: orange;
$highlight: #ef8354;
$background-light: #f8f8f8;
$background-dark: #282c35;

@import '~bulma/bulma';
$icon-light: #282c34;
$icon-dark: #f8f8f8;

$highlight-light: #a17891;
$highlight-dark: #c492b1;

html {
min-height: 100vh;
}

body {
font-family: 'Lato', sans-serif;
min-height: 100vh;
}

.page-enter-active,
.page-leave-active {
transition: opacity 0.5s;
}
.page-enter,
.page-leave-to {
opacity: 0;
font-family: 'Roboto', sans-serif;
margin: 0;
}

.aboutText {
color: #4a4a4a;
font-weight: 400;
line-height: 1.25;
button::-moz-focus-inner {
border: 0;
}
63 changes: 0 additions & 63 deletions components/About/Briefly.vue

This file was deleted.

72 changes: 0 additions & 72 deletions components/About/Hobbies.vue

This file was deleted.

116 changes: 0 additions & 116 deletions components/About/Workflow.vue

This file was deleted.

42 changes: 23 additions & 19 deletions components/Article.vue
@@ -1,11 +1,13 @@
<template>
<section class="article">
<span class="date">
{{ date }} -
</span>
<nuxt-link
:to="url"
class="articleTitle subtitle">{{ title }}</nuxt-link>
<h5>
<nuxt-link
:class="{ 'darkTheme': this.$store.state.isDark }"
:to="url"
class="article-title"
>{{ title }}</nuxt-link>
</h5>
<time class="article-date">{{ date }}</time>
</section>
</template>

Expand All @@ -25,27 +27,29 @@ export default {
}
</script>

<style>
<style lang="scss">
.article {
padding-top: 10px;
padding: 25px;
}
.articleTitle {
color: black;
.article-title {
text-decoration: none;
font-size: 1.75em;
color: #111111;
font-weight: bold;
}
.articleTitle:hover {
opacity: 0.5;
.article-title:hover {
opacity: 0.7;
}
.date {
opacity: 0.75;
font-size: 0.9em;
.article-date {
color: $highlight-light;
font-weight: bold;
font-size: 1.25em;
}
@media only screen and (max-width: 468px) {
.articleTitle {
font-size: 1em;
}
.darkTheme {
color: $text-dark;
}
</style>

0 comments on commit 136fe2b

Please sign in to comment.