Skip to content

Commit 22e6668

Browse files
committed
Merge branch 'master' of github.com:imagej/imagej.github.io
2 parents 0ed6179 + 6c08bc7 commit 22e6668

File tree

10 files changed

+65
-22
lines changed

10 files changed

+65
-22
lines changed

_includes/about-menu

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="about-menu">
1+
<div class="menu">
22
<center><strong><h3>About</h3></strong></center>
33
<table>
44
<tbody>

_includes/git-menu

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{% include menu title="Git Tutorials" content=
2+
"
3+
| :---: |
4+
| [Git for dummies](/pages/Git_for_dummies) |
5+
| [Git in Eclipse(EGit)](/pages/EGit) |
6+
| |
7+
| [Git mini howto](/pages/Git_mini_howto) |
8+
| [Git workshop](/pages/Git_workshop) |
9+
| [Git conflicts](/pages/Git_Conflicts) |
10+
| [Git topic branches](/pages/Git_topic_branches) |
11+
| [Git Notes](/pages/Git_Notes) |
12+
| [Git reflogs](/pages/Git_reflogs) |
13+
| [Git submodule tutorial](/pages/Git_submodule_tutorial) |
14+
| [Pinpoint regressions with Git](/pages/Pinpoint_regressions_with_Git) |
15+
| [How to publish a Git repository](/pages/How_to_publish_a_Git_repository) |
16+
| [How to extract a subproject](/pages/How_to_extract_a_subproject)
17+
"
18+
%}

_includes/menu

+4-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
<div class="menu">{{include.content}}</div>
1+
<div class="menu" markdown="1">
2+
<center><strong><h3>{{include.title}}</h3></strong></center>
3+
{{include.content}}
4+
</div>

_includes/page-info

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="page-info">
22

3-
<a href="{{"https://github.com/imagej/imagej.github.io/edit/master"}}{{page.url | replace: ".html", ".md"}}">View source</a>
3+
<a href="{{"https://github.com/imagej/imagej.github.io/edit/master"}}{{page.url | replace: ".html", ".md"}}">Edit page</a>
44
<a href="{{"https://github.com/imagej/imagej.github.io/commits/master"}}{{page.url | replace: ".html", ".md"}}">History</a>
55

66
</div>

_layouts/browse.html

-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
<!-- Navigation bar-->
1313
{% include nav-bar %}
1414

15-
<!-- Breadcrumb -->
16-
{% include nav-bc %}
17-
1815
<!-- Page-info -->
1916
{% include page-info %}
2017

_layouts/page.html

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
<!-- Navigation bar-->
1515
{% include nav-bar %}
1616

17-
<!-- Breadcrumb -->
18-
{% include nav-bc %}
19-
2017
<!-- Page-info -->
2118
{% include page-info %}
2219

assets/css/main.css

+15-11
Original file line numberDiff line numberDiff line change
@@ -2980,10 +2980,10 @@ input, select, textarea {
29802980
.sidebar a {font-size: 18px;}
29812981
}
29822982

2983-
/* About-menu */
2983+
/* Menu */
29842984

