-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcustom-style.css
95 lines (82 loc) · 1.67 KB
/
custom-style.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
/*
* NOTE: the CSS needs to be pasted into "Theme -> CSS override"
* in the admin menu.
*/
/* make headline bigger and bold */
.v-application .headline {
font-size: 1.5rem !important;
font-weight: 700;
}
/* make bullet points look normal */
.v-main .contents ul:not(.tabset-tabs):not(.contains-task-list)>li:before {
content: "•";
color: inherit;
}
/* fix abstract being displayed like a regular blockquote */
.contents div.abstract blockquote,
.contents div.abstract blockquote:before {
background: 0 0;
color: inherit;
border-left: 0;
padding: 0;
font-size: 1.2rem;
text-align: center;
margin-top: 0
}
.contents div.abstract blockquote:before {
content: ""
}
/* fix sidebar */
.contents div.sidebarblock {
border-radius: 7px;
background: #f5f5f5;
padding: 20px
}
/* center figures */
.contents .imageblock {
margin-top: 1em;
text-align: center
}
.contents .imageblock .title {
font-size: .8rem!important
}
/* use AsciiDoctor style for keyboard keys */
.contents kbd {
display: inline-block;
font-size: .66667rem;
background: #fafafa;
color: #000;
border: 1px solid #c1c1c1;
border-radius: .25em;
box-shadow: 0 1px 0 #c1c1c1,inset 0 0 0 .1em #fff;
padding: .25em .5em;
vertical-align: text-bottom;
}
/* custom block styles */
.contents div.convention {
margin: 1rem 20%;
padding: 0.5rem;
border: 2px dashed grey;
}
/* custom inline styles */
span.var {
font-style: italic;
}
span.new {
background-color: #ff0;
color: #000;
border: 2px #ddd solid;
padding: 1px 4px
}
span.text-red {
color: #EE0000;
}
span.text-green {
color: #1ac61a;
}
span.text-blue {
color: #0001FB;
}
span.text-orange {
color: #EA9F16;
}