forked from cannibalox/logseq-dark-hpx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogseq-view-kanban.css
68 lines (62 loc) · 1.96 KB
/
logseq-view-kanban.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
/* columns view css mod by cannibalox v0.2 20210131 */
/* SETTINGS: adjust width of the page and cards below*/
:root {
--kanban-container-width : 800px;
--max-cards-per-row: 5;
--mod-cards-width: calc((var(--kanban-container-width) - 15%) / var(--max-cards-per-row));
}
/* ============================= */
/* ==== columns view layout ==== */
/* ====================-======== */
/*.cp__sidebar-main-content {max-width: var(--kanban-container-width)}*/
div[data-refs*="v-kanban"] .page-blocks-inner{
padding: 2rem 1.5rem;
margin: 0;
max-width: var(--kanban-container-width);
}
/*div[data-page-tags*="v-kanban"] .foldable-title{
max-width: var(--kanban-container-width);
} */
div[data-refs*="v-kanban"] .block-children {display: flex;}
div[data-refs*="v-kanban"] >.block-children > .ls-block {
display: inline-block;
/* flex: 1 1 0;*/
width: var(--mod-cards-width);
position:relative;
vertical-align: top;
margin-bottom: 20px;
}
div[data-refs*="v-kanban"] .embed-block .ls-block {
display: inline;
}
/* ============================== */
/* === tweak layout margins ==== */
div[data-refs*="v-kanban"] .blocks-container,.doc-mode {
margin: 0px 0;
}
/* ============================== */
/* ======== cards look ========== */
/*
div[data-refs*="v-kanban"] div[level="2"]{
box-shadow: 2px 2px 3px #0000003b;
border: 1px solid black;
border-radius: 6px;
background-color: var(--ls-tertiary-background-color);
margin: 0px 15px 15px 0px;
padding: 1em 0.5em;
}
div[data-refs*="v-kanban"] .block-children .ls-block {
border: 0px solid var(--ls-secondary-text-color);
margin: 0px;
}
div[data-refs*="v-kanban"] .ls-block {
margin: 0px 12px 0px -2px;
padding: 5px 8px 0px 0px;
}*/
/* ======== don't style references ========== */
.cp__sidebar-main-content .references {max-width: var(--main-container-width);}
div[data-refs*="v-kanban"] .references div[level="2"]{
box-shadow: initial;
border:initial;
background-color: initial;
}