mirror of
https://github.com/hnasheralneam/hnasheralneam.github.io.git
synced 2025-06-07 05:44:15 -04:00
Put navbar on bottom for mobile, carousel takes full width on mobile, double click for next carousel slide, slow project carousel
This commit is contained in:
parent
ebb8568ca1
commit
3b02e5258c
3 changed files with 54 additions and 4 deletions
|
@ -127,6 +127,32 @@ a {
|
|||
margin: 1rem auto;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 700px) {
|
||||
.menu {
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
top: auto;
|
||||
width: auto;
|
||||
height: 5rem;
|
||||
}
|
||||
.menu div {
|
||||
margin: auto;
|
||||
}
|
||||
.menu:hover {
|
||||
left: 0;
|
||||
}
|
||||
.menu .item {
|
||||
display: inline-flex;
|
||||
margin: auto .5rem;
|
||||
transform: scale(1.3);
|
||||
}
|
||||
.menu .item:hover {
|
||||
margin: auto 1rem;
|
||||
transform: scale(1.5);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.menu .item {
|
||||
background-color: #333;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue