aboutsummaryrefslogtreecommitdiff
path: root/calendar/global.css
blob: 2dd4b7ecedb6e022ec389a85a58aa5858ad41efe (plain)
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
body {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
	padding: 0 40px;
}
@media (max-width: 575.98px) {
	body {
		padding: 0;
	}
	html {
		font-size: 12px;
	}
	h4 {
		margin-top: 0;
	}
}
.row {
	display: flex;
}
.col {
	flex: 1 1 0%;
	min-width: 0;
	max-width: 100%;
}

.ec {
	height: 640px;
}
.ec.ec-day-grid {
	height: 400px;
}
@media (min-width: 576px) {
	.ec {
		height: 700px;
	}
	.ec.ec-day-grid {
		height: 500px;
	}
}
@media (min-width: 992px) {
	.ec {
		height: 800px;
	}
	.ec.ec-day-grid {
		height: 700px;
	}
}
@media (min-width: 1200px) {
	.ec.ec-day-grid {
		height: 800px;
	}
}

/* Dark theme */
body.ec-dark {
	background: #22272e;
	color: #adbac7;
}
body:not(.ec-dark) svg.dark {
	display: none;
}
body.ec-dark svg.light {
	display: none;
}
.toggle-dark-button {
	color: inherit;
	border: 0;
	background: 0 0;
	opacity: .8;
	cursor: pointer;
}
.toggle-dark-button svg {
	width: 1.25rem;
	height: 1.25rem;
}