2985-
.about-menu {
2986-
max-width: 25%;
2985+
.menu {
2986+
max-width: 40%;
29872987
float: right;
29882988
z-index: 1;
29892989
top: 0;
@@ -2995,32 +2995,36 @@ input, select, textarea {
29952995
padding: 0.5em 1em 0.5em 1em;
29962996
}
29972997

2998-
.about-menu h3 {
2998+
.menu h3 {
29992999
margin: 0 0 0.5em 0 !important;
30003000
}
30013001

3002-
.about-menu table {
3002+
.menu table {
30033003
background-color: #f9f9f9;
30043004
border-collapse: collapse;
30053005
table-layout: fixed;
30063006
width: 100%;
30073007
text-align: left;
30083008
}
30093009

3010-
.about-menu tbody {
3010+
.menu tbody {
30113011
background-color: #f9f9f9;
30123012
text-align: left;
30133013
}
30143014

3015-
.about-menu tr {
3015+
.menu table tbody tr:nth-child(2n+1) {
3016+
background-color: #f9f9f9;
3017+
}
3018+
3019+
.menu tr {
30163020
text-align: left;
30173021
}
30183022

3019-
.about-menu td {
3023+
.menu td {
30203024
padding: 0 0 0 0;
30213025
}
30223026

3023-
.about-menu th {
3027+
.menu th {
30243028
background: lightgray;
30253029
font-variant: small-caps;
30263030
text-align: center;
@@ -3029,7 +3033,7 @@ input, select, textarea {
30293033
padding: 0 0.5em 0 0.5em;
30303034
}
30313035

3032-
.about-menu a {
3036+
.menu a {
30333037
padding: 0.1em 0 0 0;
30343038
text-decoration: none;
30353039
text-align: justify;
@@ -3041,7 +3045,7 @@ input, select, textarea {
30413045
margin-bottom: 0;
30423046
}
30433047

3044-
.about-menu p {
3048+
.menu p {
30453049
font-size: large;
30463050
text-align: justify;
30473051
font-weight: 500;

pages/demo-git-menu.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Demo Git menu
3+
layout: page
4+
author:
5+
categories:
6+
description: This page demonstrates how to insert the Git menu.
7+
---
8+
9+
## Usage
10+
11+
{% raw %}
12+
```
13+
{% include git-menu %}
14+
```
15+
{% endraw %}
16+
17+
{% include git-menu %}
18+
19+
Lorem ipsum dolor sit amet, qui possit aeterno denique ea, te usu affert consequuntur, vix in utinam mentitum reformidans. Sed ea vidisse eripuit aliquid, no usu ullum dictas, an epicurei maluisset vix. Ne posse virtute impedit duo. Eos homero euripidis honestatis no.
20+
21+
Sed ex magna honestatis, ea illud honestatis pri. Vix libris nemore suscipiantur cu. Offendit posidonium has ad, nec ad vocent maiorum consetetur. Vis ei iisque phaedrum atomorum, vis ea esse cetero. In est qualisque adipiscing reformidans, ut sint habeo libris quo.
22+
23+
Mel tempor consetetur posidonium in, mei admodum mentitum ullamcorper cu. Ius no prima dolorum. Mea electram imperdiet adversarium in, vide reque ei sed. Ut duo putant dictas theophrastus. Ne vim etiam theophrastus, cu vel minimum detracto, modus possit phaedrum ius an. Noster nominavi persequeris has ex, brute mnesarchum intellegebat eu eum.

pages/demo-person.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Demo people
33
layout: page
44
author:
55
categories:
6-
description: this page demonstrates how to use the person include tag
6+
description: this page demonstrates how to use the person include tag.
77
---
88

99
## Usage

pages/feature_demo.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ description: This page is a feature demo.
1616
| Generate info/details box | [details-box]({{"/pages/demo-details-box" | relative_url}}) |
1717
| Insert figure | [figure]({{"/pages/demo-figure" | relative_url}})
1818
| Link to github files | [github]({{"/pages/demo-github" | relative_url}}) |
19+
| Insert Git menu | [git-menu]({{"/pages/demo-git-menu" | relative_url}}) |
1920
| Insert images | [image]({{"/pages/demo-image" | relative_url}}) |
2021
| Insert a notice | [info-box]({{"/pages/demo-info-box" | relative_url}})
2122
| Insert logos | [logo]({{"/pages/demo-logo" | relative_url}}) |
@@ -25,7 +26,7 @@ description: This page is a feature demo.
2526
| Insert a sidebox | [sidebox]({{"/pages/demo-sidebox" | relative_url}})
2627
| Insert the SNT nav bar | [SNT-nav]({{"/pages/demo-SNT-nav" | relative_url}})|
2728
| Insert a tech box | [tech-box]({{"/pages/demo-tech-box" | relative_url}})
28-
| Insert a warning | [warning-box]({{"/pages/demo-warning-box" | relative_url}})
29+
| Insert a warning | [warning-box]({{"/pages/demo-warning-box" | relative_url}}) |
2930

3031
{% include sidebar title="Demo" content="Introduction, |, Left image, Right image, Center image, Fit image, Figure left, Figure right,Figure center, Figure row, Markdown table, YouTube video, Embedded images in table, Math equations, Sidebox, Syntax highlighting, Menu breadcrumbs" %}
3132

0 commit comments

Comments
 (0)