Template:Experiences/cards.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
* { | |||
box-sizing: border-box; | |||
} | |||
Line 17: | Line 22: | ||
} | } | ||
Revision as of 13:06, 28 October 2024
.visualdata.datatable.cards td:before {
content: "" !important;
position: relative;
margin-left: 0;
margin-right: 1rem;
text-align: left;
color: gray;
font-weight: bold;
}
* {
box-sizing: border-box;
}
.visualdata.datatable.cards td[data-label="picture"] img {
border-bottom: 1px solid #ccc;
border-radius: 50%;
}
.visualdata.datatable.cards td[data-label="Name"] {
background: green;
border-bottom: 1px solid #ccc;
text-align: center;
}
.visualdata.datatable.cards td[data-label="Country"] {
background: yellow;
border-bottom: 1px solid #ccc;
text-align: center;
}
.visualdata.datatable.cards td[data-label="Project"] {
background: white;
border-bottom: 1px solid #ccc;
text-align: center;
}
.visualdata.datatable.cards td[data-label="Testimony"] {
background: purple;
border-bottom: 1px solid #ccc;
text-align: left;
}