mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
31 lines
541 B
Vue
31 lines
541 B
Vue
<template>
|
|
<article class="base-card">
|
|
<slot />
|
|
</article>
|
|
</template>
|
|
|
|
<script>
|
|
export default {}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.base-card {
|
|
padding: $space-base;
|
|
border-radius: $border-radius-x-large;
|
|
overflow: hidden;
|
|
background-color: $color-neutral-100;
|
|
box-shadow: $box-shadow-base;
|
|
|
|
> .card-image {
|
|
width: calc(100% + (2 * #{$space-base}));
|
|
margin: -$space-base;
|
|
margin-bottom: $space-base;
|
|
font-size: $font-size-x-large;
|
|
}
|
|
|
|
> .card-heading {
|
|
margin-bottom: $space-x-small;
|
|
}
|
|
}
|
|
</style>
|