Skip to content

Commit 058b9b4

Browse files
committed
multifix
1 parent 4357123 commit 058b9b4

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

_includes/sponsors.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<ul class="sponsors main">
44
<li>
55
<a href="http://www.isartdigital.com/">
6-
<img src="images/logo_ISART_seul_noir_300dpi_3100pixel_2013-12.png" alt="Isart Digital" height=150 /></a>
6+
<img src="images/logo_ISART_seul_noir_300dpi_3100pixel_2013-12.png" alt="Isart Digital" /></a>
77
</a>
88
</li>
99
<li>
1010
<a href="http://www.visibrain.com">
11-
<img src="images/Visibrain-couleur-transparent.png" alt="Isart Digital" height=150 /></a>
11+
<img src="images/Visibrain-couleur-transparent.png" alt="Isart Digital" /></a>
1212
</a>
1313
</li>
1414
</ul>

css/style.css

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ p, ol, ul, blockquote, pre, code{
1818
line-height : 1.5;
1919
}
2020

21+
img{
22+
display:block;
23+
}
24+
2125
a {
2226
color : #604040;
2327
-webkit-transition: color 500ms;
@@ -220,6 +224,7 @@ section > h1 > span {
220224
#index img{
221225
max-width: 400px;
222226
width: 100%;
227+
margin: auto;
223228
}
224229

225230
.content a {
5.89 KB
Loading

js/main.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ document.addEventListener("DOMContentLoaded", function(){
5959
function resizeCanvas() {
6060
canvas.width = canvas.clientWidth / 2;
6161
canvas.height = canvas.clientHeight / 2;
62-
62+
6363
ctx.viewport(0, 0, canvas.width, canvas.height);
6464
}
65-
65+
6666
resizeCanvas();
67-
67+
6868
$(window).resize(resizeCanvas);
6969

7070
ctx.attachShader(program, vShader);
@@ -136,7 +136,7 @@ document.addEventListener("DOMContentLoaded", function(){
136136
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
137137
if (target.length) {
138138
$('html,body').animate({
139-
scrollTop: target.offset().top
139+
scrollTop: target.offset().top - 40
140140
}, 1000, function(){
141141
window.location.hash=hash;
142142
});

0 commit comments

Comments
 (0)