mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Font weight tweaks (#13854)
Font weight 500 is not discernible from 400 on some fonts/operating systems so push them back to previous value 600 except for fomantic-ui elements which stay at 500. Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
		@@ -55,7 +55,7 @@
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    dt {
 | 
					    dt {
 | 
				
			||||||
      font-weight: 500;
 | 
					      font-weight: 600;
 | 
				
			||||||
      float: left;
 | 
					      float: left;
 | 
				
			||||||
      width: 285px;
 | 
					      width: 285px;
 | 
				
			||||||
      clear: left;
 | 
					      clear: left;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -146,10 +146,7 @@ samp {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
b,
 | 
					b,
 | 
				
			||||||
strong {
 | 
					strong,
 | 
				
			||||||
  font-weight: 500;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
h1,
 | 
					h1,
 | 
				
			||||||
h2,
 | 
					h2,
 | 
				
			||||||
h3,
 | 
					h3,
 | 
				
			||||||
@@ -746,7 +743,7 @@ a.ui.card:hover,
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    &.bold {
 | 
					    &.bold {
 | 
				
			||||||
      font-weight: 500;
 | 
					      font-weight: 600;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    &.italic {
 | 
					    &.italic {
 | 
				
			||||||
@@ -781,7 +778,6 @@ a.ui.card:hover,
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  &.bottom.attached.message {
 | 
					  &.bottom.attached.message {
 | 
				
			||||||
    font-weight: 500;
 | 
					 | 
				
			||||||
    text-align: left;
 | 
					    text-align: left;
 | 
				
			||||||
    color: black;
 | 
					    color: black;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1042,7 +1038,7 @@ a.ui.card:hover,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.scrolling.menu {
 | 
					.scrolling.menu {
 | 
				
			||||||
  .item.selected {
 | 
					  .item.selected {
 | 
				
			||||||
    font-weight: 500 !important;
 | 
					    font-weight: 600 !important;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -352,7 +352,7 @@
 | 
				
			|||||||
/* GenericStrong */
 | 
					/* GenericStrong */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.chroma .gs {
 | 
					.chroma .gs {
 | 
				
			||||||
  font-weight: 500;
 | 
					  font-weight: 600;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
/* GenericSubheading */
 | 
					/* GenericSubheading */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -969,7 +969,7 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        .author {
 | 
					        .author {
 | 
				
			||||||
          font-weight: 500;
 | 
					          font-weight: 600;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        .comment-form-reply .footer {
 | 
					        .comment-form-reply .footer {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      .header {
 | 
					      .header {
 | 
				
			||||||
        font-weight: 500;
 | 
					        font-weight: 600;
 | 
				
			||||||
        font-size: 1.3rem;
 | 
					        font-size: 1.3rem;
 | 
				
			||||||
        margin-top: -.2rem;
 | 
					        margin-top: -.2rem;
 | 
				
			||||||
        line-height: 1.3rem;
 | 
					        line-height: 1.3rem;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -447,7 +447,7 @@
 | 
				
			|||||||
/* GenericStrong */
 | 
					/* GenericStrong */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.chroma .gs {
 | 
					.chroma .gs {
 | 
				
			||||||
  font-weight: 500;
 | 
					  font-weight: 600;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
/* GenericSubheading */
 | 
					/* GenericSubheading */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user