-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.css
116 lines (96 loc) · 1.7 KB
/
theme.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
*, *:before, *:after {
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
}
body {
display: flex;
align-items: center;
justify-content: center;
box-shadow: inset 0px -10vh 30vh 0px rgba(0,0,0,0.25);
font-size: 2.5rem;
}
pre code {
background-color: transparent !important;
}
h1, h2, h3 {
font-family: serif;
margin-bottom: .5em;
}
h1 { font-size: 6rem; }
h2 { font-size: 5rem; }
h3 { font-size: 4rem; }
p, strong, em, li {
font-family: sans-serif;
text-align: center;
}
small {
font-size: 1.5rem;
}
li {
text-align: left;
line-height: 1.5em;
}
code {
font-family: monospace;
white-space: pre;
}
a, a:visited {
color: black;
}
article {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
article.pros-cons {
flex-direction: row;
}
article.pros-cons ul {
max-width: 30%;
margin: 0 5%;
}
article.highlight {
text-transform: uppercase;
color: white;
}
article.highlight h1 {
background: linear-gradient(135deg, #5f00a8 35%, #ed005f 100%);
background-color: #5f00a8;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
article.highlight a,
article.highlight a:visited {
color: white;
text-decoration: underline;
}
article > * {
display: block;
max-width: 960px;
}
article .strike {
text-decoration: line-through;
}
/* Transitions */
article {
transition:
transform 0.6s 0.2s cubic-bezier(0.19, 1, 0.22, 1),
opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1);
transform: translateX(100%);
opacity: 0;
}
article[in] {
transform: translateX(0);
opacity: 1;
}
article[out] {
transform: translateX(-100%);
}
article[in] ~ article[out] {
transform: translateX(100%);
}