File tree 4 files changed +28
-21
lines changed
4 files changed +28
-21
lines changed Original file line number Diff line number Diff line change 34
34
</ head >
35
35
36
36
< body >
37
- {% include 'components/github_ribbon.html' %}
38
37
{% block content %}{% endblock %}
39
38
</ body >
40
39
Original file line number Diff line number Diff line change 36
36
.sidebar-container .sidebar-actions {
37
37
display : flex;
38
38
align-items : center;
39
- justify-content : center ;
39
+ justify-content : space-around ;
40
40
margin-top : 8px ;
41
41
padding-top : 8px ;
42
42
border-top : 1px solid hsl (205 , 20% , 94% );
55
55
display : flex;
56
56
align-items : center;
57
57
margin-bottom : 1rem ;
58
+ margin-top : 8px ;
58
59
}
59
60
60
61
.challenge-header__title > span : nth-child (1 ) {
61
62
font-size : 35px ;
62
63
font-weight : 700 ;
63
64
margin-right : 20px ;
64
- margin-top : 8px ;
65
65
}
66
66
67
67
.challenge-header__exerpt {
88
88
}
89
89
90
90
# playground-link {
91
+ display : flex;
92
+ place-items : center;
93
+ gap : 2px ;
91
94
position : absolute;
92
95
top : 3px ;
93
96
right : 3px ;
144
147
145
148
.sidebar-container {
146
149
margin-right : 0 ;
147
- margin-bottom : 2rem ;
148
150
flex-direction : row;
149
151
width : 100% ;
150
152
border-right : 0px ;
151
153
gap : 4px ;
154
+ padding : 0 ;
152
155
}
153
156
154
157
.sidebar-container .sidebar-challenge-main {
162
165
padding-top : 0px ;
163
166
border-top : 0px ;
164
167
width : initial;
168
+ gap : 8px ;
165
169
}
166
170
167
171
.challenge-header__title {
171
175
172
176
.challenge-header__title > span : nth-child (1 ) {
173
177
width : 100% ;
174
- font-size : 20 px ;
178
+ font-size : 32 px ;
175
179
margin-bottom : 8px ;
176
180
}
177
181
208
212
{% include 'components/challenge_sidebar.html' with context %}
209
213
</ div >
210
214
< div class ="sidebar-actions ">
215
+ {% include 'components/github_icon.html' %}
211
216
{% include 'components/darkmode.html' %}
212
217
</ div >
213
218
</ div >
233
238
< div class ="codemirror-container ">
234
239
< div id ="editor ">
235
240
< a id ="playground-link " target ="_blank " rel ="noopener noreferrer ">
236
- Open Pyright Playground
241
+ < svg xmlns ="http://www.w3.org/2000/svg " width ="16 " height ="16 " viewBox ="0 0 24 24 "> < path fill ="none " stroke ="currentColor " stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 " d ="M10 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4m-8-2l8-8m0 0v5m0-5h-5 "/> </ svg >
242
+ < span > Open Pyright Playground</ span >
237
243
</ a >
238
244
</ div >
239
245
< div class ="editor-actions ">
Original file line number Diff line number Diff line change
1
+ < style type ="text/css ">
2
+ .icon {
3
+ display : inline-flex;
4
+ place-items : center;
5
+ /* override picocss default text color style for `<a>` tag */
6
+ color : unset;
7
+ width : 20px ;
8
+ height : 20px ;
9
+ }
10
+ </ style >
11
+
12
+ < a href ="https://github.com/laike9m/Python-Type-Challenges " class ="icon " target ="_blank " rel ="noopener noreferrer ">
13
+ < svg xmlns ="http://www.w3.org/2000/svg " width ="20 " height ="20 " viewBox ="0 0 16 16 ">
14
+ < path fill ="currentColor "
15
+ d ="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59c.4.07.55-.17.55-.38c0-.19-.01-.82-.01-1.49c-2.01.37-2.53-.49-2.69-.94c-.09-.23-.48-.94-.82-1.13c-.28-.15-.68-.52-.01-.53c.63-.01 1.08.58 1.23.82c.72 1.21 1.87.87 2.33.66c.07-.52.28-.87.51-1.07c-1.78-.2-3.64-.89-3.64-3.95c0-.87.31-1.59.82-2.15c-.08-.2-.36-1.02.08-2.12c0 0 .67-.21 2.2.82c.64-.18 1.32-.27 2-.27c.68 0 1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82c.44 1.1.16 1.92.08 2.12c.51.56.82 1.27.82 2.15c0 3.07-1.87 3.75-3.65 3.95c.29.25.54.73.54 1.48c0 1.07-.01 1.93-.01 2.2c0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8 " />
16
+ </ svg >
17
+ </ a >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments