Commit 3ba988d 1 parent 9abb412 commit 3ba988d Copy full SHA for 3ba988d
File tree 4 files changed +65
-5
lines changed
textzeugen/[[sigla]]/[[thirties]]/[[verse]]
4 files changed +65
-5
lines changed Original file line number Diff line number Diff line change @@ -82,4 +82,64 @@ body {
82
82
@apply mb-2;
83
83
}
84
84
}
85
+ }
86
+
87
+ .tei-content {
88
+ .sr {
89
+ color : green;
90
+ }
91
+ .del_sr {
92
+ color : #666 ;
93
+ @apply line-through;
94
+ }
95
+ .subst , .subst_sr {
96
+ .deleted {
97
+ color : #666 ;
98
+ }
99
+ color : green;
100
+ }
101
+ .subst_ls {
102
+ color : #8CFFF4 ;
103
+ .deleted {
104
+ color : #666 ;
105
+ }
106
+ .rasure {
107
+ @apply bg-[#666] ;
108
+ }
109
+ }
110
+ .red {
111
+ color : #F60 ;
112
+ @apply decoration-red-500;
113
+ }
114
+ .underline {
115
+ text-decoration : underline;
116
+ }
117
+ .marginalia {
118
+ @apply italic;
119
+ @apply ml-4;
120
+ }
121
+ .corr {
122
+ @apply italic;
123
+ }
124
+ .gap {
125
+ color : green;
126
+ @apply bg-[#9f9f9f] ;
127
+ }
128
+ .initial , .glory-initial {
129
+ @apply font-bold;
130
+ @apply text-2xl;
131
+ @apply text-red-500;
132
+ }
133
+ .glory-initial {
134
+ @apply bg-[gold] ;
135
+ }
136
+
137
+ .content:has (.versechange ) {
138
+ &::after {
139
+ content : "\2195" ;
140
+ @apply inline;
141
+ @apply h-4;
142
+ @apply ml-2;
143
+ }
144
+ }
85
145
}
Original file line number Diff line number Diff line change 12
12
13
13
<div class =" container mx-auto p-4 flex flex-wrap justify-between gap-9" >
14
14
<h1 class ="h1 w-full" >Verssynopse zu {thirties }.{verse }</h1 >
15
- <div >
15
+ <div class = " tei-content " >
16
16
<dl class =" grid grid-cols-[auto_1fr] justify-between h-fit mb-4 w-fit font-mono" >
17
17
<dt class =" font-bold font-heading-token pr-4" >Handschrift</dt >
18
18
<dd class =" font-bold font-heading-token border-l-2 border-current pl-4" >Wortlaut</dd >
Original file line number Diff line number Diff line change 74
74
use: setSyncedScroll
75
75
>
76
76
{#each pages as page (page[0 ])}
77
- < div class = " thirty" use: addToObserver>
77
+ < div class = " thirty tei-content " use: addToObserver>
78
78
{@html page[1 ]}
79
79
< / div>
80
80
< hr class = " !border-t-4 !border-primary-500" / >
81
81
{/ each}
82
82
< / div>
83
83
84
- < style>
84
+ < style lang = " postcss " >
85
85
.thirty {
86
86
: global (.once ) {
87
87
- webkit- animation- iteration- count: 4 ;
Original file line number Diff line number Diff line change 155
155
Lade Seite...
156
156
{: then tpData}
157
157
< div
158
- class = " page"
158
+ class = " page tei-content "
159
159
data- id= {pageObject .id }
160
160
data- next= {tpData .nextId }
161
161
data- previous= {tpData .previousId }
195
195
{/ if }
196
196
< / div>
197
197
198
- < style>
198
+ < style lang = " postcss " >
199
199
.page {
200
200
: global (.once ) {
201
201
- webkit- animation- iteration- count: 4 ;
You can’t perform that action at this time.
0 commit comments