当前位置:网站首页>Joplin implements style changes
Joplin implements style changes
2022-06-30 12:19:00 【Small Engineer】
Joplin Pattern design
1. First , Refer to some tutorials and excellent websites
Joplin Implement font style changes
CSS Color management
CSS course
2. Effect display

3. Usage method :
Joplin Configuration path :
userstyle.css Inside, you can write your own style sheets ( You can copy the following code into it ), Self added newsprint The folder is the font placed by itself this time .
4. I changed some colors by myself , Make it clear under the dark theme , At the same time, it combines the side Directory .
/* This code will be constantly updated during my use , Try to copy and use this code to userstyle.css in , And I have annotated the color position , You can change it to your favorite color */
/*@time: 2022 year 6 month 23 Japan , Change the background color of single line notes , Make it more obvious under the dark theme */
@font-face {
font-family: 'PT Serif';
font-style: normal;
font-weight: normal;
src: local('PT Serif'), local('PTSerif-Regular'), url('./newsprint/pt-serif-v9-latin-regular.woff') format('woff');
}
@font-face {
font-family: 'PT Serif';
font-style: italic;
font-weight: normal;
src: local('PT Serif'), local('PTSerif-Italic'), url('./newsprint/pt-serif-v9-latin-italic.woff') format('woff');
}
@font-face {
font-family: 'PT Serif';
font-style: normal;
font-weight: bold;
src: local('PT Serif'), local('PTSerif-Bold'), url('./newsprint/pt-serif-v9-latin-700.woff') format('woff');
}
@font-face {
font-family: 'PT Serif';
font-style: italic;
font-weight: bold;
src: local('PT Serif'), local('PTSerif-BoldItalic'), url('./newsprint/pt-serif-v9-latin-700italic.woff') format('woff');
}
html {
font-size: 16px;
color: #1f0909;
}
body {
font-family: "PT Serif", 'Times New Roman', Times, serif;
/*-webkit-font-smoothing: antialiased;*/
line-height: 1.6rem;
/*font-size: 0.5rem*/
letter-spacing: 0;
margin: 0;
overflow-x: hidden;
color: #F4F5F0; /*body, text color */
}
p{
font-size: 1.0rem
}
ol,ul{
/*ol: Ordered list , ol: Unordered list */
font-size: 1.0rem
}
body > *:first-child {
margin-top: 0 !important;
}
body > *:last-child {
margin-bottom: 0 !important;
}
a {
/*a : Link properties */
color: #FF6900;
font-weight: 600;
padding: 0 2px;
text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
/* title */
position: relative;
margin-top: 1rem;
margin-bottom: 1rem;
font-weight: bold;
line-height: 1.4;
cursor: text;
color: #72D1DF; /* Title Color . Turquoise */
}
h1 tt, h1 code {
font-size: inherit !important;
}
h2 tt, h2 code {
font-size: inherit !important;
}
h3 tt, h3 code {
font-size: inherit !important;
}
h4 tt, h4 code {
font-size: inherit !important;
}
h5 tt, h5 code {
font-size: inherit !important;
}
h6 tt, h6 code {
font-size: inherit !important;
}
/* The following is the color of the title link */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{
/*color: #42b983;*/
color: #9AFF1C;
}
h1 {
padding-bottom: .4rem;
font-size: 1.8rem;
line-height: 1.3;
font-style: normal;
border-bottom: none;
}
h2 {
font-size: 1.6rem;
line-height: 1.225;
margin: 35px 0 15px;
padding-bottom: 0.5em;
border-bottom: 1px solid #ddd;
font-style: normal;
}
h3 {
font-size: 1.4rem;
/*line-height: 1.43;*/
margin: 20px 0 7px;
font-style: normal;
}
h4 {
font-size: 1.3rem;
font-style: normal;
}
h5 {
font-size: 1.2rem;
font-style: normal;
}
h6 {
font-size: 1.1rem;
/*color: #777;*/
font-style: normal;
}
p, blockquote, ul, ol, dl, table {
/*table: form */
margin: 0.8em 0;
}
li > ol, li > ul {
margin: 0 0;
}
p pre {
border: none;
}
hr {
height: 2px;
padding: 0;
margin: 16px 0;
/* background-color: #e7e7e7; */
border: 0 none;
overflow: hidden;
box-sizing: content-box;
}
body > h2:first-child {
margin-top: 0;
padding-top: 0;
}
body > h1:first-child {
margin-top: 0;
padding-top: 0;
}
body > h1:first-child + h2 {
margin-top: 0;
padding-top: 0;
}
body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child {
margin-top: 0;
padding-top: 0;
}
a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
margin-top: 0;
padding-top: 0;
}
h1 p, h2 p, h3 p, h4 p, h5 p, h6 p {
margin-top: 0;
}
li p.first {
display: inline-block;
}
ul, ol {
padding-left: 30px;
}
ul:first-child, ol:first-child {
margin-top: 0;
}
ul:last-child, ol:last-child {
margin-bottom: 0;
}
blockquote {
border-left: 4px solid #42b983;
/*padding: 10px 10px;*/
color: #2B3F52;
background-color: #0033A0; /* Block references */
border-left-color: #ECF0F3;
}
p code{
border: none !important;
color: #ff6666;
background-color: #0033A0 !important; /* A single , Code block background color */
/*border: none;*/
}
strong {
color:#FF9933; /* Bold font color */
size: 100px;
margin: 0em;
font-size: inherit;
/*font-style: italic;*/
}
@media print {
html {
font-size: 13px;
}
table, pre {
page-break-inside: avoid;
}
pre {
word-wrap: break-word;
}
h1,h2,h3,h4,h5,h6 {
color: #336699;
page-break-inside: avoid;
page-break-after: avoid;
}
img {
page-break-inside:avoid;
page-break-after:avoid;
}
table,pre {
page-break-inside:avoid}
ul,ol,dl{
page-break-before:avoid}
a{
page-break-inside:avoid}
blockquote {
page-break-inside: avoid;}
}
/* Sidebar effect */
nav.table-of-contents>ul {
top: 0;
right: 0;
position: fixed;
z-index: var(--z-toc);
background: var(--dark-grey);
padding: var(--base-size-8);
border-radius: var(--base-size-4);
max-width: 30%;
font-size: var(--base-size-10);
max-height: var(--base-size-272);
overflow: scroll;
opacity: 0.6;
}
nav.table-of-contents ul {
list-style-type: none;
margin-left: var(--base-size-4);
}
nav.table-of-contents li {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 0;
}
nav.table-of-contents li a {
padding: 0;
}
@media all and (min-width: 920px) {
nav.table-of-contents>ul {
height: 100%;
max-height: 100%;
}
#rendered-md {
width: 75%;
}
}
5. Packing address :
You can download and put them into the above joplin Path file entry :
(yunpan link :https://pan.baidu.com/s/1kWxH3k0YinPrLvZEB3bshA?pwd=3tg9
Extraction code :3tg9
– From Baidu network disk super member V8 The share of )
(
cadn:https://download.csdn.net/download/qq_20467929/85748956
)
边栏推荐
- 1020. 飞地的数量
- A Generic Deep-Learning-Based Approach for Automated Surface Inspection-論文閱讀筆記
- iServer发布ES服务查询设置最大返回数量
- 并行接口8255A
- R语言ggplot2可视化:使用ggplot2可视化散点图、aes函数中的size参数指定数据点的大小(point size)
- R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram, and_ Set show in the point parameter_ The legend parameter is false, and the legend information is not displayed
- Flutter 从零开始 005 图片及Icon
- 海思3559万能平台搭建:YUV格式简介
- Openmldb meetup No.4 meeting minutes
- Yolov5 export the pit encountered by onnx
猜你喜欢

