Template:Ugaritic grammar table/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
.gp-ugaritic-grammar-table td { | .gp-ugaritic-grammar-table td { | ||
border-color: #aaa4b2; | border-color: #aaa4b2; | ||
text-align: center; | |||
} | } | ||
| Line 20: | Line 21: | ||
border-bottom-color: #8f8999; | border-bottom-color: #8f8999; | ||
font-size: 1.05em; | font-size: 1.05em; | ||
} | |||
/* Title with subtle, automatically sized flanking lines */ | |||
.gp-ugaritic-grammar-title { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 0.8em; | |||
width: 100%; | |||
font-weight: bold; | |||
} | |||
.gp-ugaritic-grammar-title::before, | |||
.gp-ugaritic-grammar-title::after { | |||
content: ""; | |||
flex: 1 1 auto; | |||
min-width: 1.5em; | |||
border-top: 1px solid #aaa4b2; | |||
} | } | ||
Latest revision as of 20:33, 26 July 2026
.gp-ugaritic-grammar-table {
border: 1px solid #8f8999;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
font-size: 90%;
}
.gp-ugaritic-grammar-table th,
.gp-ugaritic-grammar-table td {
border-color: #aaa4b2;
text-align: center;
}
/* Column headings: pale, desaturated version of the title purple */
.gp-ugaritic-grammar-table th {
background: #eeebf1;
}
/* Title row: stronger muted purple */
.gp-ugaritic-grammar-table tr:first-child th {
background: #e5e0ea;
border-bottom-color: #8f8999;
font-size: 1.05em;
}
/* Title with subtle, automatically sized flanking lines */
.gp-ugaritic-grammar-title {
display: flex;
align-items: center;
justify-content: center;
gap: 0.8em;
width: 100%;
font-weight: bold;
}
.gp-ugaritic-grammar-title::before,
.gp-ugaritic-grammar-title::after {
content: "";
flex: 1 1 auto;
min-width: 1.5em;
border-top: 1px solid #aaa4b2;
}
.gp-ugaritic-grammar-table td {
background: var(--background-color-base, #fff);
}
/* Masculine row */
.gp-ugaritic-grammar-table .gp-ugaritic-masculine td {
background: #eef5fb;
}
.gp-ugaritic-grammar-table .gp-ugaritic-masculine th {
background: #e3eef7;
}
/* Feminine row */
.gp-ugaritic-grammar-table .gp-ugaritic-feminine td {
background: #fbeff4;
}
.gp-ugaritic-grammar-table .gp-ugaritic-feminine th {
background: #f5e2ea;
}