Newer
Older
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
.row-container {
/* display: flex;
flex-flow: row wrap; */
grid-template-columns: 1fr 1fr 1fr 1fr;
}
/* Au dessus de 430px de large, on place deux cards par ligne */
.band {
width: 90%;
margin: 10px auto;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto;
grid-gap: 20px;
justify-content: center;
}
@media only screen and (min-width: 430px) {
.band {
grid-template-columns: 1fr 1fr;
}
}
@media only screen and (min-width: 700px) {
.band {
grid-template-columns: 1fr 1fr 1fr;
}
}
@media only screen and (min-width: 950px) {
.band {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
}
.drink-card {
min-height: 100%;
max-width: 200px;
background: white;
padding: 10px;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
border-radius: 4px;
display: flex;
flex-flow: column nowrap;
color: #222222;
top: 0;
position: relative;
transition: all .1s ease-in;
}
article .xp-number {
color: #EAE000;
font-size: 1.8em;
font-weight: bolder;
}
article .xp {
font-size: 1.3em;
font-weight: bolder;
text-transform: uppercase;
color: #000000;
}
.drink-card:hover {
top: -2px;
box-shadow: 0 4px 5px rgba(0,0,0,0.2);
}
.title {
color: #6E2424;
font-size: 1.1em;
font-weight: bold;
}
.thumb {
padding: 5% 5% 60% 5%;
background-size: cover;
background-position: center center;
}
.drink-card > hr {
margin-top: 0;
margin-bottom: 3px;
}
.description {
font-size: 0.7em;
color: #95A5A6;
}
.drink-card button {
align-self: flex-end;
margin: 0 auto
}
/*a moi*/
.card-header {
background-color: transparent;
align-self: flex-start;
}
.card-content {
align-self: center;
}
.card-action {
align-self: flex-end;
}
.card-header > img {
height: 130px;
width: 130px;
}
.card-header > p {
color: #6E2424;
font-size: 1.1em;
font-weight: bold;
}
.card-header > p, .card-header > img {
margin: 5px auto;
}
.column-container {
display: flex;
flex-flow: column nowrap;
}
.h-center {
text-align: center;
}
.v-center {
text-align: center;
}