-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
107 lines (99 loc) · 1.93 KB
/
style.css
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
*, ::before, ::after {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
background: rgb(207,207,207);
font-family: 'Poppins',sans-serif;
}
.cartes {
width: 300px;
height: 530px;
flex-shrink: 0;
border-radius: 15px;
background: #f1f1f1;
display: flex;
flex-direction: column;
box-shadow: 0px 9px 9px rgba(0,0,0,0.5);
margin: 60px 60px;
}
.deg {
height: 50%;
background:rgb(242,108,108,) ;
background: linear-gradient(45deg,#fa3939, rgb(240,156,156));
position: relative;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}
.cartes:nth-child(1) .deg img {
width: 450px;
position: absolute;
top: -90px;
left: -50px;
}
.cartes:nth-child(2) .deg img {
width: 400px;
position: absolute;
top: -100px;
left: -50px;
}
.cartes:nth-child(2) .deg {
background: linear-gradient(45deg,#f09797, #fa3939);
}
.cartes:nth-child(3) .deg img {
width: 350px;
position: absolute;
top: 0px;
left: 0px;
}
.cartes:nth-child(3) .deg {
background: linear-gradient(45deg,#f09797, #fa3920);
}
.titre {
height: 5%;
text-align: center;
margin: 20px 0px 10px 0px;
}
.info {
text-align: justify;
height: 30%;
padding: 10px 30px 0px 30px;
line-height: 18px;
font-size: 15px;
margin: 0;
}
.btnBox {
height: 15%;
display: flex;
justify-content: center;
align-items: center;
}
.btn {
display: flex;
justify-content: center;
align-items: center;
border: 1px solid #333;
width: 120px;
height: 30px;
border-radius: 5px;
cursor: pointer;
transition: all 0.2s ease;
}
.btn:hover {
transition: all 0.2 ease;
background: rgb(235, 237, 197);
color: #f1f1f1;
}
a {
text-decoration: none;
color: #333;
}
a:link {
color: #265301;
}