generated from TWUOnline/bookdown-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
84 lines (68 loc) · 1.73 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
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
/* svg images should be 24x24 pixels */
/* icons from remixicon.com */
/* Styling for all custom environments: */
div.bonus, div.reflect, div.assessment, div.progress, div.video, div.caution, div.feedback{
padding: 1em;
margin: 0.5em;
position:relative;
border-radius: 5px;
color: black;
}
div.bonus:before,
div.reflect:before,
div.assessment:before,
div.progress:before,
div.video:before,
div.caution:before,
div.feedback: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.bonus a:link,
.book .book-body .page-wrapper .page-inner .normal div.reflect a:link,
.book .book-body .page-wrapper .page-inner .normal div.assessment a:link,
.book .book-body .page-wrapper .page-inner .normal div.progress a:link,
.book .book-body .page-wrapper .page-inner .normal div.video 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{
text-decoration: underline;
font-weight: bold;
color: black;
}
/* Styling unique to each environment: */
div.bonus{background: #71c7ec;}
div.reflect{background: #e7f4e4;}
div.assessment{background: #e1f3f8;}
div.progress{background: #bba3cc;}
div.video{background: #fff1d2;}
div.caution{background: #f9dede;}
div.feedback{background: #d6d7d9;}
.blackbox {
padding: 1em;
background: black;
color: white;
border: 2px solid orange;
border-radius: 10px;
}
.center {
text-align: center;
}