styling for morphology table

This commit is contained in:
Ezra 2021-04-14 16:01:50 -05:00
parent 672b339da9
commit ecc480ceba
3 changed files with 22 additions and 1 deletions

View File

@ -5,6 +5,8 @@
@import "components/words";
@import "components/table";
#page_header {
margin-bottom: 0;
/* background-image: url("/assets/images/banner_bkg.png"); */

View File

@ -0,0 +1,19 @@
#morph {
border-collapse: collapse;
width: auto;
}
#morph td, #morph th {
border: 1px solid #ddd;
padding: 6px;
}
#morph th {
background-color:#85AB40;
color:white;
font-weight:bold;
}
#morph tr:nth-child(even){background-color: #f2f2f2;}
#morph tr:hover {background-color: #ddd;}

View File

@ -1,6 +1,6 @@
<div class="container mt-5">
<h2>Morphology Codes and Descriptions</h2>
<table style="width:100%">
<table id="morph">
<tr><th>Morph Code</th><th>Description</th></tr>
<tr><td>A-APF-C</td><td>Adjective Accusative Plural Feminine Comparative</td></tr>
<tr><td>A-APF-NUI</td><td>Adjective Accusative Plural Feminine NUmerical Indiclinable (A)</td></tr>