-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
110 lines (104 loc) · 1.56 KB
/
style.css
File metadata and controls
110 lines (104 loc) · 1.56 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
107
108
109
110
/* Projet Bibliothèque Js */
/* MAJ par pilou le 26/10/2021 */
*,
::before,
::after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
/* General */
body{
background-color: lightcyan;
}
h1{
margin: 1.5em 0 1.5em 2em;
}
h2{
margin: 1em;
}
.hidden{
display: none;
}
/* Header */
nav{
display: flex;
width: 100%;
height: 40px;
background-color:lightyellow;
justify-content:start;
align-items: center;
}
.titreNav{
width: 50%;
}
.menuNav{
width: 50%;
}
/* Main */
.accueil{
width: 100%;
display: flex;
}
.accueil-gauche{
width: 50%;
}
.acceuil-gauche img{
width: 100%;
height: auto;
}
.accueil-droite{
width: 50%;
}
/* Tableau */
.tableau{
width: 100%;
max-width: 900px;
margin: 0 auto;
border: 1px solid black;
display: flex;
flex-direction: column;
}
.rang{
display: grid;
width: 100%;
grid-template-columns: 1fr 1fr 1fr 1fr;
justify-items: center;
height:3em;
align-items: center;
}
.premier-rang{
background-color: lightcoral;
}
.rang:nth-child(even){
background-color: lightblue;
}
.ajout{
display: flex;
width: 100%;
height: 2em;
justify-content: center;
align-items: center;
background-color: lightgreen;
color: black;
text-decoration: none;
border-top: 1px solid black;
}
.bouttons{
padding: 0.3em;
border-radius: 0.5em;
}
.btn1{
background-color: yellow;
}
.btn2{
background-color: orangered;
}
/* formulaire */
.form{
text-align: center;
}
input{
margin-bottom: 0.3em;
width: 300px;
}