Skip to content

Commit

Permalink
Created container class for generic page styling
Browse files Browse the repository at this point in the history
  • Loading branch information
KronemeyerJoshua committed Jul 25, 2024
1 parent 056084b commit e798b4b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 38 deletions.
14 changes: 14 additions & 0 deletions src/assets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,17 @@ body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.container {
background-color: $primary;
border: 1px solid $accent;
width: 100%;
padding-left: 6rem;
padding-right: 6rem;
padding-top: 1rem;
padding-bottom: 1rem;
border-radius: 5px;
box-shadow:
0 4px 8px 0 rgba(0, 0, 0, 0.2),
0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
20 changes: 1 addition & 19 deletions src/components/Contact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defineProps<{
</script>

<template>
<div class="row contact">
<div class="row container">
<div class="col-4">
<q-avatar size="20rem">
<img src="@/assets/img/avatar_main.jpg" />
Expand All @@ -34,21 +34,3 @@ defineProps<{
</div>
</div>
</template>

<style scoped lang="scss">
@import '../quasar-variables.sass';
.contact {
background-color: $primary;
border: 1px solid $accent;
width: 100%;
padding-left: 6rem;
padding-right: 6rem;
padding-top: 1rem;
padding-bottom: 1rem;
border-radius: 5px;
box-shadow:
0 4px 8px 0 rgba(0, 0, 0, 0.2),
0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
</style>
15 changes: 0 additions & 15 deletions src/components/ResumeTimeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,4 @@ function formatDate(date: Date | undefined): string {
.list ul li {
color: white;
}
.timeline-box {
color: white;
background-color: $primary;
border: 1px solid $accent;
width: 100%;
padding-left: 6rem;
padding-right: 6rem;
padding-top: 1rem;
padding-bottom: 1rem;
border-radius: 5px;
box-shadow:
0 4px 8px 0 rgba(0, 0, 0, 0.2),
0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
</style>
8 changes: 5 additions & 3 deletions src/views/ProjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ onBeforeMount(() => {
</script>

<template>
<div>{{ projectSelected?.name }}</div>
<div>{{ projectSelected?.company }}</div>
<div>{{ projectSelected?.description }}</div>
<div class="container">
<div>{{ projectSelected?.name }}</div>
<div>{{ projectSelected?.company }}</div>
<div>{{ projectSelected?.description }}</div>
</div>
</template>
2 changes: 1 addition & 1 deletion src/views/ResumeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import ResumeTimeline from '@/components/ResumeTimeline.vue'
</script>

<template>
<div class="">
<div class="container">
<ResumeTimeline :resumeEntries="allResumeEntries" />
</div>
</template>
Expand Down

0 comments on commit e798b4b

Please sign in to comment.