1
0
Fork 0
forked from forgejo/forgejo

Disallow leading zeroes in Less (#10407)

This commit is contained in:
silverwind 2020-02-23 17:48:27 +01:00 committed by GitHub
parent 71d5a090df
commit 4e912d2ed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 102 additions and 101 deletions

View file

@ -107,7 +107,7 @@
}
h1 {
padding-bottom: 0.3em;
padding-bottom: .3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eeeeee;
@ -118,7 +118,7 @@
}
h2 {
padding-bottom: 0.3em;
padding-bottom: .3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eeeeee;
@ -366,10 +366,10 @@
code,
tt {
padding: 0.2em 0;
padding: .2em 0;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
background-color: rgba(0, 0, 0, .04);
border-radius: 3px;
}
@ -377,7 +377,7 @@
code:after,
tt:before,
tt:after {
letter-spacing: -0.2em;
letter-spacing: -.2em;
content: "\00a0";
}