🎨 styles: responsive header screen md

:%s
This commit is contained in:
lytrankieio123
2021-08-25 15:06:53 +07:00
parent a37eabea90
commit 10a4e703d6
4 changed files with 21 additions and 6 deletions

View File

@@ -8,7 +8,9 @@
@apply flex items-center;
.inputSearch {
margin-left: 4.8rem;
@screen md {
//todo: remove
border: 1px solid red;
@screen lg {
min-width: 51.2rem;
max-width: 50%;
}
@@ -19,7 +21,10 @@
li {
@apply flex justify-center items-center w-full;
&:not(:last-child) {
margin-right: 6.4rem;
margin-right: 4.8rem;
@screen lg {
margin-right: 6.4rem;
}
}
a {
@appy no-underline;

View File

@@ -1,13 +1,22 @@
@import "../../../../../styles/utilities";
.headerSubMenu {
@apply flex justify-between items-center;
padding-bottom: 0.8rem;
@screen lg {
@apply flex justify-between items-center;
}
.menu {
@apply flex items-center list-none;
margin-bottom: 2.4rem;
@screen lg {
margin-bottom: 0;
}
li {
&:not(:last-child) {
margin-right: 4rem;
margin-right: 2.4rem;
@screen lg {
margin-right: 4rem;
}
}
a {
@appy no-underline;

View File

@@ -2,6 +2,7 @@
.notiMessage {
@apply caption bg-info-light;
width: fit-content;
color: var(--info-dark);
padding: 0.4rem 1.6rem;
border-radius: 3rem;