projet_php/assests/css/style.css
2026-03-03 12:01:03 +01:00

178 lines
No EOL
3 KiB
CSS

*{
margin: 0;
padding: 0;
}
body {
background-color: #f5f5f5;
}
.navbar {
background-color: #ffffff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 0.8rem 2rem;
min-height: 64px;
max-height: 64px;
}
.navbar .navbar-collapse {
align-items: center;
}
.navbar-brand {
font-size: 1.5rem;
font-weight: bold;
color: #0d6efd !important;
}
.navbar-brand span {
color: #6c757d;
}
.navbar-nav .nav-link {
color: #333;
font-weight: 500;
padding: 0.5rem 1rem;
margin: 0 0.2rem;
transition: color 0.3s;
}
.nav-avatar {
width: 36px;
height: 36px;
object-fit: cover;
border-radius: 50%;
display: block;
}
.navbar-nav .nav-link:hover {
color: #0d6efd;
}
.btn-login {
color: #333;
background-color: transparent;
border: none;
font-weight: 500;
padding: 0.5rem 1rem;
}
.btn-login:hover {
color: #0d6efd;
}
.btn-signup {
background-color: #0d6efd;
color: white;
border: none;
border-radius: 25px;
padding: 0.5rem 2rem;
font-weight: 500;
transition: background-color 0.3s;
}
.btn-signup:hover {
background-color: #0b5ed7;
}
.notification-bell {
font-size: 1.2rem;
color: #6c757d;
margin-right: 1rem;
cursor: pointer;
transition: color 0.3s;
}
.notification-bell:hover {
color: #0d6efd;
}
.logo-image {
height: 30px;
width: auto;
margin-right: 0.5rem;
}
.logo{
font-size: 5rem;
font-weight: 700;
background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.article-card {
height: 400px;
}
.article-img {
height: 50px;
width: 100%;
overflow: hidden;
}
.article-content {
height: 20%;
padding: 0.75rem;
}
.footer{
color: white;
background-color: #6A6ED4;
}
.footer ul{
list-style: none;
}
.footer a{
text-decoration: none;
color: white;
}
.txt_title {
color: rgb(51, 152, 217);
}
/* On cible la card sans casser ses propriétés Bootstrap */
.tiger-theme {
background-color: #ff8c00 !important; /* Orange tigre */
background-image: repeating-linear-gradient(
45deg,
transparent,
transparent 30px,
rgba(0, 0, 0, 0.15) 30px,
rgba(0, 0, 0, 0.15) 60px
) !important;
border: 2px solid #000 !important;
color: #000 !important;
position: relative;
z-index: 1;
}
/* Style du texte pour qu'il ressorte sur l'orange */
.tiger-text {
font-weight: 800 !important;
text-transform: uppercase;
color: #000 !important;
}
.tiger-date {
font-size: 0.8rem;
font-weight: bold;
color: rgba(0, 0, 0, 0.7);
}
/* Bordure de l'image (n'affecte pas la taille de la card) */
.tiger-border {
box-shadow: 0 0 0 4px #000;
}
/* Bouton style tigre */
.btn-tiger {
background-color: #000 !important;
color: #ff8c00 !important;
border: none !important;
font-weight: bold !important;
transition: transform 0.2s;
}
.btn-tiger:hover {
transform: scale(1.05);
background-color: #222 !important;
}