forked from tmcw/docbox
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
127 lines (104 loc) · 2.1 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/* BASE OVERRIDES */
/* Add buffer for nicer anchor links */
.prose h2:first-child {
padding-top: 20px;
}
.prose h3:first-child {
padding-top: 20px;
}
/* Header gets big */
@media only screen and (max-width:960px) {
.prose h2:first-child {
padding-top: 60px;
}
.prose h3:first-child {
padding-top: 60px;
}
}
/* Header gets bigger */
@media only screen and (max-width:640px) {
.prose h2:first-child {
padding-top: 100px;
}
.prose h3:first-child {
padding-top: 100px;
}
}
/* tables are too giant */
.prose table,
.prose table code {
margin-bottom: 20px;
font-size: 12px;
line-height: 1.5;
}
.prose table th, .prose table td {
padding: 5px;
}
.dark.keyline-top,
.dark.keyline-bottom {
border-color: #313131;
}
html, body, #app, .container {
height: 100%;
}
body pre {
padding: 0;
}
/* BASE ADDONS */
.fill-dark2 { background-color: #313131; }
.fill-dark2 .rounded-toggle input[type=radio]:checked + label,
.fill-dark2 .rounded-toggle .active { background-color: #313131; }
.space-top3 { margin-top: 30px;}
.space-top5 { margin-top: 50px;}
.line-height15 { line-height: 15px; }
.pad00y { padding-top: 2px; padding-bottom: 2px; }
.space-bottom00 { margin-bottom: 3px;}
.endpoint {
width: 100%;
display: flex;
}
.endpoint-method {
}
.endpoint-url {
flex-grow: 1;
word-wrap: break-word;
}
.endpoint-url a {
background-color: rgba(255, 255, 255, 0.1);
border-radius: 2px;
font-weight:bold;
padding: 2px;
color: #fff;
}
.endpoint-url a:hover {
background-color: rgba(255, 255, 255, 0.15);
}
.endpoint-token {
}
a.hljs-linked {
border-radius: 2px;
color: #a5c261;
background: #383C2F;
padding: 2px;
}
body .prose blockquote {
padding: 5px 10px;
background: #232323;
}
.preview {
background-image: -webkit-linear-gradient(#F1F075, #F1F075);
background-size: 10px 10px;
background-repeat: repeat-y;
}
.preview h2::after,
.preview h3::after {
content: 'PREVIEW';
background-color: #F1F075;
border-radius: 2px;
font-size: 9px;
font-weight: normal;
padding: 2px 5px;
color: rgba(0, 0, 0, 0.5);
margin-left: 10px;
vertical-align: middle;
}