annotate sat_templates/templates/default/static/event.css @ 229:739c3e6999fa

base: `scripts` variable can be used to create suitable tags + new `body_onload` variable
author Goffi <goffi@goffi.org>
date Sun, 26 Apr 2020 22:06:07 +0200
parents 178f55b825b7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
1 .invitation_header {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
2 text-align: center;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
3 font-variant: small-caps;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
4 border: none;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
5 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
6
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
7 .instructions {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
8 font-style: italic;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
9 margin: 0;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
10 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
11
155
954759f0e8fa css: styles improvments + following a bit more BEM conventions
Goffi <goffi@goffi.org>
parents: 147
diff changeset
12 .event__picture {
17
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
13 max-width: 100%;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
14 border-radius: 2em;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
15 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
16
155
954759f0e8fa css: styles improvments + following a bit more BEM conventions
Goffi <goffi@goffi.org>
parents: 147
diff changeset
17 .event__counter {
21
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
18 font-weight: bold;
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
19 font-size: 1.3em;
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
20 text-align: center;
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
21 width: 15em;
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
22 margin: 1em auto;
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
23 border: 2px solid #aab6c4;
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
24 background-color: #f3e7e7;
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
25 color: #2f3943;
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
26 }
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
27
17
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
28 .attendance {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
29 background-color: #9ca0a8;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
30 padding: 0 0.3em;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
31 max-width: 580px;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
32 margin: 0 auto;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
33 color: #3A3A3A;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
34 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
35
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
36 .attending {
21
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 17
diff changeset
37 width: 6em;
17
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
38 margin: 0 auto;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
39 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
40
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
41 .attending label {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
42 /* display: inline; */
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
43 margin: 0.8em 0;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
44 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
45
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
46 .guests label {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
47 display: block;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
48 margin: 1em 0;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
49 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
50
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
51 .guests input {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
52 width: 2.5em;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
53 margin: 0 1em;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
54 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
55
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
56 .poll_instructions {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
57 font-weight: bold;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
58 font-size: 0.9em;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
59 font-size: 1.1em;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
60 text-align: center;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
61 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
62
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
63 .guests label{
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
64 text-align: center;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
65 /* font-style: italic */
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
66 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
67
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
68 .guests input {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
69 display: block;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
70 margin: 0 auto;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
71 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
72
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
73 .submit {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
74 width: 15em;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
75 margin: 0 auto;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
76 padding: 1em 0;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
77 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
78
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
79 .submit input {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
80 width: 100%;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
81 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
82
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
83 @media (min-width: 500px) {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
84 .invitation_header {
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
85 width: 94%;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
86 margin: 0 auto;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
87 border: solid 1px;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
88 border-color: #9ca0a8;
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
89 }
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
90 }