You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.1 KiB
61 lines
1.1 KiB
.dictionary {
|
|
position: relative;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
font-size: small;
|
|
vertical-align: bottom;
|
|
}
|
|
.dictionary .headword {
|
|
display: inline-block;
|
|
color: red;
|
|
font-weight: bold;
|
|
text-decoration: underline;
|
|
}
|
|
.dictionary .headword i {
|
|
color: inherit;
|
|
}
|
|
.dictionary .pronounciation {
|
|
display: inline-block;
|
|
font-family: monospace;
|
|
}
|
|
.dictionary .conjugation {
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
}
|
|
.dictionary ol li {
|
|
margin-left: 10px;
|
|
}
|
|
.dictionary ol li q {
|
|
display: block;
|
|
text-indent: 0.625em;
|
|
font-family: serif;
|
|
font-size: small;
|
|
}
|
|
.dictionary ol li i {
|
|
display: block;
|
|
right: 0.625em;
|
|
font-size: small;
|
|
position: absolute;
|
|
}
|
|
.dictionary ol li:before {
|
|
font-weight: bold;
|
|
}
|
|
.dictionary .sense .example {
|
|
font-style: italic;
|
|
}
|
|
.dictionary .sense .reference {
|
|
text-decoration: underline;
|
|
font-family: serif;
|
|
}
|
|
.dictionary ol.fifth {
|
|
counter-reset: section 4;
|
|
list-style-type: none;
|
|
}
|
|
.dictionary ol {
|
|
counter-reset: section;
|
|
list-style-type: none;
|
|
}
|
|
.dictionary li::before {
|
|
counter-increment: section;
|
|
content: counters(section,".") " ";
|
|
}
|