File tree Expand file tree Collapse file tree 6 files changed +60
-11
lines changed
(manage)/manage/(app)/app/events Expand file tree Collapse file tree 6 files changed +60
-11
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,53 @@ To add inline css go to Manage kener -> Theme -> Custom CSS and add your CSS the
33
33
34
34
``` css
35
35
.my-class {
36
- color : red ;
36
+ color : red ;
37
37
}
38
38
```
39
39
40
40
<div class =" note danger " >
41
41
Do not include <style> tags.
42
42
</div >
43
+
44
+ ## Grid Layout
45
+
46
+ To change from a column layout to a grid layout in your Kener instance, you can use the following CSS:
47
+
48
+ ``` css
49
+ @media (min-width : 1330px ) {
50
+ .section-monitors ,
51
+ .section-categories ,
52
+ .section-hero ,
53
+ .section-back ,
54
+ .section-events ,
55
+ .section-legend ,
56
+ .section-categories ,
57
+ .section-browser-events {
58
+ width : 1330px !important ;
59
+ max-width : 1330px !important ;
60
+ }
61
+
62
+ .section-monitors .monitor-root {
63
+ background-color : transparent ;
64
+ border : none !important ;
65
+ box-shadow : none ;
66
+ }
67
+
68
+ .section-monitors .monitor-root .monitors-card {
69
+ display : grid ;
70
+ grid-template-columns : repeat (2 , minmax (0 , 1fr ));
71
+ gap : 0.5rem ;
72
+ }
73
+
74
+ .section-monitors .monitor-root .monitors-card .monitor {
75
+ grid-column : span 1 ;
76
+ border-radius : 0.375rem ;
77
+ background-color : hsl (var (--card ) / var (--tw-bg-opacity , 1 ));
78
+ border-width : 1px ;
79
+ }
80
+ .section-monitors .monitor-root .monitors-card .monitor :last-child {
81
+ border-bottom : inherit ;
82
+ border-bottom-width : 1px !important ;
83
+ }
84
+ }
85
+ ```
Original file line number Diff line number Diff line change 1
- code : not ([class ^= "language-" ]) {
2
- @apply rounded bg-gray-100 px-1.5 py-0.5 font-mono text-xs dark:bg-gray-800;
3
- }
4
-
5
1
.sidebar-item .active ,
6
2
.sidebar-item : hover {
7
3
color : # ed702d ;
Original file line number Diff line number Diff line change @@ -946,3 +946,9 @@ textarea::placeholder {
946
946
.no-gutter .ͼo .cm-gutters {
947
947
display : none;
948
948
}
949
+ .kener-md {
950
+ @apply text-sm;
951
+ }
952
+ p code : not ([class ^= "language-" ]) {
953
+ @apply rounded-sm bg-yellow-100 px-1 py-0.5 font-mono text-xs dark:bg-neutral-700 dark:text-neutral-100;
954
+ }
Original file line number Diff line number Diff line change 191
191
192
192
<div class =" mb-4 text-sm font-normal" >
193
193
<div
194
- class =" prose prose-stone max-w-none dark:prose-invert prose-code:rounded prose-code:py-[0.2rem] prose-code:font-mono prose-code:text-sm prose-code:font-normal prose-pre:bg-opacity-0 dark:prose-pre:bg-neutral-900"
194
+ class =" kener-md prose prose-stone max-w-none dark:prose-invert prose-code:rounded prose-code:py-[0.2rem] prose-code:font-mono prose-code:text-sm prose-code:font-normal prose-pre:bg-opacity-0 dark:prose-pre:bg-neutral-900"
195
195
>
196
196
{@html marked .parse (comment .comment )}
197
197
</div >
212
212
)}
213
213
</time >
214
214
215
- <p class =" mb-2 text-sm font-normal" >
216
- {comment .comment }
217
- </p >
215
+ <div class =" mb-2 text-sm font-normal" >
216
+ <div
217
+ class =" kener-md prose prose-stone max-w-none dark:prose-invert prose-code:rounded prose-code:py-[0.2rem] prose-code:font-mono prose-code:text-sm prose-code:font-normal prose-pre:bg-opacity-0 dark:prose-pre:bg-neutral-900"
218
+ >
219
+ {@html marked .parse (comment .comment )}
220
+ </div >
221
+ </div >
218
222
</li >
219
223
{/each }
220
224
</ol >
Original file line number Diff line number Diff line change 217
217
</div >
218
218
</div >
219
219
<div
220
- class =" prose prose-stone max-w-none dark:prose-invert prose-code:rounded prose-code:py-[0.2rem] prose-code:font-mono prose-code:text-sm prose-code:font-normal prose-pre:bg-opacity-0 dark:prose-pre:bg-neutral-900"
220
+ class =" kener-md prose prose-stone max-w-none dark:prose-invert prose-code:rounded prose-code:py-[0.2rem] prose-code:font-mono prose-code:text-sm prose-code:font-normal prose-pre:bg-opacity-0 dark:prose-pre:bg-neutral-900"
221
221
>
222
222
<slot />
223
223
</div >
Original file line number Diff line number Diff line change 957
957
<div class ="w-full rounded px-2 py-2 {newComment .id == comment .id ? ' bg-input' : ' ' }" >
958
958
<div class =" mb-2 max-h-[400px] overflow-y-auto rounded-md border bg-card p-2" >
959
959
<div
960
- class =" prose prose-stone max-w-none dark:prose-invert prose-code:rounded prose-code:py-[0.2rem] prose-code:font-mono prose-code:text-sm prose-code:font-normal prose-pre:bg-opacity-0 dark:prose-pre:bg-neutral-900"
960
+ class =" kener-md prose prose-stone max-w-none dark:prose-invert prose-code:rounded prose-code:py-[0.2rem] prose-code:font-mono prose-code:text-sm prose-code:font-normal prose-pre:bg-opacity-0 dark:prose-pre:bg-neutral-900"
961
961
>
962
962
{@html marked .parse (comment .comment )}
963
963
</div >
You can’t perform that action at this time.
0 commit comments