Formatting

This commit is contained in:
ekzyis 2023-11-08 03:43:17 +01:00
parent 0230182ef5
commit 0ed27167f7
3 changed files with 17 additions and 10 deletions

View File

@ -100,30 +100,37 @@ img {
width: 256px;
height: auto;
}
figcaption {
margin: 0.75em auto;
width: 256px;
}
.label {
width: fit-content;
margin: 1em auto;
padding: 0.5em 3em;
cursor: pointer;
}
.label:hover {
color: white;
}
.success {
background-color: rgba(20,158,97,.24);
background-color: rgba(20, 158, 97, .24);
color: #35df8d;
}
.success:hover {
background-color: #35df8d;
}
.error {
background-color: rgba(245,57,94,.24);
background-color: rgba(245, 57, 94, .24);
color: #ff7386;
}
.error:hover {
background-color: #ff7386;
}

View File

@ -10,7 +10,7 @@
</div>
<!-- eslint-enable -->
<div v-if="session.pubkey">
<div>authenticated as {{ session.pubkey.slice(0,8) }}</div>
<div>authenticated as {{ session.pubkey.slice(0, 8) }}</div>
<button class="my-3" @click="logout">logout</button>
</div>
</template>