Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major design overhaul #2

Merged
merged 1 commit into from Feb 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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>