-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomstyles.scss
180 lines (141 loc) · 3.25 KB
/
customstyles.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
174
175
176
177
178
179
180
/*-- scss:defaults --*/
/* Variables for common colors */
$note-bg: #e7f4fe;
$note-border: #1e90ff;
$warning-bg: #fff3cd;
$warning-border: #ffae42;
$important-bg: #ffe7e7;
$important-border: #ff4c4c;
$tip-bg: #e7ffee;
$tip-border: #4caf50;
$caution-bg: #fff5e6;
$caution-border: #ffb400;
$border-radius: 8px;
$padding: 1em;
$margin: 1em 0;
// New Color Palette
$dark: #000000;
$light: #FFFFFF;
$primary: #008CBA;
$primary-dark: #195062;
$secondary: #D4D4D4;
$secondary-dark: #6A6A6A;
$info: #5CC0DF;
$info-light: #DEF2F8;
$info-lighter: #def2f8ab;
$warning: #EFD576;
$warning-light: #FFFECE;
$danger: #F04124;
/*-- scss:rules --*/
#quarto-document-content {
margin-top: 0px;
padding-top: 0px;
}
.bg {
&-primary-dark {
background-color: $primary-dark;
}
&-secondary-dark {
background-color: $secondary-dark;
}
&-info-light {
background-color: $info-light;
}
&-warning-light {
background-color: $warning-light;
}
&-info-gradient {
background: linear-gradient(to bottom right, $info-light, $info);
}
&-info-light-gradient {
background: linear-gradient(to bottom right, $info-lighter 0%, $info-light 99%);
}
&-warning-gradient {
background: linear-gradient(to bottom right, $warning-light, $warning);
}
}
.full-width {
width: 100vw; /* Full viewport width */
position: relative; /* Ensure it respects the document flow */
left: 0%; /* Start from the center */
right: 0%; /* End at the center */
margin-left: 0vw; /* Move it to the left by half viewport width */
margin-right: 0vw; /* Move it to the right by half viewport width */
box-sizing: border-box; /* Include padding and border in width */
}
img.rounded {
border-radius: 10px;
}
.quarto-title-block {
display: none;
}
.quarto-title > h1.title {
opacity: 0 !important;
}
.div {
padding: 10px 10px 0px 10px;
}
/* General callout styles */
.callout {
border-radius: $border-radius;
padding: $padding;
margin: $margin;
}
/* Specific callout types */
.callout-note {
@include callout($note-bg, $note-border);
}
.callout-warning {
@include callout($warning-bg, $warning-border);
}
.callout-important {
@include callout($important-bg, $important-border);
}
.callout-tip {
@include callout($tip-bg, $tip-border);
}
.callout-caution {
@include callout($caution-bg, $caution-border);
}
/* Simple appearance */
.callout-simple {
border: 1px solid #ccc;
background-color: #f9f9f9;
}
/* Remove icons from callouts */
.callout-icon-false .callout {
padding-left: 1em;
}
/* Rounded corners and shadows */
.callout-rounded {
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 1.5em;
}
/* Gradient backgrounds */
.callout-gradient {
background: linear-gradient(to right, #e7f4fe, #d0e9fd);
border-left: 5px solid #1e90ff;
}
.card-highlight {
pointer-events: auto;
transform: scale(1);
transition: all 0.4s;
}
.card-highlight:hover {
opacity: 1;
transform: scale(1.02);
}
.quarto-listing {
padding-bottom: 0px;
}
/*-- scss:mixins --*/
/* Mixin for callout styles */
@mixin callout($bg-color, $border-color) {
background-color: $bg-color;
border-left: 4px solid $border-color;
}
/*-- scss:functions --*/
/* Add any functions here if needed */
/*-- scss:uses --*/
/* Add any uses here if needed */