Skip to content

Commit a62febc

Browse files
committed
Merge pull request #303 from swisnl/doc-style-tweaks
Documentation style tweaks
2 parents 2628914 + d2da929 commit a62febc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+5513
-69
lines changed

documentation/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ currentMenu: introduction
44

55
# [jQuery contextMenu](https://github.com/swisnl/jQuery-contextMenu)
66

7+
## Contextmenu plugin & polyfill
8+
79
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
810
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
911

documentation/website/css/screen.css

+143-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,24 @@ h4,h5,h6 {
1717
color:#195176;
1818
}
1919

20+
.maintained-by-swis {
21+
float:right;
22+
margin-right:0;
23+
}
2024
.edit-on-github {
2125
float:right;
26+
/*margin-right:20px;*/
27+
}
28+
29+
body .wy-side-nav-search > a {
30+
padding-left:0;
31+
}
32+
33+
body .wy-side-nav-search {
34+
background-color: #1C7F99;
35+
text-align: left;
36+
padding:0.4045em 1.618em;
37+
2238
}
2339

2440
.clear {
@@ -27,4 +43,130 @@ h4,h5,h6 {
2743

2844
.wy-table-responsive table.docutils {
2945
max-width: 695px;
30-
}
46+
}
47+
48+
.swis-branding {
49+
display: block;
50+
position: fixed;
51+
left:0;
52+
bottom:0;
53+
color:#b3b3b3;
54+
font-size:14px;
55+
width:300px;
56+
padding:10px;
57+
background:#343131;
58+
}
59+
60+
div.swis-branding a:hover {
61+
background:none;
62+
text-decoration: underline;
63+
}
64+
65+
div.swis-branding a {
66+
display: block;
67+
line-height: 46px;
68+
margin: 5px 0 -10px;
69+
text-align: left;
70+
padding:0;
71+
}
72+
div.swis-branding .swis-logo {
73+
height:38px;
74+
width:70px;
75+
float:left;
76+
clear:left;
77+
margin-right:10px;
78+
}
79+
80+
html body {
81+
padding-bottom:150px;
82+
}
83+
84+
85+
/*****************
86+
******************
87+
* HTML Element stijlen
88+
*
89+
* Vergeet deze niet over te nemen in editor.css (body ==> #tinymce)
90+
*****************/
91+
92+
@font-face {
93+
/* font-family: 'proxima_nova_rgregular';*/
94+
font-family: 'Proxima Nova';
95+
src: url('../fonts/ProximaNova-Reg-webfont.eot');
96+
src: local('☺'),
97+
url('../fonts/ProximaNova-Reg-webfont.svg#proxima_nova_rgregular') format('svg'),
98+
url('../fonts/ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'),
99+
url('../fonts/ProximaNova-Reg-webfont.woff') format('woff'),
100+
url('../fonts/ProximaNova-Reg-webfont.ttf') format('truetype');
101+
font-weight: normal;
102+
font-style: normal;
103+
104+
}
105+
106+
@font-face {
107+
/*font-family: 'proxima_nova_ltsemibold';*/
108+
font-family: 'Proxima Nova';
109+
src: url('../fonts/ProximaNova-Sbold-webfont.eot');
110+
src: local('☺'),
111+
url('../fonts/ProximaNova-Sbold-webfont.svg#proxima_nova_ltsemibold') format('svg'),
112+
url('../fonts/ProximaNova-Sbold-webfont.eot?#iefix') format('embedded-opentype'),
113+
url('../fonts/ProximaNova-Sbold-webfont.woff') format('woff'),
114+
url('../fonts/ProximaNova-Sbold-webfont.ttf') format('truetype');
115+
font-weight: bold;
116+
font-style: normal;
117+
118+
}
119+
120+
@font-face {
121+
font-family: 'Proxima Nova Bold';
122+
src: url('../fonts/oud/proximanova-bold.eot.eot');
123+
src: local('☺'),
124+
url('../fonts/oud/proximanova-bold.svg#proxima_nova_ltbold') format('svg'),
125+
url('../fonts/oud/proximanova-bold.eot?#iefix') format('embedded-opentype'),
126+
url('../fonts/oud/proximanova-bold.woff') format('woff'),
127+
url('../fonts/oud/proximanova-bold.ttf.ttf') format('truetype');
128+
font-weight: bold;
129+
font-style: normal;
130+
}
131+
132+
/**
133+
* @license
134+
* MyFonts Webfont Build ID 2970176, 2015-02-11T06:20:04-0500
135+
*
136+
* The fonts listed in this notice are subject to the End User License
137+
* Agreement(s) entered into by the website owner. All other parties are
138+
* explicitly restricted from using the Licensed Webfonts(s).
139+
*
140+
* You may obtain a valid license at the URLs below.
141+
*
142+
* Webfont: ProximaNovaA-Light by Mark Simonson
143+
* URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/a-light/
144+
*
145+
* Webfont: ProximaNovaS-Light by Mark Simonson
146+
* URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/s-light/
147+
*
148+
* Webfont: ProximaNova-Light by Mark Simonson
149+
* URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/light/
150+
*
151+
*
152+
* License: http://www.myfonts.com/viewlicense?type=web&buildid=2970176
153+
* Licensed pageviews: 1,000,000
154+
* Webfonts copyright: Copyright (c) Mark Simonson, 2005. All rights reserved.
155+
*
156+
* © 2015 MyFonts Inc
157+
*/
158+
159+
160+
/* @import must be at top of file, otherwise CSS will not work */
161+
@import url("//hello.myfonts.net/count/2d5240");
162+
163+
@font-face {
164+
font-family: 'ProximaNova-Light';
165+
src: url('../fonts/2D5240_2_0.eot');
166+
src: url('../fonts/2D5240_2_0.eot?#iefix') format('embedded-opentype'),
167+
url('../fonts/2D5240_2_0.woff2') format('woff2'),
168+
url('../fonts/2D5240_2_0.woff') format('woff'),
169+
url('../fonts/2D5240_2_0.ttf') format('truetype');
170+
font-weight: 100;
171+
font-style: normal;
172+
}

documentation/website/css/theme.css

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

documentation/website/default.twig

+7-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
4444
<div class="wy-side-nav-search">
45-
<a href="{{ baseUrl }}/" class="fa fa-home"> {{ title|default('The title') }}</a>
45+
<a href="{{ baseUrl }}/"> {{ title|default('The title') }}</a>
4646
</div>
4747

4848
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
@@ -68,6 +68,10 @@
6868
</li>
6969
{% endfor %}
7070
</ul>
71+
<div class="swis-branding">
72+
<span>Maintained by:</span>
73+
<a href="http://www.swis.nl"><img src="images/swis-logo.jpg" class="swis-logo">Creative Digital Agency</a>
74+
</div>
7175
</div>
7276
&nbsp;
7377
</nav>
@@ -85,7 +89,8 @@
8589
<div class="wy-nav-content">
8690
<div class="rst-content">
8791
<div role="main" class="document">
88-
<a href="https://github.com/swisnl/jQuery-contextMenu/blob/master/documentation/{{ currentFile }}" class="edit-on-github fa fa-github"> Edit on GitHub</a>
92+
{#<a href="https://github.com/swisnl/jQuery-contextMenu" class="edit-on-github maintained-by-swis fa fa-home"> Maintained by SWIS</a>#}
93+
<a href="https://github.com/swisnl/jQuery-contextMenu" class="edit-on-github fa fa-github"> Fork on GitHub</a>
8994
{{ content|raw }}
9095
</div>
9196

76.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)