mirror of https://github.com/msgbyte/tailchat
docs: upgrade homepage header style
parent
ed1055ac57
commit
32875f8a72
@ -1,71 +1,56 @@
|
|||||||
.homepage-header {
|
.homepage-header {
|
||||||
padding: 4rem 1rem 0;
|
padding: 4rem 1rem 0;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
@media (min-width: 997px) {
|
.header {
|
||||||
font-size: 3.75rem;
|
flex: 1;
|
||||||
height: 540px;
|
text-align: center;
|
||||||
padding-top: 0;
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main {
|
|
||||||
margin: auto;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
max-width: 80rem;
|
|
||||||
|
|
||||||
@media (min-width: 997px) {
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
.title {
|
||||||
flex: 1;
|
margin-bottom: 24px;
|
||||||
text-align: center;
|
font-size: 2.25rem;
|
||||||
|
line-height: 1;
|
||||||
|
font-weight: 900;
|
||||||
|
|
||||||
@media (min-width: 997px) {
|
@media (min-width: 997px) {
|
||||||
text-align: left;
|
font-size: 3.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
@media (min-width: 1300px) {
|
||||||
margin-bottom: 24px;
|
font-size: 5rem;
|
||||||
font-size: 2.25rem;
|
|
||||||
line-height: 1;
|
|
||||||
font-weight: 700;
|
|
||||||
|
|
||||||
@media (min-width: 997px) {
|
|
||||||
font-size: 3.75rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.desc {
|
.desc {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
color: rgb(153, 153, 153);
|
color: rgb(153, 153, 153);
|
||||||
font-size: 0.875rem;
|
font-size: 1rem;
|
||||||
line-height: 1.25rem;
|
line-height: 1.5;
|
||||||
|
|
||||||
@media (min-width: 997px) {
|
@media (min-width: 997px) {
|
||||||
font-size: 1rem;
|
font-size: 1.5rem;
|
||||||
line-height: 1.5rem;
|
|
||||||
max-width: 32rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.btns {
|
.btns {
|
||||||
margin-bottom: 32px;
|
margin-bottom: 1rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1rem;
|
justify-content: center;
|
||||||
|
gap: 1rem;
|
||||||
|
|
||||||
@media (min-width: 997px) {
|
@media (min-width: 997px) {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.screenshot {
|
.link {
|
||||||
flex: 1;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.screenshot {
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 51 KiB |
Binary file not shown.
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 49 KiB |
Loading…
Reference in New Issue