Skip to content

Commit ad03cab

Browse files
committed
enhance site header layout and responsiveness
1 parent bfb9ce2 commit ad03cab

1 file changed

Lines changed: 40 additions & 2 deletions

File tree

docs/styles.css

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,14 +766,46 @@ p {
766766
grid-template-columns: 1fr;
767767
}
768768

769+
.site-header {
770+
flex-wrap: nowrap;
771+
align-items: center;
772+
gap: 12px;
773+
padding: 14px 16px;
774+
}
775+
776+
.brand {
777+
min-width: 0;
778+
flex: 1 1 auto;
779+
gap: 10px;
780+
font-size: 1rem;
781+
}
782+
783+
.brand img {
784+
width: 36px;
785+
height: 36px;
786+
}
787+
788+
.brand span {
789+
min-width: 0;
790+
overflow: hidden;
791+
text-overflow: ellipsis;
792+
white-space: nowrap;
793+
}
794+
769795
.header-actions {
770-
width: 100%;
796+
width: auto;
797+
margin-left: auto;
798+
flex: 0 0 auto;
799+
flex-wrap: nowrap;
771800
}
772801

773802
.header-actions .button {
774-
flex: 1 1 0;
803+
flex: 0 0 auto;
804+
min-height: 46px;
805+
padding-inline: 16px;
775806
}
776807

808+
777809
.hero {
778810
padding-top: 48px;
779811
}
@@ -822,3 +854,9 @@ p {
822854
text-align: left;
823855
}
824856
}
857+
858+
@media (max-width: 430px) {
859+
#privacyLink {
860+
display: none;
861+
}
862+
}

0 commit comments

Comments
 (0)