mirror of
https://github.com/go-gitea/gitea
synced 2024-11-04 21:29:12 +01:00
tweak code tags in markdown (#11000)
- remove whitespace before and after - increase horizontal padding - make blocks more apparant on arc-green
This commit is contained in:
parent
514e269b1d
commit
d6741de934
2 changed files with 6 additions and 9 deletions
|
@ -371,21 +371,13 @@
|
||||||
|
|
||||||
code,
|
code,
|
||||||
tt {
|
tt {
|
||||||
padding: .2em 0;
|
padding: .2em .3em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
background-color: rgba(0, 0, 0, .04);
|
background-color: rgba(0, 0, 0, .04);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
code:before,
|
|
||||||
code:after,
|
|
||||||
tt:before,
|
|
||||||
tt:after {
|
|
||||||
letter-spacing: -.2em;
|
|
||||||
content: "\00a0";
|
|
||||||
}
|
|
||||||
|
|
||||||
code br,
|
code br,
|
||||||
tt br {
|
tt br {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -1584,6 +1584,11 @@ body .xdsoft_datetimepicker {
|
||||||
border-left-color: #888;
|
border-left-color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown:not(code) code,
|
||||||
|
.markdown:not(code) tt {
|
||||||
|
background-color: rgba(0, 0, 0, .12);
|
||||||
|
}
|
||||||
|
|
||||||
footer .container .links > * {
|
footer .container .links > * {
|
||||||
border-left-color: #888;
|
border-left-color: #888;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue