You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
1.5 KiB

body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
}
#content {
padding: 20px;
}
header {
background-color: #e61e23;
color: #fff;
text-align: center;
padding: 20px;
}
table {
border-width:1px;
border-style:solid;
border-color:black;
width:50%;
}
td {
border-width:1px;
border-style:solid;
border-color:black;
width:50%;
}
nav{
background-color: black;
color: white;
text-align: center;
padding: 10px;
}
nav ul{
list-style-type: none;
margin: 0;
padding: 0;
}
nav ul li{
float: left;
width: 25%;
text-align: center;
position: relative;
color:white;
}
nav ul::after{
content: "";
display: table;
clear: both;
}
nav a{
display: block;
text-decoration: none;
color: white;
border-bottom: 2px solid transparent;
padding: 10px 0px;
}
nav a:hover{
color: red;
border-bottom: 2px solid gold;
}
.sous{
display: none;
box-shadow: 0px 1px 2px #CCC;
background-color: black;
position: absolute;
width: 100%;
z-index: 1000;
}
nav > ul li:hover .sous{
display: block;
}
.sous li{
float: none;
width: 100%;
text-align: left;
}
.sous a{
padding: 10px;
border-bottom: none;
}
.sous a:hover{
border-bottom: none;
background-color: rgba(200,200,200,0.1);
}
.deroulant > a::after{
content:" ▼";
font-size: 12px;
}
article {
margin-bottom: 20px;
}
.accueil{
padding: 20pt
}
footer {
background-color: #e61e23;
color: #fff;
text-align: center;
padding: 10px;
position: fixed;
bottom: 0;
width: 100%;
}