-
Notifications
You must be signed in to change notification settings - Fork 0
/
comic-typesetting.css
84 lines (81 loc) · 1.58 KB
/
comic-typesetting.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
@import url(//fonts.googleapis.com/css?family=Sunflower:500,700);
@import url(//fonts.googleapis.com/earlyaccess/nanumpenscript.css);
/*
@import url(//fonts.googleapis.com/css?family=Poor+Story);
@import url(//fonts.googleapis.com/css?family=Gaegu);
@import url(//fonts.googleapis.com/css?family=Hi+Melody);
*/
.translated-manga-wrapper {
position: relative;
display: inline-block;
line-height: 0;
font-family: 'Sunflower';
}
.translated-manga-wrapper img {
width: 100%;
}
.translated-manga-wrapper object {
visibility: hidden;
}
.translate-items-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
list-style: none;
font-size: 25rem;
line-height: 1.2;
}
.translate-items-wrapper li {
position: absolute;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 1%;
border: 1px solid rgba(0,0,0,0.5);
font-size: 0.04em; /* img width / 25 */
/*
font-weight: bold;
*/
word-break: keep-all;
/*
writing-mode: vertical-rl;
*/
/*
text-orientation: upright;
*/
}
/*
.translate-items-wrapper li span {
position: absolute;
top: 100%;
top: calc(100% + 5px);
display: none;
width: ;
box-sizing: border-box;
padding: 5px;
border: 1px solid;
writing-mode: horizontal-tb;
text-orientation: mixed;
}
.translate-items-wrapper li:hover span {
display: block;
}
*/
.translate-items-wrapper li wbr {
display: inline-block;
}
.translate-items-wrapper[cloak] li {
display: none;
}
.detect-resizer {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
}