-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain-dashboard.css
140 lines (112 loc) · 2.96 KB
/
main-dashboard.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
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
/*-------------- main-dashboard css --------------------------------- */
/** yaml - hide front matter **/
.markdown-preview-view .frontmatter-container {
display: none;
}
/** styling h1 **/
h1 {
padding-top: 0;
padding-bottom: 0; /* .3rem solid #70666c; ---use this if you want line before & after h1 */
text-align:center;
display: flex;
align-items: center;
/*font-family: "Corben" !important;*/
font-weight: 600;
font-size: 2em;
margin-top: -1em !important;
margin-bottom: -.3em !important;
}
h1 a {
padding: 0 .5em 0 0.5em;
font-size: 2em;
}
h1:before,
h1:after {
content: "";
border-top: none;
border-radius: .2em;
margin: 0 1rem;
transform: translateY(-0.1rem);
height: 0;
}
h1:before {
margin-right: 0.3em;
flex: 1;
}
h1:after {
margin-left: 0.3em;
flex: 1;
width: 100%;
display: block;
}
/** banner icon as date - from Rainbell**/
.obsidian-banner-icon .icon-box
{
content: url("https://api.wolai.com/v1/icon?type=1&locale=en_ga&pro=0&color=pink");
}
/**callout 5 columns **/
.callout[data-callout="col5"] {
border-left: 0;
background-color: transparent;
box-shadow: none;
}
.callout[data-callout="col5"] .callout-title {
display: none;
}
.callout[data-callout="col5"] .callout {
overflow: visible;
margin: 0;
}
.callout[data-callout="col5"] > .callout-content {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
gap: 0.5rem;
}
/** ------- nested callout note for culumns ----- **/
.callout[data-callout="notecol"] {
--callout-color: 255, 214, 226;
border-left: 0;
}
.callout[data-callout="notecol"] .callout-content {
border: none;
padding: none;
}
.callout[data-callout="notecol"] .callout-title {
background-color: rgba(var(--callout-color), 0) !important;
display: inline !important;
}
/*** nested callout note for culumns | image used as tittle + centered ***/
.callout[data-callout="notecol"] .callout-title img {
border-radius: 1em !important;
margin: auto;
display: block;
}
/*** nested callout note for culumns | icon NOT displayed ***/
.callout[data-callout="notecol"] .callout-icon {
display: none !important;
}
/*** nested callout note for culumns | h3 header always in the center ***/
.callout[data-callout="notecol"] {
background-color: transparent;
}
.callout[data-callout="notecol"] .callout-content {
margin: 0;
overflow: visible;
padding: 0 0.3em 0 0.3em;
border: none;
border-radius: 13px;
}
.callout[data-callout="notecol"] .callout-content h3 {
text-align: center;
padding-top: 0.2em;
padding-top: 0;
margin-top: 0;
}
.callout[data-callout="notecol"] .callout-content a {
color: #f5e1e1;
}
/*** nested callout note for culumns | divider "---" has no margin ***/
.callout[data-callout="notecol"] .callout-content hr {
margin: 0;
}
/** ------- callout note for culumns - end ----------------- **/