/ .obsidian / snippets / CyanVoxel's General Tweaks.css
CyanVoxel's General Tweaks.css
 1  /* CyanVoxel's General Tweaks */
 2  
 3  .theme-light,
 4  .theme-dark {
 5    --link-decoration: none;
 6  }
 7  
 8  h1 {
 9    margin-top: 20px !important;
10  }
11  
12  hr {
13    margin-top: 10px;
14    margin-bottom: 10px;
15  }
16  
17  .image-borders img {
18    border: solid;
19    /* border-width: 1em; */
20    border-width: 2px;
21    /* border-radius: 6px; */
22    border-color: rgba(122, 122, 122, 0.2);
23  }
24  
25  .markdown-preview-view img {
26    max-width: 100%;
27  }
28  
29  img {
30    max-width: 100%;
31    border-radius: 6px;
32  }
33  
34  .callout {
35    border-radius: 12px;
36    border-width: 2px;
37  }
38  
39  .task-list-item-checkbox {
40    border-width: 2px;
41  }
42  
43  #calendar-container .title {
44    font-size: 18px;
45  }
46  
47  .center-images img {
48    display: block !important;
49    margin-left: auto !important;
50    margin-right: auto !important;
51  }
52  
53  .no-embed-border {
54    --embed-border-left: 0px solid black !important;
55  }
56  
57  /* .markdown-preview-view */
58  .markdown-preview-view {
59    border-radius: 6px;
60  }
61  
62  .center-titles
63    :is(
64      h1,
65      h2,
66      h3,
67      h4,
68      h5,
69      h6,
70      .HyperMD-header.HyperMD-header-1,
71      .HyperMD-header.HyperMD-header-2,
72      .HyperMD-header.HyperMD-header-3,
73      .HyperMD-header.HyperMD-header-4,
74      .HyperMD-header.HyperMD-header-5,
75      .HyperMD-header.HyperMD-header-6
76    ) {
77    text-align: center;
78  }
79  
80  code {
81    font-family: "JetBrainsMono Nerd Font Mono", monospace;
82  }