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 {
 | 
			
		||||
      font-weight: 500;
 | 
			
		||||
      font-weight: 600;
 | 
			
		||||
      float: left;
 | 
			
		||||
      width: 285px;
 | 
			
		||||
      clear: left;
 | 
			
		||||
 
 | 
			
		||||
@@ -146,10 +146,7 @@ samp {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
b,
 | 
			
		||||
strong {
 | 
			
		||||
  font-weight: 500;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
strong,
 | 
			
		||||
h1,
 | 
			
		||||
h2,
 | 
			
		||||
h3,
 | 
			
		||||
@@ -746,7 +743,7 @@ a.ui.card:hover,
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &.bold {
 | 
			
		||||
      font-weight: 500;
 | 
			
		||||
      font-weight: 600;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &.italic {
 | 
			
		||||
@@ -781,7 +778,6 @@ a.ui.card:hover,
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &.bottom.attached.message {
 | 
			
		||||
    font-weight: 500;
 | 
			
		||||
    text-align: left;
 | 
			
		||||
    color: black;
 | 
			
		||||
 | 
			
		||||
@@ -1042,7 +1038,7 @@ a.ui.card:hover,
 | 
			
		||||
 | 
			
		||||
.scrolling.menu {
 | 
			
		||||
  .item.selected {
 | 
			
		||||
    font-weight: 500 !important;
 | 
			
		||||
    font-weight: 600 !important;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -352,7 +352,7 @@
 | 
			
		||||
/* GenericStrong */
 | 
			
		||||
 | 
			
		||||
.chroma .gs {
 | 
			
		||||
  font-weight: 500;
 | 
			
		||||
  font-weight: 600;
 | 
			
		||||
}
 | 
			
		||||
/* GenericSubheading */
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -969,7 +969,7 @@
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        .author {
 | 
			
		||||
          font-weight: 500;
 | 
			
		||||
          font-weight: 600;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        .comment-form-reply .footer {
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      .header {
 | 
			
		||||
        font-weight: 500;
 | 
			
		||||
        font-weight: 600;
 | 
			
		||||
        font-size: 1.3rem;
 | 
			
		||||
        margin-top: -.2rem;
 | 
			
		||||
        line-height: 1.3rem;
 | 
			
		||||
 
 | 
			
		||||
@@ -447,7 +447,7 @@
 | 
			
		||||
/* GenericStrong */
 | 
			
		||||
 | 
			
		||||
.chroma .gs {
 | 
			
		||||
  font-weight: 500;
 | 
			
		||||
  font-weight: 600;
 | 
			
		||||
}
 | 
			
		||||
/* GenericSubheading */
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user