2009-08-20 07:33:06 -07:00
|
|
|
html {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2012-07-03 22:59:50 -07:00
|
|
|
* {
|
2009-04-03 00:26:28 -07:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "AhemTest";
|
2012-07-03 22:59:50 -07:00
|
|
|
src: url(../../../../tests/fonts/Ahem.ttf);
|
2009-04-03 00:26:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "mplusTest";
|
2012-07-03 22:59:50 -07:00
|
|
|
src: url(../../../../tests/fonts/mplus/mplus-1p-regular.ttf);
|
2009-04-03 00:26:28 -07:00
|
|
|
}
|
|
|
|
|
2012-07-03 22:59:50 -07:00
|
|
|
/* For aligning the two spacers (see below) to the left most and the right most,
|
|
|
|
the div must create a new blocking format context. */
|
|
|
|
div#target {
|
|
|
|
position: absolute;
|
2009-04-03 00:26:28 -07:00
|
|
|
}
|
|
|
|
|
2012-07-03 22:59:50 -07:00
|
|
|
span#decoration {
|
|
|
|
margin-left: 0.333em;
|
2009-04-03 00:26:28 -07:00
|
|
|
}
|
|
|
|
|
2012-07-03 22:59:50 -07:00
|
|
|
body.reference div span#decoration {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* both ends of selection underlines for IME are clipped for making the
|
|
|
|
boundaries of clauses in composition string clear. These spacers will
|
|
|
|
cover the ends in the reference. */
|
|
|
|
span#leftspacer, span#rightspacer {
|
|
|
|
background-color: white;
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
2009-04-03 00:26:28 -07:00
|
|
|
}
|
|
|
|
|
2012-07-03 22:59:50 -07:00
|
|
|
span#leftspacer {
|
|
|
|
left: 0.333em;
|
2009-04-03 00:26:28 -07:00
|
|
|
}
|
|
|
|
|
2012-07-03 22:59:50 -07:00
|
|
|
span#rightspacer {
|
|
|
|
right: 0;
|
2009-04-03 00:26:28 -07:00
|
|
|
}
|