Skip to content

Commit

Permalink
docs: sponsor text color
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-hxl committed Jul 31, 2024
1 parent 3057659 commit a714b38
Showing 1 changed file with 6 additions and 40 deletions.
46 changes: 6 additions & 40 deletions docs/.vitepress/theme/components/SponsorsAside.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,13 @@ const { frontmatter } = useData()
</template>

<style scoped>
.sponsor-container {
--max-width: 100%;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(var(--max-width), 1fr));
column-gap: 4px;
}
.sponsor-item {
margin: 2px 0;
padding: 10px 6px;
display: block;
border-radius: 2px;
a.sponsors-aside-text {
color: rgba(60, 60, 60, 0.5);
background-color: #f6f6f6;
}
.sponsor-item-img {
display: flex;
justify-content: space-around;
align-items: center;
}
.sponsor-item img {
max-width: calc(var(--max-width) - 30px);
max-height: calc(var(--max-width) / 2 - 20px);
}
.sponsor-item-description {
text-align: center;
font-size: 13px;
color: rgb(74, 74, 74);
}
.sponsor-item-action {
margin: 2px 0;
display: flex;
justify-content: space-around;
align-items: center;
border-radius: 2px;
height: 30px;
display: block;
margin: 3em 0 1em;
font-weight: 700;
font-size: 11px;
color: rgba(60, 60, 60, 0.5);
background-color: #f6f6f6;
text-transform: uppercase;
letter-spacing: 0.4px;
}
</style>

0 comments on commit a714b38

Please sign in to comment.