Skip to content

Commit

Permalink
update styling #16
Browse files Browse the repository at this point in the history
  • Loading branch information
johnatawnclementawn committed Nov 26, 2024
1 parent 2c9b5f6 commit 056791d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,21 @@ const [schemeName, schemeDescription] = getDescriptors(
<template>
<RouterLink
:to="schemeURL"
style="text-align: center"
class="existing-scheme-card {"
>
<p>{{ schemeName }}</p>
<p>{{ schemeDescription }}</p>
</RouterLink>
</template>

<style scoped>
a {
.existing-scheme-card {
text-decoration: none;
color: var(--p-text-color);
width: inherit;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
</style>
19 changes: 11 additions & 8 deletions arches_lingo/src/arches_lingo/pages/SchemeList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ onMounted(async () => {
"
>
<!-- Create New Scheme -->
<li
class="scheme-card"
style="text-align: center"
>
<li class="scheme-card new-scheme-card">
Placeholder for creating new scheme
</li>
<!-- Existing Schemes -->
Expand All @@ -48,10 +45,16 @@ onMounted(async () => {
margin: 0.5rem;
padding: 1rem;
border: 0.0625rem solid var(--p-menubar-border-color);
min-width: 300px;
display: flex;
flex-direction: column;
justify-content: space-between;
background-color: var(--p-primary-400);
width: 15rem;
height: 15rem;
display: flex;
}
.scheme-card:hover {
background-color: var(--p-button-primary-hover-background);
cursor: pointer;
}
.new-scheme-card {
text-align: center;
}
</style>

0 comments on commit 056791d

Please sign in to comment.