-
Notifications
You must be signed in to change notification settings - Fork 0
/
joliture.css
237 lines (197 loc) · 4.17 KB
/
joliture.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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: grid;
height: 100vh;
}
.Principal {
display: grid;
grid-template-columns: 0.2fr 2.2fr 0.2fr;
grid-template-rows: 0.3fr 2.4fr 0.3fr;
gap: 0px 0px;
grid-auto-flow: row;
grid-template-areas:
"Entete Entete Entete"
". Contenu ."
"BasPage BasPage BasPage";
}
.Entete {
grid-area: Entete;
justify-self: center;
align-self: center;
text-align: center;
/* pour localisation
background-color: #ff7f7f; */
}
.BasPage {
grid-area: BasPage;
justify-self: center;
align-self: center;
text-align: center;
/* pour localisation
background-color: #8c7fff; */
}
.Contenu {
grid-area: Contenu;
/* pour localisation
background-color: #7fffaa; */
}
#formTirage {
display: block;
width: 60%;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
margin-top: 30vh;
margin-left: auto;
margin-right: auto;
/*transform: translate(-30%);*/
}
h1 { color: #333 }
h3 { text-align: center; }
label { margin-right: 20px; }
input, select {
margin-bottom: 10px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
#cartesUniques {
margin-right: 10px;
flex-direction: row;
}
.leChoix {
height: 30px;
padding: 10px;
}
.leChoix .topCoolCheckbox {
appearance: none;
background-color: #dfe1e4;
border-radius: 72px;
border-style: none;
flex-shrink: 0;
height: 20px;
margin: 0;
position: relative;
width: 30px;
}
.leChoix .topCoolCheckbox::before {
bottom: -6px;
content: "";
left: -6px;
position: absolute;
right: -6px;
top: -6px;
}
.leChoix .topCoolCheckbox,
.leChoix .topCoolCheckbox::after {
transition: all 100ms ease-out;
}
.leChoix .topCoolCheckbox::after {
background-color: #fff;
border-radius: 50%;
content: "";
height: 14px;
left: 3px;
position: absolute;
top: 3px;
width: 14px;
}
.leChoix input[type=checkbox] {
cursor: default;
}
.leChoix .topCoolCheckbox:hover {
background-color: #c9cbcd;
transition-duration: 0s;
}
.leChoix .topCoolCheckbox:checked {
background-color: #6e79d6;
}
.leChoix .topCoolCheckbox:checked::after {
background-color: #fff;
left: 13px;
}
.leChoix :focus:not(.focus-visible) {
outline: 0;
}
.leChoix .topCoolCheckbox:checked:hover {
background-color: #535db3;
}
.leChoix .label { height: 14px; }
#tirageBtn {
background-color: #DEB887;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.pictos {
padding: 0px 8px 3.5px 0px;
vertical-align: middle;
width: 20px;
height: 20px;
}
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
margin-top: 10px;
}
#reboot, #goMail {
margin: 10px auto;
display: none;
}
/* Style pour les champs de saisie des prénoms */
.prenom-input {
margin: 5px;
padding: 5px;
}
#result {
display: none;
width: 80%;
margin: 0 auto; /* Centre horizontalement */
}
.participant-block { text-align: center; }
#leParticipant { text-transform: capitalize; }
table {
width: 100%; /* Remplit la largeur de la div parente */
border-collapse: collapse; /* Supprime les espaces entre les cellules */
}
th, td {
padding: 10px; /* Ajoute un espace autour du contenu des cellules */
border: 1px solid #ddd; /* Ajoute une bordure légère entre les cellules */
}
.celTab {
width: 34%;
word-wrap: break-word;
text-align: left;
padding-left: 10px;
}
.celPicto { width: 40px; }
.celPicto img {
width: 32px;
height: 32px;
cursor: help;
}
.celParticipant {
background-color: #FFE4C4;
text-transform: capitalize;
}
.celChute { background-color: #DEB887; }
/*
_____ _______ _____ _____
/ ____|__ __/ ____| | __ \
| | __ | | | | | |__) |
| | |_ | | | | | | _ /
| |__| |_ | |_| |____ _| | \ \ _
\_____(_)|_(_)\_____(_)_| \_(_)
Générateur de Tirages de Cartes à Raconter©™®
Version 0.7b — Décembre 2023
Créé par Vincent Corlaix avec de gros coups de main de ChatGPT 3.5
Github du projet : https://github.com/Nootilus/Cartes_a_Raconter
Fichier : joliture.css
*/