-
Notifications
You must be signed in to change notification settings - Fork 28
/
style.css
156 lines (143 loc) · 2.95 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
.chapter-index {
background-color: #e1e1e1;
padding: 8px 12px 6px 12px;
position: relative;
}
.chapter-index .chapters-dropdown-trigger {
border: solid 1px transparent;
font-weight: 600;
padding: 3px 3px 0;
text-decoration: none;
}
.chapter-index.active .chapters-dropdown-trigger {
background-color: white;
-moz-border-radius-topleft: 3px;
-webkit-border-top-left-radius: 3px;
border-top-left-radius: 3px;
-moz-border-radius-topright: 3px;
-webkit-border-top-right-radius: 3px;
border-top-right-radius: 3px;
border: solid 1px #c6c4b8;
border-bottom: none;
position: relative;
z-index: 10;
}
.chapters-dropdown-panel {
display: none;
position: absolute;
border: solid 1px #e2e0d8;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 1px 2px #ccc;
-moz-box-shadow: 0 1px 2px #ccc;
box-shadow: 0 1px 2px #ccc;
top: 25px;
z-index: 1;
}
.chapter-index.active .chapters-dropdown-panel {
background-color: white;
display: block;
left: 0;
right: 0;
}
.iframe-interactive-demo {
border: 10px solid #222;
box-sizing: border-box;
width: 100%;
}
.WPMJG-example #wpwrap {
background-color: #fff;
box-sizing: border-box;
padding: 10px;
}
.WPMJG-example #adminmenuback,
.WPMJG-example #adminmenuwrap,
.WPMJG-example #wpfooter {
display: none;
}
.WPMJG-example #wpcontent {
margin-left: 0;
}
.WPMJG-example #wpbody-content {
padding-bottom: 0;
}
.example {
margin: 0 auto;
width: 80%;
}
.example h4 {
text-transform: uppercase;
}
.add-new-h2 {
text-transform: none;
text-decoration: none;
}
.media-library-screenshot {
width: 772px;
height: 250px;
width: 772px;
height: 250px;
background-image: url(screenshot-media-library.png);
background-size: 772px 250px;
position: relative;
margin: 20px auto;
}
.vignette {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
padding: 20px 30px;
background: rgba( 0, 0, 0, 0.6 );
background: transparent;
-webkit-box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 );
-moz-box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 );
box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 );
}
.entry-template {
display: none;
}
.live-example {
background: white;
padding: 20px;
}
/* Hack to fix highlight.js being stupid */
.coffeescript .javascript, .javascript .xml, .tex .hljs-formula, .xml .javascript, .xml .vbscript, .xml .css, .xml .hljs-cdata, .xml .php, .php .xml {
opacity: 1;
}
code {
background-color: transparent;
overflow: scroll;
}
dd {
margin-left: 40px;
}
dl dt code,
dl dd code,
p code {
font-weight: 700;
padding: 0;
}
.add-new-h2 {
vertical-align: middle;
}
figure {
margin: 0 auto;
max-width: 600px;
text-align: center;
}
.inheritance-info {
color: #777;
font-style: italic;
margin-left: 10px;
}
.inheritance-info code {
font-style: normal;
}
.inheritance-info a {
color: #777;
}