Skip to content

Commit a87321b

Browse files
committed
Materialienseite aus-/umbauen
1 parent d178311 commit a87321b

File tree

6 files changed

+466
-32
lines changed

6 files changed

+466
-32
lines changed

css/material.css

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#lang_chooser {
2+
margin: 0 auto 100px;
3+
}
4+
5+
.lang_con{
6+
cursor: pointer;
7+
font-size: 20pt;
8+
padding: 1px;
9+
margin: 5px;
10+
height: 200px;
11+
width: 200px;
12+
border-radius: 5px;
13+
border: 1px solid lightgray;
14+
box-shadow: 2px 2px 5px silver;
15+
}
16+
17+
.lang_con:hover{
18+
background-color: #ffb400;
19+
border: 2px solid gray;
20+
}
21+
22+
.active_lang{
23+
border: 2px solid gray;
24+
background-color: rgba(255, 180, 0, 0.33);
25+
}
26+
27+
.lang_con > div {
28+
width: auto;
29+
height: 190px;
30+
margin: 5px auto;
31+
}
32+
33+
.lang_con > div img {
34+
width: auto;
35+
height: 150px;
36+
}
37+
38+
.language_section{
39+
padding-top: 75px;
40+
}
41+
42+
@media (max-width: 767px) {
43+
44+
.lang_con{
45+
width: 100px;
46+
height: 100px;
47+
}
48+
49+
.lang_con > div{
50+
height: 90px;
51+
margin: 1px auto;
52+
}
53+
54+
.lang_con > div img{
55+
height: 90px;
56+
}
57+
58+
.lang_con a {
59+
display: none;
60+
}
61+
62+
}

img/html5.svg

Lines changed: 14 additions & 0 deletions
Loading

img/python.svg

Lines changed: 247 additions & 0 deletions
Loading

img/scratch.svg

Lines changed: 37 additions & 0 deletions
Loading

js/coderdojoka.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@ $(window).scroll(collapseNavbar);
1717
$(document).ready(collapseNavbar);
1818

1919
// jQuery for page scrolling feature - requires jQuery Easing plugin
20+
function scroll_to(target) {
21+
$('html, body').stop().animate({
22+
scrollTop: $(target).offset().top
23+
}, 1500, 'easeInOutExpo');
24+
}
25+
2026
$(function() {
2127
$('a.page-scroll').bind('click', function(event) {
2228
var $anchor = $(this);
23-
$('html, body').stop().animate({
24-
scrollTop: $($anchor.attr('href')).offset().top
25-
}, 1500, 'easeInOutExpo');
29+
var target = $anchor.attr('href');
30+
scroll_to(target);
2631
event.preventDefault();
2732
});
2833
});

0 commit comments

Comments
 (0)