css sur telephone

This commit is contained in:
clement callaert 2023-11-06 00:12:49 +01:00
parent f221b86f59
commit 917d9e581e
5 changed files with 75 additions and 3 deletions

View file

@ -60,6 +60,10 @@ body {
}
.telephoneLi {
display: none;
}
footer {
background: linear-gradient(315deg, #0f056b, rgb(133, 20, 20));
display: flex;
@ -362,3 +366,22 @@ strong {
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
}
@media (max-width: 500px) {
.telephoneLi {
display: block;
}
.ecranLi {
display: none;
}
.btn {
width: 7rem;
height: 2rem;
}
#redhead {
height: 4rem;
}
.button-85 {
font-size: 0.7rem;
}
}

View file

@ -60,3 +60,17 @@ body {
border: 0.2rem solid #c23333;
}
@media (max-width: 500px) {
#firstDiv {
margin: 5rem 1.5rem 6rem 1.5rem;
padding: 1rem 1rem 7.5rem 1rem;
}
#input_connexion{
margin: 0;
border: 0 solid rgba(230,173,26,255);
}
#input_connexion input {
width: 100%;
margin-bottom: 1rem;
}
}

View file

@ -480,4 +480,19 @@ main {
user-select: none;
/* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}
@media (max-width: 500px) {
#logoPermBDE {
width: 5rem;
height: 5rem;
}
#logoMetzPloreur {
width: 5rem;
height: 5rem;
}
#logoliste {
width: 5rem;
height: 5rem;
}
}

View file

@ -54,6 +54,8 @@ router.get('/a-propos', function (req,res) {
res.render('futur')
})
router.get('/evenement', function (req,res) {
res.render('futur')
})
module.exports = router;

View file

@ -3,7 +3,7 @@
</a>
<ul>
<% if (!locals.isAuth) { %>
<li>
<li class="ecranLi">
<a href="/connexion" class="custom-cursor">
<button class="button-85" role="button">
Se connecter
@ -12,7 +12,7 @@
</li>
<% } %>
<% if (locals.isAuth) { %>
<li>
<li class="ecranLi">
<form action="/logout" method="POST">
<button class="button-85" role="button" name="logout">
Se déconnecter
@ -36,6 +36,24 @@
</header>
<nav id="nav_id">
<ul>
<% if (!locals.isAuth) { %>
<li class="telephoneLi">
<a href="/connexion" class="custom-cursor">
<button class="button-85" role="button">
Se connecter
</button>
</a>
</li>
<% } %>
<% if (locals.isAuth) { %>
<li class="telephoneLi">
<form action="/logout" method="POST">
<button class="button-85" role="button" name="logout">
Se déconnecter
</button>
</form>
</li>
<% } %>
<li>
<a href="/team" class="custom-cursor">