File tree 2 files changed +8
-10
lines changed
content/tutorial/01-svelte/07-lifecycle/02-update 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 95
95
flex : 1 ;
96
96
font-size : 1.4em ;
97
97
text-align : center ;
98
- border-bottom : 1px solid var (--bg-1 );
99
98
}
100
99
101
100
.chat {
120
119
}
121
120
122
121
.eliza span {
123
- background-color : #eee ;
122
+ background-color : var ( --bg-1 ) ;
124
123
border-radius : 1em 1em 1em 0 ;
125
- color : black ;
124
+ color : var ( --fg-1 ) ;
126
125
}
127
126
128
127
.user span {
138
137
139
138
@media (min-width : 400px ) {
140
139
.phone {
141
- background : var (--bg-1 );
140
+ background : var (--bg-2 );
142
141
position : relative ;
143
142
font-size : min (2.5vh , 1rem );
144
143
width : auto ;
147
146
border : 0.2em solid #222 ;
148
147
border-radius : 1em ;
149
148
box-sizing : border-box ;
150
- filter : drop-shadow (1px 1px 0px var ( --fg-1 )) drop-shadow (2px 2px 0px var ( --fg-1 )) drop-shadow (3px 3px 0px var ( --fg-1 ) )
149
+ filter : drop-shadow (1px 1px 0px #222 ) drop-shadow (2px 2px 0px #222 ) drop-shadow (3px 3px 0px #222 )
151
150
}
152
151
153
152
.phone ::after {
Original file line number Diff line number Diff line change 100
100
flex : 1 ;
101
101
font-size : 1.4em ;
102
102
text-align : center ;
103
- border-bottom : 1px solid var (--bg-1 );
104
103
}
105
104
106
105
.chat {
125
124
}
126
125
127
126
.eliza span {
128
- background-color : #eee ;
127
+ background-color : var ( --bg-1 ) ;
129
128
border-radius : 1em 1em 1em 0 ;
130
- color : black ;
129
+ color : var ( --fg-1 ) ;
131
130
}
132
131
133
132
.user span {
143
142
144
143
@media (min-width : 400px ) {
145
144
.phone {
146
- background : var (--bg-1 );
145
+ background : var (--bg-2 );
147
146
position : relative ;
148
147
font-size : min (2.5vh , 1rem );
149
148
width : auto ;
152
151
border : 0.2em solid #222 ;
153
152
border-radius : 1em ;
154
153
box-sizing : border-box ;
155
- filter : drop-shadow (1px 1px 0px var ( --fg-1 )) drop-shadow (2px 2px 0px var ( --fg-1 )) drop-shadow (3px 3px 0px var ( --fg-1 ) )
154
+ filter : drop-shadow (1px 1px 0px #222 ) drop-shadow (2px 2px 0px #222 ) drop-shadow (3px 3px 0px #222 )
156
155
}
157
156
158
157
.phone ::after {
You can’t perform that action at this time.
0 commit comments