File tree Expand file tree Collapse file tree 8 files changed +43
-33
lines changed
Expand file tree Collapse file tree 8 files changed +43
-33
lines changed Original file line number Diff line number Diff line change 4545 min-height : 160px ;
4646}
4747
48- # header {
49- background-color : # fff ;
48+ .header {
49+ background-color : # fff ;
50+ }
51+
52+ .menu li h1 {
53+ color : # 000 ;
54+ }
55+
56+ .menu li h2 {
57+ color : # 000 ;
5058}
5159
5260.motivation div {
7785 background-color : # 173e43 ;
7886}
7987
80- .color3 {
81- background-color : # 3fb0ac ;
82- }
83-
84- .color4 {
85- background-color : # 173e43 ;
86- }
87-
88- .color5 {
89- background-color : # 3fb0ac ;
88+ .page a {
89+ color : # 000 ;
9090}
Original file line number Diff line number Diff line change 2626 padding-top : 32px ;
2727}
2828
29+
2930/*************************/
3031
31- # header {
32+ . header {
3233 font-family : sans-serif;
3334 font-size : 18px ;
3435 background-color : # 3fb0ac ;
3536}
3637
3738.menu {
3839 list-style-type : none;
39- padding-top : 10px ;
40+ padding : 15 px 0 px 10px 0 px ;
4041 overflow : hidden;
42+ margin-bottom : 0 ;
4143}
4244
4345.menu li a {
4446 display : block;
4547 text-decoration : none;
48+ color : # fff ;
4649}
4750
4851.logo h1 {
49- color : # 000 ;
5052 float : left;
5153 font-size : 24px ;
5254 margin-top : 26px ;
5355}
5456
5557.menu-link h2 {
56- color : # 000 ;
5758 font-size : 16px ;
5859 font-weight : bold;
5960 float : right;
6263}
6364
6465a h2 : hover {
65- color : # 444 ;
66+ color : # D1F6F5 ;
6667}
6768
6869
6970/*************************/
7071
71- # page {
72+ . page {
7273 padding : 20px ;
7374 margin : 0 auto;
7475 margin-bottom : 140px ;
7576}
7677
78+ .page a {
79+ color : # 239995 ;
80+ }
81+
82+ .page a : hover {
83+ color : # 026C68 ;
84+ text-decoration : none;
85+ }
86+
7787/*************************/
7888
79- # footer {
89+ . footer {
8090 background-color : # fff ;
8191 border-top : solid 1px # 000 ;
8292 font-family : sans-serif;
Original file line number Diff line number Diff line change 2222 </ head >
2323
2424 < body >
25- < nav id ="header ">
25+ < nav class ="header ">
2626 < ul class ="container menu ">
2727 < li > < a href ="{{ url_for('index') }} " class ="logo "> < h1 > Nauč se Python!</ h1 > </ a > </ li >
2828 < li > < a href ="{{ url_for('courses') }} " class ="menu-link "> < h2 > Materiály</ h2 > </ a > </ li >
3535
3636 < script type ="text/javascript " src ="{{ url_for('static', filename='js/solutions.js') }} "> </ script >
3737
38- < div id ="footer ">
38+ < div class ="footer ">
3939 < div class ="container ">
4040 < div class ="row ">
4141 < div class ="col ">
@@ -68,6 +68,6 @@ <h2>Licence</h2>
6868 < script src ="https://code.jquery.com/jquery-3.1.1.slim.min.js " integrity ="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n " crossorigin ="anonymous "> </ script >
6969 < script src ="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js " integrity ="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb " crossorigin ="anonymous "> </ script >
7070 < script src ="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js " integrity ="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn " crossorigin ="anonymous "> </ script >
71-
71+
7272 </ body >
7373</ html >
Original file line number Diff line number Diff line change 22
33{% block content %}
44
5- < div id ="page ">
5+ < div class ="page ">
66 < section class ="container ">
77
88 {% block headline %}
1111 < div class ="row ">
1212 < div class ="sections col-xs-12 col-sm-12 col-md-8 col-lg-8 ">
1313 {% for session in plan.values() %}
14- < div id ="section{{ loop.index }} ">
14+ < div class ="section{{ loop.index }} ">
1515 < h4 >
1616 {% if session.date %}
1717 Lekce {{ loop.index }} - {{ session.title }} ({{ session.date }})
Original file line number Diff line number Diff line change 11{% extends '_base.html' %}
22
33{% block content %}
4- < div id ="page ">
4+ < div class ="page ">
55 < section class ="container ">
66
77 < p > Momentálně jsou dostupné tyto kurzy:</ p >
88
99 < div class ="row ">
1010 < div class ="sections col-xs-12 col-sm-12 col-md-8 col-lg-8 ">
1111 {% for course in courses.values() %}
12- < div id ="section{{ loop.index }} ">
12+ < div class ="section{{ loop.index }} ">
1313 < h4 > < a href ="{{ course_url(course) }} "> {{ course.title }}</ a > </ h4 >
1414 < p > {{ course.description }} </ p >
1515 </ div >
Original file line number Diff line number Diff line change 1515 </ div >
1616 </ div >
1717
18- < div id ="page ">
18+ < div class ="page ">
1919 < div class ="container ">
2020 < div class ="space center ">
2121 < a class ="btn btn-secondary btn-lg " href ="{{ course_url('pyladies') }} " role ="button "> Chci začít!</ a >
@@ -50,19 +50,19 @@ <h2>Další témata</h2>
5050 </ div >
5151
5252 < div class ="card card-inverse ">
53- < div class ="card-img-overlay topic color3 ">
53+ < div class ="card-img-overlay topic color1 ">
5454 < a href ="{{ lesson_url('intro/micropython') }} "> < h3 class ="card-title "> MicroPython</ h3 > </ a >
5555 </ div >
5656 </ div >
5757
5858 < div class ="card card-inverse ">
59- < div class ="card-img-overlay topic color4 ">
59+ < div class ="card-img-overlay topic color2 ">
6060 < a href ="{{ lesson_url('intro/turtle') }} "> < h3 class ="card-title "> Želva</ h3 > </ a >
6161 </ div >
6262 </ div >
6363
6464 < div class ="card card-inverse ">
65- < div class ="card-img-overlay topic color5 ">
65+ < div class ="card-img-overlay topic color1 ">
6666 < a href ="{{ course_url('mi-pyt') }} "> < h3 class ="card-title "> ...</ h3 > </ a >
6767 </ div >
6868 </ div >
Original file line number Diff line number Diff line change 88
99{% block content %}
1010
11- < div id ="page ">
11+ < div class ="page ">
1212 < div class ="container ">
1313
1414 {{ content }}
Original file line number Diff line number Diff line change 11{% extends '_base.html' %}
22
33{% block content %}
4- < div id ="page ">
4+ < div class ="page ">
55< section class ="container ">
66
77 < p > Materiály právě probíhajících kurzů:</ p >
1111 {% for year, run_year in run_years.items() %}
1212 < h2 > {{ year }}</ h2 >
1313 {% for slug, run in run_year.runs.items() %}
14- < div id ="section{{ loop.index }} ">
14+ < div class ="section{{ loop.index }} ">
1515 < h4 > < a href ="{{ run_url(run) }} "> {{ run.title }}</ a > </ h4 >
1616 < p > {{ run.description }} </ p >
1717 </ div >
You can’t perform that action at this time.
0 commit comments