Skip to content

Commit

Permalink
change priority for transparent icon in cards
Browse files Browse the repository at this point in the history
  • Loading branch information
deborahniesz committed Aug 19, 2024
1 parent 712d34a commit bb3b179
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion docs/docusaurus/src/components/LinkCard/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
box-shadow: 0 3px 6px #00000029;

img {
background-color: transparent !important;
background-color: transparent;
}
}

46 changes: 23 additions & 23 deletions docs/docusaurus/src/theme/DocCard/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,35 @@ a.cardContainer {

color: var(--ifm-font-color-base);
text-decoration: none;

.cardTitle {
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 0.7rem;
}

.cardTitle img {
/* vertical-align: middle; */
max-height: 30px;
width: auto;

[data-theme='dark'] & {
background-color: transparent;
}
}

.cardDescription {
font-size: 0.8rem;
}
}

a.cardContainer:hover {
color: var(--ifm-font-color-base);
border-color: var(--ifm-color-primary);
box-shadow: 0 3px 6px 0 rgb(0 0 0 / 20%);
}

.cardContainer *:last-child {
margin-bottom: 0;
}

.cardTitle {
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 0.7rem;
}

.cardTitle img {
/* vertical-align: middle; */
max-height: 30px;
width: auto;

[data-theme='dark'] & {
background-color: transparent;
}
}

.cardDescription {
font-size: 0.8rem;
}

0 comments on commit bb3b179

Please sign in to comment.