-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.css
131 lines (113 loc) · 3.46 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/* base variables */
/* Edit the CSS properties in this file to create a custom
Distill theme. Only edit values in the right column
for each row; values shown are the CSS defaults.
To return any property to the default,
you may set its value to: unset
All rows must end with a semi-colon. */
/* Optional: embed custom fonts here with `@import` */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noticia+Text:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');
@import url("https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');
/* This must remain at the top of this file. */
html {
/*-- Main font sizes --*/
--title-size: 30px;
--body-size: 16px;
--code-size: 14px;
--aside-size: 12px;
--fig-cap-size: 13px;
/*-- Main font colors --*/
--title-color: #000000;
--header-color: #000000;
--body-color: #000000;
--aside-color: #000000;
--fig-cap-color: #000000;
/*-- Specify custom fonts ~~~ must be imported above --*/
--heading-font: "Source Sans Pro", sans-serif;
--mono-font: "Source Code Pro", monospace;
--body-font: "Source Sans Pro", sans-serif;
--navbar-font: "Source Sans Pro", sans-serif; /* websites + blogs only */
}
/*-- ARTICLE METADATA --*/
d-byline {
--heading-size: 0.6rem;
--heading-color: rgba(0, 0, 0, 0.5);
--body-size: 0.8rem;
--body-color: rgba(0, 0, 0, 0.8);
}
/*-- ARTICLE TABLE OF CONTENTS --*/
.d-contents {
--heading-size: 18px;
--contents-size: 14px;
}
/*-- ARTICLE APPENDIX --*/
d-appendix {
--heading-size: 15px;
--heading-color: rgba(0, 0, 0, 0.65);
--text-size: 0.8em;
--text-color: rgba(0, 0, 0, 0.5);
}
/*-- WEBSITE HEADER + FOOTER --*/
/* These properties only apply to Distill sites and blogs */
.distill-site-header {
--title-size: 18px;
--text-color: rgba(255, 255, 255, 0.856);
--text-size: 18px;
--hover-color: white;
--bkgd-color: #fe9a01;
}
.distill-site-footer {
--text-color: rgba(255, 255, 255, 0.8);
--text-size: 15px;
--hover-color: white;
--bkgd-color: #fe9a01;
}
/*-- Additional custom styles --*/
/* Add any additional CSS rules below */
.distill-site-nav {
font-weight: 700;
}
d-article pre {
background-color: #f6f6f6;
}
d-article h2 {
font-size: 20px;
}
d-article h3 {
font-size: 18px;
}
video {
padding-top: 10px;
max-width: 100%;
}
.highlight {
border: 2px solid #43658b;
padding: 10px;
margin: 15px;
}
/*-- Additional custom styles --*/
/* Add any additional CSS rules below */
.obj {
border: 2px #fe9a01;
border-style: solid;
padding: 1em;
margin: 1em 0;
min-height: 120px;
/*color: #638f9d;*/
color: #002855;
background-color: #ffffff;
font-size: 16px;
line-height: 1.5em;
font-family: "Roboto";
/*background-image: url("../images/arrow.png");*/
}
.obj>p:first-child {
padding-top: 0;
margin-top: 0 !important;
font-family: "Lora";
text-transform: uppercase;
letter-spacing: 0.1em;
}