-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
103 lines (85 loc) · 1.29 KB
/
style.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
body {
margin: 0;
padding: 0;
background-color: #ececec;
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
main {
display: flex;
flex: 1;
overflow: hidden;
}
main>article.markdown-body {
flex: 1;
overflow: auto;
box-sizing: border-box;
}
main>.markdown-body {
min-width: 200px;
max-width: 980px;
overflow: scroll;
padding: 1em;
}
main>.markdown-body .highlight {
background-color: yellowgreen;
}
#INPUT {
flex: 1;
display: flex;
overflow: auto;
}
#INPUT>div.cm-editor {
flex: 1;
}
[name=topBar] {
height: 40px;
}
#tabs {
display: inline;
font-size: 12px;
margin: 0 2px;
}
#tabs input {
display: none;
}
/* hide radio buttons */
#tabs input+label {
display: inline-block;
}
/* show labels in line */
#tabs input~.tab {
display: none;
}
/* hide contents */
#tabs input+label {
/* box with rounded corner */
border: 1px solid #ececec;
background: #ececec;
margin: 4px 2px;
padding: 4px 8px;
border-radius: 1em;
position: relative;
}
#tabs input:checked+label {
/* white background for selected tab */
background: #FFF;
border: 1px solid #ccc;
font-weight: bolder;
}
#tabs input:hover+label {
background-color: #ddd;
}
fieldset {
border: 0;
margin: 0;
padding: 0;
}
#examples {
float: right;
}
#examples button {
font-weight: bolder;
}