forked from mxx1111/mdlook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.less
More file actions
86 lines (74 loc) · 1.07 KB
/
Copy pathapp.less
File metadata and controls
86 lines (74 loc) · 1.07 KB
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
html,
body {
height: 100%;
font-family: 'PingFang SC', BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
}
input,
button,
textarea {
font-family: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}
em {
font-style: normal !important;
}
section {
height: 100%;
}
.web-title {
margin: 0 15px 0 5px;
}
.web-icon {
width: auto;
height: 1.5rem;
vertical-align: middle;
}
#editor {
display: block;
height: 100%;
width: 100%;
border: none;
}
.ctrl {
flex-basis: 60px;
flex-grow: 1;
flex-shrink: 1;
display: flex;
align-items: center;
}
.preview-wrapper {
display: flex;
align-items: center;
justify-content: center;
padding: 0;
overflow-y: scroll;
width: 100%;
}
.hint {
opacity: 0.6;
margin: 20px 0;
}
.preview {
position: relative;
min-height: 100%;
margin: 0 auto;
padding: 20px;
font-size: 14px;
box-sizing: border-box;
outline: none;
transition: all 300ms ease-in-out;
word-wrap: break-word;
}
.preview table {
margin-bottom: 10px;
border-collapse: collapse;
display: table;
min-width: 100%;
}