-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.scss
173 lines (151 loc) · 6.25 KB
/
custom.scss
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/*-- scss:functions --*/
@function colorToRGB ($color) {
@return "rgb(" + red($color) + ", " + green($color) + ", " + blue($color)+ ")";
}
/*-- scss:defaults --*/
$h2-font-size: 1.6rem !default;
$headings-font-weight: 500 !default;
//$body-color: $gray-700 !default;
$enable-rounded: false;
$enable-shadows: false;
$enable-gradients: false;
// redefine colors
$gray-100: #f8f9fa !default;
$gray-800: #373a3c !default;
$primary: #227fa6 !default;
$secondary: #6c8a98 !default;
$success: #6e986a !default;
$info: #227fa6 !default;
$warning: #94807a !default;
$danger: #ce8243 !default;
$light: $gray-100 !default;
$dark: $gray-800 !default;
div.callout{border-radius: 0px;}
div.callout.callout-style-default, div.callout.callout-style-simple {
border-left: 0px solid;
border-right: 0px solid #dee2e6;
border-top: 0px solid #dee2e6;
border-bottom: 0px solid #dee2e6
}
.callout-note.callout {
border-left-color: #1d6c8d!important; //
background-color: #d4ecf7!important;} // ecf4fc
.callout-note.callout-style-default>.callout-header { background-color: #d4ecf7!important; }
.callout-note.callout-style-default>.callout-header { color: #1d6c8d!important; }
.callout-tip.callout {
border-left-color: #5e815a!important; // 3fb618
background-color: #f0f5f0!important;} // eff9ec
.callout-tip.callout-style-default>.callout-header { background-color: #f0f5f0!important; }
.callout-tip.callout-style-default>.callout-header { color: #5e815a!important; }
.callout-warning.callout {
border-left-color: #9b5064!important; //
background-color: #f8ecef!important;} //
.callout-warning.callout-style-default>.callout-header { background-color: #f8ecef!important; }
.callout-warning.callout-style-default>.callout-header { color: #9b5064!important; }
.callout-caution.callout {
border-left-color: #f0ad4e!important; //
background-color: #fef8f0!important;} //
.callout-caution.callout-style-default>.callout-header { background-color: #fef8f0!important; }
.callout-caution.callout-style-default>.callout-header { color: #f0ad4e!important; }
.callout-important.callout {
border-left-color: #af6f39!important; // ff7518
background-color: #f9f2ec!important;} // fff3ec
.callout-important.callout-style-default>.callout-header { background-color: #f9f2ec!important; }
.callout-important.callout-style-default>.callout-header { color: #af6f39!important; }
// div.callout-important.callout-captioned .callout-icon::before {
// background-image: url(data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
// style="fill: %666666" class="bi bi-exclamation-circle" viewBox="0 0 16 16">
// <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
// <path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>
// </svg>);
// }
div.callout-important.callout-captioned .callout-icon::before .bi-exclamation-circle{
color:green!important;
}
.bi-exclamation-circle-fill {
color: blue;
}
.slide-deck {
border: 5px solid #dee2e6;
width: 100%;
height: 475px;
}
iframe.reveal-demo {
width: 100%;
height: 350px;
outline: none;
}
@media only screen and (max-width: 600px) {
.slide-deck {
height: 400px;
}
}
// Code
code {background: $light;}
// Cover Image Shadow
.quarto-cover-image { box-shadow: 3px 3px 4px 4px #ccc;margin-bottom: 10px;}
// Navbar
.navbar { background-color: #FDE70E!important;color: #000000!important;}
.navbar-logo {padding-right: 30px!important;}
.navbar a, .navbar a:hover {color: #000000!important;}
// Footer
.nav-footer{background-color: #000000!important; color: #ffffff!important; }
.nav-footer img{ max-height: 30px;margin-top: 5px;}
.nav-footer a{ color:#ffffff!important; }
//\definecolor{habg1}{HTML}{227fa6}\addlistcolor{habg1} % blue
//\definecolor{habg2}{HTML}{ce8243}\addlistcolor{habg2} % orange
//\definecolor{habg3}{HTML}{6c8a98}\addlistcolor{habg3} % greish
//\definecolor{habg4}{HTML}{6e986a}\addlistcolor{habg4} % greenish
//\definecolor{habg5}{HTML}{94807a}\addlistcolor{habg5} % brownish
/*-- scss:rules --*/
/*h1, h2, h3, h4, h5, h6 {
text-shadow: -1px -1px 0 rgba(0, 0, 0, .3);
}*/
// custom boxes and styles
.info{ background-color: #d4ecf7; padding: 10px; margin-bottom: 1em; border-left: 0px solid; border-left-color: #1d6c8d;}
.hint{ background-color: #d4ecf7; padding: 10px; margin-bottom: 1em;}
.summary{ background-color: #fef8f0; padding: 10px; border-left:0px solid #f0ad4e; margin-bottom: 1em;}
.solution{ background-color: #f0f5f0; padding: 10px; border-left: 0px solid #5e815a; margin-bottom: 1em;}
.exercise{ background-color: #d4ecf7; padding: 10px; border-left: 0px solid #3190A3; margin-bottom: 1em;}
.comment{ background-color: #F5F6F7; padding: 10px; margin-bottom: 1em;}
.note{font-family: cursive, Courier New, monospace; background-color: #fcfbd2; padding: 10px;box-shadow: 4px 2px 2px #999999; margin-bottom: 0.5em;font-size:smaller;}
.typewriter{font-family: Courier New, monospace; background-color: #ffffff; margin-bottom: 0.5em;font-size:smaller;}
.notebook{font-family: Courier New, monospace; background-color: #f5f5f5; margin-bottom: 0.5em;padding: 10px;font-size:smaller;}
.cheatsheet{ background-color: #f5f6f7; padding: 10px; margin-bottom: 1em; }//border-left: 5px solid; border-left-color: #1d6c8d;
.commands{ background-color: #f5f6f7; padding: 10px; margin-bottom: 1em; column-count: 2;} // border-left: 5px solid; border-left-color: #1d6c8d;
.pullquote{ //background-color: #f5f6f7;
padding: 1em; margin-bottom: 0.5em;
font-size: 1.5em; font-style: italic; font-family: 'Times New Roman', Times, serif;
}//border-left: 5px solid; border-left-color: #1d6c8d;
.pullquote::before{
content: "\201C "; // \0022
font-size: 2em;
font-weight: bold;
float: left;
margin-top: -0.25em;
//color: green;
//vertical-align: -.3em;
}
.csl-entry {
margin-left: 0.5em!important;
}
.quarto-appendix-citeas {
font-size: .9em;
padding: 1em;
border: solid 1px #dee2e6;
margin-bottom: 1em;
}
.sourceCode .quarto-appendix-bibtex {
font-size: .7em;
padding: 1em;
//border: solid 1px #dee2e6;
//margin-bottom: 1em;
background-color: white;
}
dt {
font-weight: bold;
}
dd {
background:none no-repeat left top;
padding-left: 1em;
}