forked from JabRef/blog.jabref.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.css
48 lines (40 loc) · 1023 Bytes
/
blog.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
---
---
/* ----- per blog colors! ----- */
{% for node in site.posts %}
{% capture id %}id-{{ node.id | remove:'/' | downcase }}{% endcapture %}
{% capture bg %}{% if site.colors[node.bg] %}{{ site.colors[node.bg] }}{% else %}{{ node.bg }}{% endif %}{% endcapture %}
{% capture fg %}{% if site.colors[node.color] %}{{ site.colors[node.color] }}{% else %}{{ node.color }}{% endif %}{% endcapture %}
nav .p-{{id}} { border-color: {{ bg }}; }
#{{id}} { background-color: {{ bg }} !important; color: {{ fg }}; }
#{{id}} a { color: {{ fg }}; }
#{{id}} .sectiondivider { color: {{ bg }}; }
{% endfor %}
.postauthor {
margin-top: -24px;
text-align: center;
}
table {
margin-left: 100px;
margin-bottom: 20px;
}
/* fix CSS of combo.css */
html body div#main nav {
background-color: #4d4674;
}
h1 {
font-size: 38px;
}
.container h2 {
font-size: 21px;
font-weight: 500;
text-align: left;
line-height: normal;
padding-left: 5%;
}
.section {
padding: 20px;
}
code {
white-space: pre;
}