-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (71 loc) · 1.14 KB
/
style.css
File metadata and controls
83 lines (71 loc) · 1.14 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
*{
margin:0;
padding:0;
box-sizing: border-box;
}
nav{
background-color: #000;
padding:2rem;
color:#ffffff;
font-size: 2rem;
text-align: center;
}
.container{
margin:0 auto;
}
.article{
width: 60%;
margin: 2rem auto;
position: relative;
box-shadow: 1px 1px 1px 1px rgb(250, 250, 250);
}
h3{
text-align: center;
background-color: #f4f4f4;
margin:1rem;
padding: 1rem;
text-transform: uppercase;
}
.texte-para{
display: none;
}
.showText .texte-para{
display: block;
padding:1rem;
background-color: #550404;
color:#ffffff;
}
.moins{
display: none;
}
.showText .moins{
display: block;
}
.showText .plus{
display: none;
}
.btn{
font-size:1rem;
position: absolute;
right:0;
top: 15px;
padding: .2rem;
font-size: bold;
border: none;
background-color: #333;
color:#ffffff;
cursor: pointer;
}
.moins{
font-size:1rem;
position: absolute;
right: 0 ;
top: 0;
font-size: bold;
padding: .2rem;
border: none;
background-color: rgb(75, 6, 6);
color:#ffffff;
cursor: pointer;
display: none;
}