SuperMap iDesktop 常见倾斜数据处理全流程解析

Embedded sig | multi OS hybrid deployment framework

Map集合

使用Power Designer工具构建数据库模型

Redis6 learning notes - Chapter 2 - Basic redis6 operations

90.(cesium篇)cesium高度监听事件

Achieve secure data sharing among multiple parties and solve the problem of asymmetric information in Inclusive Finance

Beego development blog system learning (II)

How to detect 3D line spectral confocal sensors in semiconductors

What are the applications of 3D visual inspection in production flow
随机推荐
实现多方数据安全共享,解决普惠金融信息不对称难题
R语言ggplot2可视化:gganimate包基于transition_time函数创建动态散点图动画(gif)
Flutter 从零开始 005 图片及Icon
Essay: Research on smart home scheme
移除无效的括号[用数组模拟栈]
R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram and use scale_ The size function configures the measurement adjustment range of the size of the data point
R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram and use scale_ color_ viridis_ D function specifies the color scheme of data points
MATLAB中polarplot函数使用
Serial communication interface 8250
[cf] 803 div2 A. XOR Mixup
海思3559 sample解析:venc
NoSQL——Redis的配置与优化
What is the principle of spectral confocal displacement sensor? Which fields can be applied?
695. maximum island area
Subtrate 源码追新导读-5月上旬: XCM 正式启用
通过EF Core框架根据SQL Server数据库表生成实体类
串行通信接口8250
R语言ggplot2可视化:使用ggplot2可视化散点图、使用scale_x_log10函数配置X轴的数值范围为对数坐标
ModelAtrs声音检测,基于声学特征的异响检测
A High-Precision Positioning Approach for Catenary Support Components With Multiscale Difference阅读笔记