-
Notifications
You must be signed in to change notification settings - Fork 0
/
additional_styles.css
158 lines (141 loc) · 4.97 KB
/
additional_styles.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
/* Fixing width */
body, svg {
min-width: fit-content;
display: inline-block;
margin: 0;
}
main {
font-size: 16px; /* For em to work */
min-width: auto;
display: inline-block;
margin: 0;
}
.calendar {
display: inline-block;
margin: 1em;
}
/* To make html work, not needed for svg */
html {
background: none;
}
body {
background: none;
}
/* main {
background: #0f0f23;
} */
/* Adding gradient on edges */
main {
--gradient-size: 0.5em;
background: #0f0f23;
/* border-radius: 2em; */
/* for webkit-based browsers */
-webkit-mask-image:
linear-gradient(to top, black 0%, black 100%),
linear-gradient(to top, transparent 0%, black 100%),
linear-gradient(to right, transparent 0%, black 100%),
linear-gradient(to bottom, transparent 0%, black 100%),
linear-gradient(to left, transparent 0%, black 100%),
/* radial-gradient(circle farthest-corner at bottom right, transparent 33.61%, black 70.71%),
radial-gradient(circle farthest-corner at bottom left, transparent 33.61%, black 70.71%),
radial-gradient(circle farthest-corner at top right, transparent 33.61%, black 70.71%),
radial-gradient(circle farthest-corner at top left, transparent 33.61%, black 70.71%); */
radial-gradient(circle farthest-side at bottom right, transparent 50%, black 100%),
radial-gradient(circle farthest-side at bottom left, transparent 50%, black 100%),
radial-gradient(circle farthest-side at top right, transparent 50%, black 100%),
radial-gradient(circle farthest-side at top left, transparent 50%, black 100%);
-webkit-mask-position:
center,
top,
right,
bottom,
left,
top left,
top right,
bottom left,
bottom right;
-webkit-mask-size:
100% 100%,
calc(100% - var(--gradient-size) * 4) var(--gradient-size),
var(--gradient-size) calc(100% - var(--gradient-size) * 4),
calc(100% - var(--gradient-size) * 4) var(--gradient-size),
var(--gradient-size) calc(100% - var(--gradient-size) * 4),
calc(var(--gradient-size) * 2) calc(var(--gradient-size) * 2),
calc(var(--gradient-size) * 2) calc(var(--gradient-size) * 2),
calc(var(--gradient-size) * 2) calc(var(--gradient-size) * 2),
calc(var(--gradient-size) * 2) calc(var(--gradient-size) * 2);
-webkit-mask-repeat:
no-repeat,
no-repeat,
no-repeat,
no-repeat,
no-repeat,
no-repeat,
no-repeat,
no-repeat,
no-repeat;
-webkit-mask-composite:
source-out,
source-over,
source-over,
source-over,
source-over,
source-over,
source-over,
source-over,
source-over;
/* for browsers which have implemented the official spec */
mask-image:
linear-gradient(to top, black 0%, black 100%),
linear-gradient(to top, transparent 0%, black 100%),
linear-gradient(to right, transparent 0%, black 100%),
linear-gradient(to bottom, transparent 0%, black 100%),
linear-gradient(to left, transparent 0%, black 100%),
/* radial-gradient(circle farthest-corner at bottom right, transparent 33.61%, black 70.71%),
radial-gradient(circle farthest-corner at bottom left, transparent 33.61%, black 70.71%),
radial-gradient(circle farthest-corner at top right, transparent 33.61%, black 70.71%),
radial-gradient(circle farthest-corner at top left, transparent 33.61%, black 70.71%); */
radial-gradient(circle farthest-side at bottom right, transparent 50%, black 100%),
radial-gradient(circle farthest-side at bottom left, transparent 50%, black 100%),
radial-gradient(circle farthest-side at top right, transparent 50%, black 100%),
radial-gradient(circle farthest-side at top left, transparent 50%, black 100%);
mask-position:
center,
top,
right,
bottom,
left,
top left,
top right,
bottom left,
bottom right;
mask-size:
100% 100%,
calc(100% - var(--gradient-size) * 4) var(--gradient-size),
var(--gradient-size) calc(100% - var(--gradient-size) * 4),
calc(100% - var(--gradient-size) * 4) var(--gradient-size),
var(--gradient-size) calc(100% - var(--gradient-size) * 4),
calc(var(--gradient-size) * 2) calc(var(--gradient-size) * 2),
calc(var(--gradient-size) * 2) calc(var(--gradient-size) * 2),
calc(var(--gradient-size) * 2) calc(var(--gradient-size) * 2),
calc(var(--gradient-size) * 2) calc(var(--gradient-size) * 2);
mask-repeat:
no-repeat,
no-repeat,
no-repeat,
no-repeat,
no-repeat,
no-repeat,
no-repeat,
no-repeat,
no-repeat;
mask-composite:
subtract,
add,
add,
add,
add,
add,
add,
add;
}