make it pretty

This commit is contained in:
Chris Sexton 2019-10-27 22:28:49 -04:00
parent 2e472c4993
commit c790365a98
2 changed files with 15 additions and 5 deletions

View File

@ -1,8 +1,12 @@
<template> <template>
<div id="app"> <div id="app">
<b-navbar type="dark" variant="info">
<b-navbar-brand>Happy</b-navbar-brand>
</b-navbar>
<div v-show="err">{{err}}</div> <div v-show="err">{{err}}</div>
<user-info class="fixed-bottom userInfo"/> <user-info class="fixed-bottom userInfo"/>
<Chooser/> <h1 class="question">How are you?</h1>
<Chooser class="chooser"/>
</div> </div>
</template> </template>
@ -29,11 +33,17 @@
font-family: 'Avenir', Helvetica, Arial, sans-serif; font-family: 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50; color: #2c3e50;
margin-top: 60px; }
.chooser {
text-align: center;
} }
.userInfo { .userInfo {
text-align: center;
margin-bottom: 1em; margin-bottom: 1em;
} }
.question {
text-align: center;
padding-top: 1em;
}
</style> </style>

View File

@ -1,5 +1,5 @@
<template> <template>
<b-button v-on:click="click" variant="outline-primary" class="moodButton">{{mood.Key}}</b-button> <b-button v-on:click="click" variant="outline-info" class="moodButton">{{mood.Key}}</b-button>
</template> </template>
<script> <script>
@ -18,7 +18,7 @@
<style scoped> <style scoped>
.moodButton { .moodButton {
font-size: 24pt; font-size: 48pt;
margin: 1em; margin: 1em;
} }
</style> </style>