Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Small tweaks to documentation layour
  • Loading branch information
bbrala committed Oct 28, 2015
commit 51529e8d3e00b6f22cb709c0f9c13b475d523cdd
2 changes: 2 additions & 0 deletions documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ currentMenu: introduction

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

## Contextmenu plugin & polyfill

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

Expand Down
144 changes: 143 additions & 1 deletion documentation/website/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,24 @@ h4,h5,h6 {
color:#195176;
}

.maintained-by-swis {
float:right;
margin-right:0;
}
.edit-on-github {
float:right;
/*margin-right:20px;*/
}

body .wy-side-nav-search > a {
padding-left:0;
}

body .wy-side-nav-search {
background-color: #1C7F99;
text-align: left;
padding:0.4045em 1.618em;

}

.clear {
Expand All @@ -27,4 +43,130 @@ h4,h5,h6 {

.wy-table-responsive table.docutils {
max-width: 695px;
}
}

.swis-branding {
display: block;
position: fixed;
left:0;
bottom:0;
color:#b3b3b3;
font-size:14px;
width:300px;
padding:10px;
background:#343131;
}

div.swis-branding a:hover {
background:none;
text-decoration: underline;
}

div.swis-branding a {
display: block;
line-height: 46px;
margin: 5px 0 -10px;
text-align: left;
padding:0;
}
div.swis-branding .swis-logo {
height:38px;
width:70px;
float:left;
clear:left;
margin-right:10px;
}

html body {
padding-bottom:150px;
}


/*****************
******************
* HTML Element stijlen
*
* Vergeet deze niet over te nemen in editor.css (body ==> #tinymce)
*****************/

@font-face {
/* font-family: 'proxima_nova_rgregular';*/
font-family: 'Proxima Nova';
src: url('../fonts/ProximaNova-Reg-webfont.eot');
src: local('☺'),
url('../fonts/ProximaNova-Reg-webfont.svg#proxima_nova_rgregular') format('svg'),
url('../fonts/ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/ProximaNova-Reg-webfont.woff') format('woff'),
url('../fonts/ProximaNova-Reg-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;

}

@font-face {
/*font-family: 'proxima_nova_ltsemibold';*/
font-family: 'Proxima Nova';
src: url('../fonts/ProximaNova-Sbold-webfont.eot');
src: local('☺'),
url('../fonts/ProximaNova-Sbold-webfont.svg#proxima_nova_ltsemibold') format('svg'),
url('../fonts/ProximaNova-Sbold-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/ProximaNova-Sbold-webfont.woff') format('woff'),
url('../fonts/ProximaNova-Sbold-webfont.ttf') format('truetype');
font-weight: bold;
font-style: normal;

}

@font-face {
font-family: 'Proxima Nova Bold';
src: url('../fonts/oud/proximanova-bold.eot.eot');
src: local('☺'),
url('../fonts/oud/proximanova-bold.svg#proxima_nova_ltbold') format('svg'),
url('../fonts/oud/proximanova-bold.eot?#iefix') format('embedded-opentype'),
url('../fonts/oud/proximanova-bold.woff') format('woff'),
url('../fonts/oud/proximanova-bold.ttf.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}

/**
* @license
* MyFonts Webfont Build ID 2970176, 2015-02-11T06:20:04-0500
*
* The fonts listed in this notice are subject to the End User License
* Agreement(s) entered into by the website owner. All other parties are
* explicitly restricted from using the Licensed Webfonts(s).
*
* You may obtain a valid license at the URLs below.
*
* Webfont: ProximaNovaA-Light by Mark Simonson
* URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/a-light/
*
* Webfont: ProximaNovaS-Light by Mark Simonson
* URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/s-light/
*
* Webfont: ProximaNova-Light by Mark Simonson
* URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/light/
*
*
* License: http://www.myfonts.com/viewlicense?type=web&buildid=2970176
* Licensed pageviews: 1,000,000
* Webfonts copyright: Copyright (c) Mark Simonson, 2005. All rights reserved.
*
* © 2015 MyFonts Inc
*/


/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/2d5240");

@font-face {
font-family: 'ProximaNova-Light';
src: url('../fonts/2D5240_2_0.eot');
src: url('../fonts/2D5240_2_0.eot?#iefix') format('embedded-opentype'),
url('../fonts/2D5240_2_0.woff2') format('woff2'),
url('../fonts/2D5240_2_0.woff') format('woff'),
url('../fonts/2D5240_2_0.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}
12 changes: 6 additions & 6 deletions documentation/website/css/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions documentation/website/default.twig
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

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

<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
Expand All @@ -68,6 +68,10 @@
</li>
{% endfor %}
</ul>
<div class="swis-branding">
<span>Maintained by:</span>
<a href="http://www.swis.nl"><img src="images/swis-logo.jpg" class="swis-logo">Creative Digital Agency</a>
</div>
</div>
&nbsp;
</nav>
Expand All @@ -85,7 +89,10 @@
<div class="wy-nav-content">
<div class="rst-content">
<div role="main" class="document">
<a href="https://github.com/swisnl/jQuery-contextMenu/blob/master/documentation/{{ currentFile }}" class="edit-on-github fa fa-github"> Edit on GitHub</a>
{#<a href="https://github.com/swisnl/jQuery-contextMenu" class="edit-on-github maintained-by-swis fa fa-home"> Maintained by SWIS</a>#}
<a href="https://github.com/swisnl/jQuery-contextMenu" class="edit-on-github fa fa-github"> Fork on GitHub</a>

{{ content|raw }}
{{ content|raw }}
</div>

Expand Down
Binary file added documentation/website/fonts/2C6A5F_0_0.eot
Binary file not shown.
Loading