-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (77 loc) · 1.74 KB
/
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
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
/* Styling for all custom environments: */
div.secondary, div.reflect, div.wp, div.gh, div.todo, div.caution, div.feedback, div.protip{
padding: 0.1em 0.0em 0.5em 1.0em;
margin-bottom: 0.5em;
position:relative;
border-style: solid;
border-width: 1px;
border-color: black;
border-radius: 10px;
}
div.secondary:before,
div.reflect:before,
div.wp:before,
div.gh:before,
div.todo:before,
div.caution:before,
div.feedback:before
div.protip:before{
left:0.5em;
position:absolute;
top:0.1em;
font-weight:bold;
font-style:italic;
font-size: 1.5em;
}
/* Style hyperlinks */
.book .book-body .page-wrapper .page-inner .normal div.secondary a:link,
.book .book-body .page-wrapper .page-inner .normal div.reflect a:link,
.book .book-body .page-wrapper .page-inner .normal div.wp a:link,
.book .book-body .page-wrapper .page-inner .normal div.gh a:link,
.book .book-body .page-wrapper .page-inner .normal div.todo a:link,
.book .book-body .page-wrapper .page-inner .normal div.caution a:link,
.book .book-body .page-wrapper .page-inner .normal div.feedback a:link
.book .book-body .page-wrapper .page-inner .normal div.protip a:link{
text-decoration: underline;
font-weight: bold;
color: rgb(3, 3, 3);
}
/* Styling unique to each environment: */
div.secondary{
background: #71c7ec;
}
div.reflect{
background: #e7f4e4;
}
div.wp{
background: #e1f3f8;
}
div.gh{
background: #bba3cc;
}
div.todo{
background: #fff1d2;
}
div.caution{
background: #f9dede;
}
div.feedback{
background: #d6d7d9;
}
div.protip{
color: rgb(255, 255, 255); background: #34495e;
}