Changement CSS pour mobile
This commit is contained in:
parent
77d7791606
commit
cb215f60d6
@ -47,17 +47,36 @@ header {
|
|||||||
.navbar {
|
.navbar {
|
||||||
border-bottom: var(--border-header-footer);
|
border-bottom: var(--border-header-footer);
|
||||||
}
|
}
|
||||||
|
#logo-small-screen {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
@media (max-width: 463px) {
|
||||||
|
#logo {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.navbar-brand {
|
||||||
|
width: 30%;
|
||||||
|
}
|
||||||
|
#logo-small-screen {
|
||||||
|
display: inline-block;
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.nav-link {
|
.nav-link {
|
||||||
text-align: center !important;
|
text-align: center !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* CONTENT */
|
/* CONTENT */
|
||||||
|
@media (max-width: 576px) {
|
||||||
|
.container {
|
||||||
|
width: 90% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
.container {
|
.container {
|
||||||
padding-bottom: 25px;
|
padding-bottom: 25px;
|
||||||
}
|
}
|
||||||
.inlineInput {
|
.inlineInput {
|
||||||
width: 25% !important;
|
width: 25% !important;
|
||||||
display: inline;
|
|
||||||
}
|
}
|
||||||
#convertIn {
|
#convertIn {
|
||||||
width: 6.7em;
|
width: 6.7em;
|
||||||
|
@ -53,7 +53,10 @@
|
|||||||
<nav class="navbar navbar-expand-lg navbar-dark static-top">
|
<nav class="navbar navbar-expand-lg navbar-dark static-top">
|
||||||
<div class="container" id="header-container">
|
<div class="container" id="header-container">
|
||||||
<!-- Brand -->
|
<!-- Brand -->
|
||||||
<a class="navbar-brand" href="/index.php"><img src="/img/FunctionProject_brand-logo.png" alt="FunctionProject"></a>
|
<a class="navbar-brand" href="/index.php">
|
||||||
|
<img id="logo" src="/img/FunctionProject_brand-logo.png" alt="FunctionProject">
|
||||||
|
<img id="logo-small-screen" src="/img/FunctionProject_icon.png" alt="FunctionProject">
|
||||||
|
</a>
|
||||||
|
|
||||||
<!-- Hamburger icon on Mobile -->
|
<!-- Hamburger icon on Mobile -->
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
|
||||||
|
Reference in New Issue
Block a user