Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

16 changes: 3 additions & 13 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="google-site-verification" content="yvwMK1VpVw3S23cQzeGtY6P89umLCY5RD04QI4gAUj0"/>
<title>{{ page.title }}</title>
<link rel="stylesheet" href="{{ site.baseurl }}/css/trac.css" type="text/css"/>
<link rel="stylesheet" href="{{ site.baseurl }}/css/newsflash.css" type="text/css"/>
<link rel="stylesheet" href="{{ site.baseurl }}/css/custom.css" type="text/css"/>
</head>

<body class="{{ page.classes }}">
<link rel="stylesheet" href="{{ site.baseurl }}/css/trac.css"/>
<link rel="stylesheet" href="{{ site.baseurl }}/css/newsflash.css"/>
<link rel="stylesheet" href="{{ site.baseurl }}/css/custom.css"/>

<div id="header">
<a href="{{ site.baseurl }}/"><img src="{{ site.baseurl }}/images/openslide_logo.png" alt="OpenSlide" width="306" height="102"></a>
Expand All @@ -32,7 +27,6 @@ <h1>{{ page.title }}</h1>
<a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">
Creative Commons Attribution-ShareAlike 4.0 International</a>
license.
{{ page.extra_credits }}
</p>
</div>

Expand All @@ -47,7 +41,3 @@ <h1>{{ page.title }}</h1>
s.parentNode.insertBefore(gcse, s);
})();
</script>

</body>

</html>
2 changes: 1 addition & 1 deletion _testdata/testdata_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

INDEX_TEMPLATE = """<!doctype html>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<style type="text/css">
<style>
table {
margin-left: 20px;
border-collapse: collapse;
Expand Down
25 changes: 2 additions & 23 deletions css/custom.css
Original file line number Diff line number Diff line change
@@ -1,45 +1,24 @@
div.searchbox {
position: absolute;
top: 0;
right: 10px;
height: 110px;
width: 300px;
}
.forkme div.searchbox {
right: 85px;
}
.forkme-ribbon {
position: absolute;
top: 0;
right: 0;
border: 0;
width: 135px;
height: 135px;
height: 110px;
width: 400px;
}
div.searchbox .inner {
position: absolute;
bottom: 0;
width: 100%;
}
.forkme div.searchbox .inner {
z-index: 1000;
}
div.searchbox table {
border: 0;
}
div.searchbox table td {
border: 0;
}
div.searchbox .gsc-input-box {
height: 28px;
box-shadow: none;
}
div.searchbox .gsc-input-box a {
margin-top: 4px;
}
div.searchbox .gsc-search-button {
display: none;
}

/* Scrollable releases table, fixed-height rows */
div.releases {
Expand Down
6 changes: 0 additions & 6 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,10 @@
-->

<!doctype html>
<html>
<head>
<title>OpenSlide Demo</title>
<link rel="stylesheet" media="all" href="demo.css">
<meta name="viewport" content="user-scalable=no">
</head>

<body>
<div id="header">
<a href="..">
<img src="../images/openslide_logo.png" height="102" width="306">
Expand Down Expand Up @@ -335,5 +331,3 @@
}).trigger("resize");
});
</script>
</body>
</html>
Binary file removed images/fork-me.png
Binary file not shown.
11 changes: 0 additions & 11 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
---
title: OpenSlide
classes: forkme
news_show_extended: false
extra_credits:
<a href="https://github.com/aral/fork-me-on-github-retina-ribbons/">
"Fork me on GitHub" ribbon</a> copyright &copy; 2013 Aral Balkan,
released under a
<a href="https://creativecommons.org/licenses/by/2.0/uk/">
Creative Commons Attribution 2.0&#58; England & Wales</a> license.
---

{% include links.md %}

<a href="https://github.com/openslide">
<img class="forkme-ribbon" src="{{ site.baseurl }}/images/fork-me.png" alt="Fork me on GitHub">
</a>

<div markdown="1" class="newsflash">
{% include news.md %}
***
Expand Down
24 changes: 6 additions & 18 deletions search/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Search Results</title>
<link rel="stylesheet" href="../css/trac.css" type="text/css"/>
<link rel="stylesheet" href="../css/custom.css" type="text/css"/>
<style type="text/css">
<link rel="stylesheet" href="../css/trac.css"/>
<link rel="stylesheet" href="../css/custom.css"/>
<style>
table {
border: 0;
border-collapse: separate;
Expand All @@ -16,22 +14,16 @@
div.results .gsc-tabsArea {
margin-top: 0;
}
div.results .gsc-cursor-box {
text-align: center;
}
div.results .gs-no-results-result .gs-snippet,
div.results .gs-error-result .gs-snippet {
border: 1px solid #8f8;
background-color: #dfd;
text-align: center;
}
div.results .gs-per-result-labels {
display: none;
div.results .gsc-above-wrapper-area,
div.results .gsc-wrapper {
max-width: 100%;
}
</style>
</head>

<body>

<div id="header">
<a href=".."><img class="openslide-logo" src="../images/openslide_logo.png" alt="OpenSlide" width="306" height="102"></a>
Expand All @@ -58,7 +50,3 @@
s.parentNode.insertBefore(gcse, s);
})();
</script>

</body>

</html>