File tree 4 files changed +29
-27
lines changed
4 files changed +29
-27
lines changed Original file line number Diff line number Diff line change 21
21
<a href="{{$.RepoLink}}/wiki/{{.SubURL}}">{{.Name}}</a>
22
22
</td>
23
23
{{$timeSince := TimeSinceUnix .UpdatedUnix $.locale}}
24
- <td class="text right grey ">{{$.locale.Tr "repo.wiki.last_updated" $timeSince | Safe}}</td>
24
+ <td class="text right">{{$.locale.Tr "repo.wiki.last_updated" $timeSince | Safe}}</td>
25
25
</tr>
26
26
{{end}}
27
27
</tbody>
Original file line number Diff line number Diff line change 65
65
<p>{{.FormatWarning}}</p>
66
66
</div>
67
67
{{end}}
68
- <div class="ui {{if or .sidebarPresent .toc}}grid equal width{{end}}" style="margin-top: 1rem; ">
69
- <div class="ui {{if or .sidebarPresent .toc}}eleven wide column{{end}} segment markup wiki-content-main">
68
+ <div class="ui gt-mt-0 {{if or .sidebarPresent .toc}}grid equal width{{end}}">
69
+ <div class="ui {{if or .sidebarPresent .toc}}eleven wide column{{else}}gt-ml-0{{ end}} segment markup wiki-content-main">
70
70
{{template "repo/unicode_escape_prompt" dict "EscapeStatus" .EscapeStatus "root" $}}
71
71
{{.content | Safe}}
72
72
</div>
Original file line number Diff line number Diff line change 3
3
font-size : 16px ;
4
4
line-height : 1.5 !important ;
5
5
word-wrap : break-word;
6
- background : var (--color-box-body );
7
- }
8
-
9
- .markup .ui .segment {
10
- padding : 3em ;
11
- }
12
-
13
- .markup .file-view {
14
- padding : 2em !important ;
15
6
}
16
7
17
8
.markup > * : first-child {
309
300
.markup img {
310
301
max-width : 100% ;
311
302
box-sizing : initial;
303
+ }
304
+
305
+ /* this background ensures images can break <hr>. We can only do this on
306
+ cases where the background is known and not transparent. */
307
+ .markup .file-view img ,
308
+ .comment-body .markup img , /* regular comment */
309
+ .comment-content .markup img , /* code comment */
310
+ .wiki .markup img {
312
311
background : var (--color-box-body );
313
312
}
314
313
Original file line number Diff line number Diff line change 965
965
max-width : 100% ;
966
966
}
967
967
968
- .repository .view .issue .comment-list .ui .comments .avatar {
969
- margin-right : 0.5rem ;
970
- }
971
-
972
968
.repository .view .issue .comment-list .comment > .content > div : first-child {
973
969
border-top-left-radius : 4px ;
974
970
border-top-right-radius : 4px ;
1093
1089
margin-left : 36px ;
1094
1090
}
1095
1091
1092
+ .repository .view .issue .comment-list .comment > .avatar {
1093
+ margin-top : 6px ;
1094
+ }
1095
+
1096
+ .repository .view .issue .comment-list .comment > .avatar ~ .content {
1097
+ margin-left : 3em ;
1098
+ }
1099
+
1096
1100
.repository .view .issue .comment-list .code-comment img .avatar ,
1097
1101
.repository .view .issue .comment-list .comment img .avatar {
1098
1102
width : 28px ;
2092
2096
height : 48px ;
2093
2097
}
2094
2098
2095
- .repository .wiki .view > . markup {
2096
- padding : 15px 30 px ;
2099
+ .repository .wiki .new . ui . attached . tabular . menu . previewtabs {
2100
+ margin-bottom : 15px ;
2097
2101
}
2098
2102
2099
- .repository . wiki . view > .markup h1 : first-of-type ,
2100
- . repository . wiki . view > . markup h2 : first-of-type ,
2101
- . repository . wiki . view > . markup h3 : first-of-type ,
2102
- . repository . wiki . view > . markup h4 : first-of-type ,
2103
- .repository . wiki . view > . markup h5 : first-of-type ,
2104
- . repository . wiki . view > . markup h6 : first-of-type {
2105
- margin-top : 0 ;
2103
+ .file- view .markup {
2104
+ padding : 1 em 2 em ;
2105
+ }
2106
+
2107
+ .wiki-content-main {
2108
+ padding : 1 em 2 em !important ;
2109
+ margin-left : 1 em !important ;
2106
2110
}
2107
2111
2108
2112
2730
2734
width : 100% !important ;
2731
2735
max-width : 100% !important ;
2732
2736
margin : 0 !important ;
2733
- padding : 0 !important ;
2737
+ padding : 1 em ;
2734
2738
}
2735
2739
2736
2740
.comment-body .markup {
2737
- padding : 1em ;
2738
2741
border-radius : 0 0 var (--border-radius ) var (--border-radius ); /* don't render outside box */
2739
2742
}
2740
2743
You can’t perform that action at this time.
0 commit comments