-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathv2_testing_publish.css
156 lines (138 loc) · 3.83 KB
/
v2_testing_publish.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
.publish-renderer pre.frontmatter.language-yaml {
/* !important is required to override a style attribute declaration on the element */
display: block !important;
}
.markdown-preview-view .internal-embed img {
cursor: zoom-in;
}
.markdown-preview-view .internal-embed.zoomed {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 100; /* Below the image, covers the viewport */
display: flex;
justify-content: center;
align-items: center;
}
.markdown-preview-view .internal-embed.zoomed::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--background-primary);
z-index: -1; /* Behind the content of .internal-embed */
}
.markdown-preview-view .internal-embed.zoomed img {
cursor: zoom-out;
max-height: 100vh;
max-width: 100vw;
height: auto;
width: auto;
object-fit: contain;
}
/* Mobile CSS Settings */
@media (max-width: 1000px) {
.render-container {
position: relative;
max-width: 100%;
/* height: 100%;*/
width: 100%;
/* overflow: hidden;*/
flex-direction: column;
}
.render-container-inner {
flex-direction: column; /* Stack elements vertically on small screens */
overflow-y: auto; /* Enable vertical scrolling */
}
.graph-view-outer{
margin-top: 12px !important;
}
.site-body-right-column-inner{
width: 100% !important;
max-width: 100% !important;
}
.site-body-right-column {
line-height: 1.3;
width: 100% !important;
border-top: var(--sidebar-left-border-width) solid var(--sidebar-left-border-color);
}
.publish-renderer > .markdown-preview-view > .markdown-preview-sizer {
margin-right: 0;
}
.published-container.has-outline .site-body-right-column,
.published-container.has-graph .site-body-right-column {
display: block;
position: relative;
}
}
@media screen and (max-width: 1000px) {
.publish-renderer > .markdown-preview-view > .markdown-preview-sizer {
margin-right: 0;
}
.published-container.has-outline .site-body-right-column,
.published-container.has-graph .site-body-right-column {
display: none;
}
}
/* Show properties of a note in the published pages */
/* formats the overall properties block except aliases and tags */
.propertyitemtable {
display: block;
justify-content: end;
gap: 3px;
font-family: var(--font-monospace);
font-size: var(--font-smaller);
}
/* formats each row of properties */
.propertyitem {
font-size: var(--font-smallest);
font-weight: normal;
z-index: 1;
cursor: default;
padding: 5px 20px;
text-align: justify;
font-family: var(--font-monospace);
text-transform: uppercase;
letter-spacing: 0.06em;
border-bottom: 1px solid var(--background-modifier-border);
}
/* formats the row of tags */
.propertyitemtags {
margin: 10px;
font-size: var(--font-smaller);
}
/* formats each tag */
.propertyitemtags a.tag {
background-color: var(--tag-background);
border: var(--tag-border-width) solid var(--tag-border-color);
border-radius: var(--tag-radius);
color: var(--tag-color);
font-size: var(--tag-size);
font-weight: var(--tag-weight);
text-decoration: var(--tag-decoration);
padding: var(--tag-padding-y) var(--tag-padding-x);
line-height: 1;
}
/* formats the row of aliases */
.propertyitemaliases {
margin: 10px;
font-size: var(--font-smaller);
text-align: center;
cursor: default;
}
/* formats each alias */
.propertyitemaliases a.alias {
background-color: var(--tag-background);
border: var(--tag-border-width) solid var(--tag-border-color);
border-radius: var(--tag-radius);
color: var(--tag-color);
font-size: var(--tag-size);
font-weight: var(--tag-weight);
text-decoration: var(--tag-decoration);
padding: var(--tag-padding-y) var(--tag-padding-x);
line-height: 1;
}