forked from njtierney/rmd4sci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
105 lines (90 loc) · 1.94 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
.exercise {
padding-left: 2em;
border: 1px solid;
border-color: #ffffff;
/* color: #ffffff; white*/
color: #696969; /* dark grey*/
/* background-color: #26a69a; dark teal*/
background-color: #96D3CE; medium teal
/* background-color: #D3EDEA; */
}
.history {
padding-left: 2em;
border: 1px solid;
border-color: #ffffff;
color: #696969;
background-color: #FFD992;
}
/* colors generated w http://paletton.com/#uid=73g0u0k9gMF1u+354U+dHBqiftl */
.question{
padding-left: 2em;
border: 1px solid;
border-color: #ffffff;
color: #696969;
background-color: #CDD8EF;
}
.demo{
padding-left: 2em;
border: 1px solid;
border-color: #ffffff;
color: #696969;
background-color: #FFACAC;
}
/* "#7B321C" dark red */
/* "#FFACAC" light red */
/*
.blank{
padding-left: 2em;
border: 1px solid;
border-color: #ffffff;
color: #696969;
background-color: #;
}
*/
.exercise a {
color: #ffffff;
font-weight: bold;
text-decoration: none;
}
.exercise p code {
color: inherit;
}
/* -----------Section anchors -------------*/
.book .book-body .page-wrapper .page-inner section.normal {
overflow: visible !important; /*so anchor link doesnt get cut off */
}
a.anchor {
margin-left: -30px;
padding-right: 3px;
display:inline-block;
width: 30px;
height: 30px;
background-image: url(https://image.flaticon.com/icons/svg/34/34735.svg) !important;
background-repeat: no-repeat !important;
background-size: 20px 20px !important;
background-position: center bottom !important;
opacity: 0;
}
.hasAnchor:hover a.anchor, a.anchor:hover {
opacity: 0.6;
}
@media (max-width: 1144px) { /* dont show anchor link on small screens */
.hasAnchor:hover a.anchor {
visibility: hidden;
}
}
/* ----------- End Section anchors -------------*/