mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-02 02:10:27 +00:00
Content pages and table of contents
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
--nav-dark-background: #121212;
|
||||
}
|
||||
|
||||
header, nav {
|
||||
header, #mobile-navigation {
|
||||
width: 85%;
|
||||
border-radius: 0.75rem;
|
||||
text-transform: uppercase;
|
||||
@@ -23,7 +23,7 @@ header {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
nav:not(.breadcrumb) {
|
||||
#mobile-navigation {
|
||||
background-color: var(--nav-background);
|
||||
display: none;
|
||||
position: fixed;
|
||||
@@ -40,7 +40,7 @@ header #header-face h3 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
header #menus a, nav:not(.breadcrumb) #menus a {
|
||||
header #menus a, #mobile-navigation #menus a {
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
@@ -52,7 +52,7 @@ header #menus {
|
||||
column-gap: 1.563rem;
|
||||
}
|
||||
|
||||
nav:not(.breadcrumb) #menus {
|
||||
#mobile-navigation #menus {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: end;
|
||||
@@ -60,7 +60,7 @@ nav:not(.breadcrumb) #menus {
|
||||
row-gap: 3.125rem;
|
||||
}
|
||||
|
||||
nav:not(.breadcrumb) hr {
|
||||
#mobile-navigation hr {
|
||||
margin-top: 3.125rem;
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
@@ -71,13 +71,13 @@ header #links {
|
||||
column-gap: 1.5rem;
|
||||
}
|
||||
|
||||
nav:not(.breadcrumb) #links {
|
||||
#mobile-navigation #links {
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
column-gap: 1.5rem;
|
||||
}
|
||||
|
||||
nav:not(.breadcrumb) #links .theme-toggler {
|
||||
#mobile-navigation #links .theme-toggler {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ header #nav-toggler {
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1024px) {
|
||||
header, nav:not(.breadcrumb) {
|
||||
header, #mobile-navigation {
|
||||
margin: 1.5rem auto;
|
||||
padding: 0.938rem 1.25rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user