mirror of
https://github.com/Floriansylvain/compact-portfolio.git
synced 2026-08-19 19:53:24 +02:00
feat: add responsive styles for navigation and header in noscript section
This commit is contained in:
+36
@@ -12,6 +12,42 @@
|
||||
<title>Portfolio Florian Sylvain - Développeur web fullstack</title>
|
||||
|
||||
<link rel="stylesheet" href="style.css">
|
||||
|
||||
<noscript>
|
||||
<style>
|
||||
.reveal {
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.site-nav {
|
||||
position: static !important;
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
box-shadow: none !important;
|
||||
gap: 0 !important;
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
height: auto !important;
|
||||
padding: 16px 0 !important;
|
||||
}
|
||||
|
||||
.site-header .inner {
|
||||
flex-direction: column !important;
|
||||
gap: 16px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
|
||||
<body id="top">
|
||||
|
||||
Reference in New Issue
Block a user