doc: update home style.

This commit is contained in:
jaywcjlove
2022-09-29 09:43:25 +08:00
parent 9865014655
commit bd2697f3ee
2 changed files with 39 additions and 0 deletions

View File

@ -187,6 +187,35 @@ body.home .h1wrap p {
--bg-opacity: 1;
}
.home-title-reset {
padding-right: 0 !important;
}
.home-title-reset::after {
width: initial !important;
}
a.home-button {
padding-left: 1.5rem;
padding-right: 1.5rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
border-radius: 9999px;
line-height: 1.75rem;
margin-left: 1rem;
margin-right: 1rem;
--bg-opacity: 1;
background-color: rgb(10 147 102/var(--bg-opacity));
--text-opacity: 1;
color: rgb(203 213 225/var(--text-opacity));
}
a.home-button:hover {
--bg-opacity: 0.5;
}
a.text-grey {
--bg-opacity: 1;
background-color: rgb(56 76 109/var(--bg-opacity));
}
.header-nav .max-container {
padding-top: 1.8rem;
}