Skip to content

Commit

Permalink
Templates: Enhance styling
Browse files Browse the repository at this point in the history
This commit changes font-family to Roboto and adds link styling
templates/home.html.jinja2 --> Added css

Related to coala#6
  • Loading branch information
suggoitanoshi committed Oct 29, 2018
1 parent 5f0f617 commit 5fd056d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions assets/css/coast.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
html{
font-family: Roboto;
}
#languages-list{
list-style: none;
padding-left: 0;
}

a{
color: #00945a;
text-decoration: none;
}

a:hover{
color: #00de87;
text-decoration: underline;
}
3 changes: 2 additions & 1 deletion templates/home.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
<head>
<title>{{ site_title }}</title>
<link rel="stylesheet" href="assets/css/coala.css" type="text/css" />
<link rel="stylesheet" href="assets/css/coast.css" type="text/css" />
</head>
<body>
<section class="thin-row-small">
<h1>{{ page_title }}</h1>
</section>
<ul class="thin-row-medium">
<ul class="thin-row-medium" id="languages-list">
{% for language in languages %}
<li><a href="{% url 'languages', language %}">{{ m.language_name(language) }}</a>
{% endfor %}
Expand Down

0 comments on commit 5fd056d

Please sign in to comment.