-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
113 lines (111 loc) · 2.2 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
108
109
110
111
112
113
body {
font-size: 100%;
padding-bottom: 30px;
font-family: 'Questrial', sans-serif;
background-color: #e5dcdc;
}
main {
width: 80%;
margin: auto;
}
header, .container {
margin-top: 15px;
margin-bottom: 15px;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 10px;
text-align: center;
color: white;
border-radius: 6px;
box-shadow: 9px 9px 20px black;
background: #43C6AC; /* fallback for old browsers */
background: -webkit-linear-gradient(to top, #191654, #43C6AC); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to top, #191654, #43C6AC); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
header:hover, div:hover{
box-shadow: 0 0 0;
}
h3 {
color: white;
}
ul li {
list-style-type: none;
display: inline-block;
margin-right: 20px;
margin-left: 20px;
}
a {
text-decoration: none;
color: white;
opacity: 0.6;
}
a:hover {
color: #ce3b74;
opacity: 1.0;
}
.bouton-red a{
display: block;
width: 150px;
height: 40px;
margin: auto;
background-color: #ed3d3d;
line-height: 40px;
border-radius: 5px;
opacity: 1.0;
}
.img-circle {
border-radius: 50%;
width: 100px;
height: 100px;
border: solid 3px grey;
}
.film_affiche {
width: 200px;
height: auto;
}
.container img {
border-radius: 5px;
box-shadow: 3px 4px 5px black;
}
/*Media Queries */
@media (max-width: 960px) {
/* For a screen < 960px, this CSS will be read */
header, .container, .movie_card {
width: 700px;
margin: auto;
margin-top: 10px;
margin-bottom: 10px;
padding-right: 10px;
padding-left: 10px;
}
}
@media (max-width: 720px) {
/* For a screen < 720px, this CSS will be read */
header, .container ,.movie_card {
width: 500px;
margin: auto;
margin-top: 10px;
margin-bottom: 10px;
padding-right: 10px;
padding-left: 10px;
font-size: 90%;
}
}
@media (max-width: 540px) {
/* For a screen < 540px, this CSS will be read */
header, .container ,.movie_card {
width: 300px;
margin: auto;
margin-top: 10px;
margin-bottom: 10px;
padding-right: 10px;
padding-left: 10px;
font-size: 70%;
}
.container ul li a {
font-size: 80%;
}
.movie_card img {
width: 120px;
}
}