-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSS principal.css
More file actions
106 lines (94 loc) · 1.69 KB
/
Copy pathCSS principal.css
File metadata and controls
106 lines (94 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/*Reset CSS*/
html{
background-color: #2F4F4F;
background-image:url(http://getwallpapers.com/wallpaper/full/9/1/1/1153104-vertical-2550-x-1440-wallpaper-2560x1440.jpg);
/*https://c.wallhere.com/photos/b9/ae/deer_animals_night_river_Moon_landscape-1213112.jpg!d*/
}
h1{
text-align: center;
color: white;
background-color: #2F4F4F;
}
a
{
color: white;
text-decoration: none;
}
*{
margin: 0px;
padding: 0px;
font-family: Avenir, sans-serif;
}
nav{
width: 100%;
margin: 0 auto;
background-color: #2F4F4F;
position: sticky;
top: 0px;
}
nav ul{
list-style-type: none;
}
nav ul li{
float: left;
width: 25%;
text-align: center;
position: relative;
}
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: orange;
border-bottom: 2px solid gold;
}
.sous{
display: none;
box-shadow: 0px 1px 2px #CCC;
background-color: #2F4F4F;
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;
}
.conteneur{
margin: 0px 300px;
color: white;
height: 2000px;
text-align: justify;
background-color: #696969;
padding: 0 20px 20px 20px;
border: 2px inset black;
}
.conteneur img{
height: auto;
width: 50;
}