mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
77 lines
No EOL
1.5 KiB
HTML
77 lines
No EOL
1.5 KiB
HTML
<div class="card">
|
|
<div class="card__title">table</div>
|
|
<div class="card__data">
|
|
<div class="card__right">
|
|
<div class="item">id</div>
|
|
<div class="item">name</div>
|
|
<div class="item">date</div>
|
|
<div class="item">active</div>
|
|
</div>
|
|
<div class="card__left">
|
|
<div class="item">int</div>
|
|
<div class="item">varchar</div>
|
|
<div class="item">datetime</div>
|
|
<div class="item">boolean</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
/* From Uiverse.io by Rodrypaladin - Tags: minimalist, black, card, dark, product, custom, creative */
|
|
.card {
|
|
width: 250px;
|
|
background: rgb(44, 44, 44);
|
|
font-family: "Courier New", Courier, monospace;
|
|
border-top-left-radius: 12px;
|
|
border-top-right-radius: 12px;
|
|
border-bottom-left-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card__title {
|
|
color: white;
|
|
font-weight: bold;
|
|
padding: 5px 10px;
|
|
border-bottom: 1px solid rgb(167, 159, 159);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.card__data {
|
|
font-size: 0.8rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-right: 1px solid rgb(203, 203, 203);
|
|
border-left: 1px solid rgb(203, 203, 203);
|
|
border-bottom: 1px solid rgb(203, 203, 203);
|
|
}
|
|
|
|
.card__right {
|
|
width: 60%;
|
|
border-right: 1px solid rgb(203, 203, 203);
|
|
}
|
|
|
|
.card__left {
|
|
width: 40%;
|
|
text-align: end;
|
|
}
|
|
|
|
.item {
|
|
padding: 3px 0;
|
|
background-color: white;
|
|
}
|
|
|
|
.card__right .item {
|
|
padding-left: 0.8em;
|
|
}
|
|
|
|
.card__left .item {
|
|
padding-right: 0.8em;
|
|
}
|
|
|
|
.item:nth-child(even) {
|
|
background: rgb(234, 235, 234);
|
|
}
|
|
|
|
</style>
|
|
|