File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
21< div class ="bubble-container {{ include.side }} ">
32 < div class ="talk-bubble {{ include.side }} tri-right {{ include.side }}-in border round ">
43 < div class ="talktext ">
Original file line number Diff line number Diff line change @@ -281,23 +281,24 @@ html {
281281 font-size : calc (20px + (30 - 10 ) * ((100vw - 500px ) / (1600 - 300 )));
282282 line-height : calc (30px + (12 - 0 ) * ((100vw - 500px ) / (600 - 10 )));
283283 font-family : var (--font-tertiary );
284- }
285- .talktext .index {
286- position : absolute ;
287- top : -14px ;
288- display : flex ;
289- width : 30px ;
290- font-size : 20px ;
291- line-height : 29px ;
284+ .index {
285+ position : absolute ;
286+ top : -14px ;
287+ display : flex ;
288+ width : 30px ;
289+ font-size : 20px ;
290+ line-height : 29px ;
291+ white-space : nowrap ;
292+ }
292293}
293294.left .talktext .index {
294295 color : var (--color1 );
295- left : -40 px ;
296+ left : -37 px ;
296297 justify-content : flex-end ;
297298}
298299.right .talktext .index {
299300 color : var (--color2 );
300- right : -40 px ;
301+ right : -37 px ;
301302 justify-content : flex- begin;
302303}
303304u {
Original file line number Diff line number Diff line change @@ -32,3 +32,36 @@ ul > li > ul > li {
3232 list-style-type : initial ;
3333 }
3434}
35+
36+ details {
37+ summary {
38+ cursor : pointer ;
39+ list-style : none ;
40+ & ::-webkit-details-marker ,
41+ & ::marker {
42+ display : none ;
43+ }
44+ & ::before {
45+ content : " \25B6\FE0E " ;
46+ margin-right : 5px ;
47+ font-size : 0.9em ;
48+ color : var (--color-bullet );
49+ }
50+ }
51+ & [open ] {
52+ summary {
53+ & ::before {
54+ content : " \25BC\FE0E " ;
55+ }
56+ }
57+ }
58+ }
59+
60+ details > * :not (summary ) {
61+ animation : fadeIn 0.3s ease-in ;
62+ }
63+
64+ @keyframes fadeIn {
65+ from { opacity : 0 ; margin-top : -10px ; }
66+ to { opacity : 1 ; margin-top : 0 ; }
67+ }
You can’t perform that action at this time.
0 commit comments