Skip to content

Commit

Permalink
Templates: Add table styling
Browse files Browse the repository at this point in the history
This commit adds table styling for languages
templates/Language.html.jinja2 --> Add css link to coast.css
coast.css --> Add simple table styling

Related to coala#6
  • Loading branch information
suggoitanoshi committed Oct 29, 2018
1 parent 5fd056d commit b9793ee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 14 additions & 0 deletions assets/css/coast.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,17 @@ a:hover{
color: #00de87;
text-decoration: underline;
}

table{
border: 1px solid #00de87;
border-collapse: collapse;
margin: auto;
width: 80%;
}

tr:nth-child(odd){
background-color: #57ffbd;
}
tr:nth-child(even){
background-color: #96ffd6;
}
3 changes: 2 additions & 1 deletion templates/Language.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>{{ m.language_name(language) }}</h1>
</section>
<table border="1" cellpadding="10">
<table>
<tr>
<th>Aliases</th>
<td>
Expand Down

0 comments on commit b9793ee

Please sign in to comment.