From ac100de8d8e0fc85e34cde9aec6262259b12f96c Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Mon, 30 Dec 2024 21:53:48 +0100 Subject: [PATCH] style scoped locali --- 09 - deeper into components/cmp-adv-01-starting-setup/src/components/BadgeList.vue | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/09 - deeper into components/cmp-adv-01-starting-setup/src/components/BadgeList.vue b/09 - deeper into components/cmp-adv-01-starting-setup/src/components/BadgeList.vue new file mode 100644 index 0000000..1ef93c6 --- /dev/null +++ b/09 - deeper into components/cmp-adv-01-starting-setup/src/components/BadgeList.vue @@ -0,0 +1,39 @@ +<template> + <section> + <h2>Available Badges</h2> + <ul> + <li> + <base-badge type="admin" caption="ADMIN"></base-badge> + </li> + <li> + <base-badge type="author" caption="AUTHOR"></base-badge> + </li> + </ul> + </section> +</template> + +<style scoped> +section { + margin: 2rem auto; + max-width: 30rem; + border-radius: 12px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26); + padding: 1rem; +} + +section h2 { + margin: 0.5rem 0; + color: #3a3a3a; +} +ul { + list-style: none; + margin: 0; + padding: 0; + display: flex; + flex-direction: row; +} + +li { + margin-right: 1rem; +} +</style> \ No newline at end of file -- Gitblit v1.8.0