fixed positioning of dotted circle in CC variants

This commit is contained in:
be5invis 2015-11-10 16:19:14 +08:00
parent ec3739f6d9
commit f988a3bd50

View File

@ -86,8 +86,6 @@
display: flex;
width: 68rem;
flex-wrap: wrap;
border-top: 1px dotted #ccc;
margin-bottom: -1px;
}
.show div.block span {
display: block;
@ -111,7 +109,7 @@
content: attr(title);
position: absolute;
font-size: 0.33em;
top: -1em;
top: -1.25em;
left: 0.125em;
right: 0.125em;
text-align: center;
@ -140,6 +138,9 @@
color: #ddd;
text-shadow: 0 0 2px white;
}
.show.cc div.block span > s > d {
left: 0
}
.show div.block span.present > s:before {
display: inline-block;
content: '';
@ -168,25 +169,6 @@
font-size: 1rem;
margin: 1rem 0;
}
.show samp {
display: flex;
font-size: 1rem;
white-space: pre;
}
.show samp > span.langname {
display: inline-block;
background: #eee;
padding: 0.5em;
flex: none;
font-weight: normal;
font-style: normal;
min-width: 12em;
text-align: right;
}
.show samp > span.sentence {
flex: 1;
padding: 0.5em;
}
#links {
position: fixed;