Fix CV layout colors: force transparent bg on links, inherit color on td/textarea
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 11m24s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-18 08:14:24 +01:00
parent 0b6ffedb70
commit c20b1c2691

View File

@@ -15,3 +15,56 @@ import { RouterView } from "vue-router";
color: #111; color: #111;
} }
</style> </style>
<style>
/* Reset global element styles within CV layout */
.cv-layout h1, .cv-layout h2, .cv-layout h3, .cv-layout h4 {
color: inherit;
font-family: inherit;
margin: 0;
}
.cv-layout p, .cv-layout small, .cv-layout code, .cv-layout ul, .cv-layout li {
color: inherit;
}
.cv-layout a {
color: inherit;
background-color: transparent !important;
font-family: inherit;
text-align: inherit;
letter-spacing: normal;
}
.cv-layout input, .cv-layout textarea {
color: inherit;
border-color: #ccc;
border-width: 1px;
padding: 0;
width: auto;
}
.cv-layout input::placeholder, .cv-layout textarea::placeholder {
color: #999;
opacity: 1;
}
.cv-layout table {
border-color: transparent;
border-width: 0;
color: inherit;
}
.cv-layout tr {
border-color: inherit;
color: inherit;
}
.cv-layout th {
border-right-width: 0;
border-style: none;
border-color: inherit;
padding: 0;
}
.cv-layout td {
padding: 0;
color: inherit;
}
.cv-layout textarea {
color: inherit;
background-color: white;
}
</style>