Skip to content

Commit cc04ae0

Browse files
committed
Consistent design and readable colors.
1 parent a80d5c5 commit cc04ae0

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

Diff for: naucse/static/css/index.css

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
/**********************/
1414

15+
.alert-danger {
16+
margin-bottom: 0px;
17+
}
18+
1519
.btn {
1620
border-radius: 0;
1721
margin-bottom: 10px;

Diff for: naucse/static/css/nausce.css

+9-9
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ h2 {
3131
.header {
3232
font-family: sans-serif;
3333
font-size: 18px;
34-
background-color: #3fb0ac;
34+
background-color: #3fb0ac;
35+
padding: 5px 20px 15px 20px;
3536
}
3637

3738
.menu {
3839
list-style-type: none;
39-
padding: 15px 0px 10px 0px;
4040
overflow: hidden;
4141
margin-bottom: 0;
4242
}
@@ -50,15 +50,15 @@ h2 {
5050
.logo h1 {
5151
float: left;
5252
font-size: 24px;
53-
margin-top: 26px;
53+
margin-top: 32px;
5454
}
5555

5656
.menu-link h2 {
5757
font-size: 16px;
5858
font-weight: bold;
5959
float: right;
60-
margin-top: 24px;
61-
padding: 10px;
60+
margin-top: 30px;
61+
padding: 10px 10px 0 10px;
6262
}
6363

6464
a h2:hover {
@@ -74,12 +74,12 @@ a h2:hover {
7474
margin-bottom: 140px;
7575
}
7676

77-
.page a {
78-
color: #239995;
77+
a {
78+
color: #008580;
7979
}
8080

81-
.page a:hover {
82-
color: #026C68;
81+
a:hover {
82+
color: #3fb0ac;
8383
text-decoration: none;
8484
}
8585

Diff for: naucse/templates/_base.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<link rel="stylesheet" href="{{url_for('static', filename='css/body.css')}}">
2222
<link rel="stylesheet" href="{{url_for('static', filename='css/pygments-lovelace-style.css')}}">
2323
<link rel="stylesheet" href="{{url_for('static', filename='css/ipython.css')}}">
24+
2425
{% if var('book-style') %}
2526
<link rel="stylesheet" href="{{url_for('static', filename='css/book-style.css')}}">
2627
{% endif %}
@@ -48,10 +49,10 @@
4849
{% if page_wip is defined and page_wip %}
4950
<div class="content">
5051
<div class="alert alert-danger" role="alert">
51-
Tato stránka je momentálně v rekonstrukci.
52+
<div class="container">Tato stránka je momentálně v rekonstrukci.
5253
Pokud se chcete podílet na vylepšování těchto stránek,
5354
navštivte repozitář na
54-
<a href="https://github.com/pyvec/naucse.python.cz">GitHubu</a>.
55+
<a href="https://github.com/pyvec/naucse.python.cz">GitHubu</a>.</div>
5556
</div>
5657
</div>
5758
{% endif %}

0 commit comments

Comments
 (0)