-
Notifications
You must be signed in to change notification settings - Fork 0
/
style_events.css
126 lines (123 loc) · 2.05 KB
/
style_events.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
.post-date {
border-top: 6px solid #dbdbdb;
background-color: #f9f9f9;
}
.month {
padding-bottom: 3px;
}
.wday {
padding-top: 5px;
}
.month, .wday {
text-transform: uppercase;
color: #3b3b3b;
font-size: 10px;
line-height: 10px;
}
.day {
font-size: 24px;
padding: 3px 0;
font-weight: bold;
color: #ffdf00;
}
@font-face {
font-family: 'lcd2';
src: url('font/lcd2.eot');
src: url('font/lcc2.woff2') format('woff2'),
url('font/lcd2.woff') format('woff'),
url('font/lcd2.eot?#iefix') format('embedded-opentype');
font-weight: normal;
font-style: normal;
}
.begin_time, .end_time {
font-family: lcd2, Roboto, arial;
font-size: 24px;
}
.post-date span {
display: block;
}
.event {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
flex-direction: row;
background-color: white;
border: 1px solid white;
border-radius: 6px;
box-shadow: 2px 2px 2px #f1f1f1;
}
.margin {
margin: 2px 0;
}
.event:nth-child(2n) {
-webkit-align-self: flex-end;
-ms-flex-item-align: flex-end;
align-self: flex-end;
}
.post-date span {
text-align: center;
}
.times {
margin-right: 20px;
margin-left: 0;
min-width: 60px;
}
.times > span {
text-align: center;
display: block;
}
.content_event {
-webkit-flex-grow: 1;
flex-grow: 1;
padding-left: 20px;
border-left: 5px dashed #f3f3f3;
}
.place h3 {
display: inline;
margin-left: 7px;
}
.place {
transform-origin: top left;
transform: scale(0.8);
overflow: visible;
white-space: nowrap;
}
.blink {
font-family: Roboto, Arial;
display: inline;
line-height: 45px;
letter-spacing: 4px;
animation: blinker 1s linear infinite;
}
.times > span > span {
vertical-align: bottom;
}
@keyframes blinker {
0% { opacity: 1; }
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@media screen and (min-width: 768px) {
#content {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
}
.event {
width: 80%;
margin: 10px 50px;
padding: 20px;
}
}
@media screen and (max-width: 767px) {
.event {
width: 90%;
margin: 15px auto;
padding: 15px;
}
}