Skip to content

Commit

Permalink
fix: sync Banner component with vuejs/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AloisSeckar committed Sep 5, 2024
1 parent 8b12d18 commit 8b1095c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .vitepress/theme/components/Banner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ html:not(.banner-dismissed) {
}
.banner-dismissed .banner {
position: absolute;
right: 0;
top: 0;
padding: 20px 10px;
display: none;
}
a:hover {
Expand All @@ -86,7 +83,7 @@ button {
position: absolute;
right: 0;
top: 0;
padding: 5px;
padding: 20px 10px;
}
.close {
Expand All @@ -95,13 +92,16 @@ button {
fill: #fff;
transform: rotate(45deg);
}
.vt-banner-text {
color: #fff;
font-size: 16px;
}
.vt-text-primary {
color: #75c05e;
}
.vt-primary-action {
background: #75c05e;
color: #121c1a;
Expand All @@ -116,6 +116,7 @@ button {
text-decoration: none;
background: #5a9f45;
}
@media (max-width: 1280px) {
.banner .vt-banner-text {
font-size: 14px;
Expand All @@ -124,6 +125,7 @@ button {
display: none;
}
}
@media (max-width: 780px) {
.vt-tagline {
display: none;
Expand All @@ -139,9 +141,10 @@ button {
display: none;
}
}
@media (max-width: 560px) {
.vt-place {
display: none;
}
}
</style>
</style>

0 comments on commit 8b1095c

Please sign in to comment.