some UX improvements
Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
parent
9f1a64b59b
commit
4ca398be6d
8 changed files with 46 additions and 54 deletions
|
@ -19,6 +19,13 @@ nav {
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
#header-home {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
gap: .5em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
img#header-icon {
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
|
@ -28,7 +35,6 @@ img#header-icon {
|
|||
|
||||
#header-text {
|
||||
width: 11em;
|
||||
margin-left: -0.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
@ -120,6 +126,10 @@ header ul li a:hover {
|
|||
}
|
||||
|
||||
@media screen and (max-width: 780px) {
|
||||
header {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
nav {
|
||||
width: calc(100vw - 2rem);
|
||||
margin: 0;
|
||||
|
@ -158,7 +168,7 @@ header ul li a:hover {
|
|||
ul#header-links li span {
|
||||
margin: 0;
|
||||
display: block;
|
||||
font-size: 1rem;
|
||||
font-size: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue